The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH 0/4] scripts/gdb: Fixes for $lx_current and $lx_per_cpu
@ 2024-04-25 15:34 Florian Rommel
  2024-04-25 15:34 ` [PATCH 1/4] scripts/gdb: Fix failing KGDB detection during probe Florian Rommel
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Florian Rommel @ 2024-04-25 15:34 UTC (permalink / raw)
  To: Jan Kiszka, Kieran Bingham
  Cc: Kuan-Ying Lee, Palmer Dabbelt, Deepak Gupta, Andrew Jones,
	Andrew Morton, linux-kernel, Florian Rommel

Hi all,

This series fixes several bugs in the GDB scripts related to the
$lx_current and $lx_per_cpu functions.  The changes were tested with
GDB 10, 11, 12, 13, and 14.

Patch 1 fixes false-negative results when probing for KGDB

Patch 2 fixes the $lx_per_cpu function, which is currently non-functional
in QEMU-GDB and KGDB.

Patch 3 fixes an additional bug in $lx_per_cpu that occurs with KGDB.

Patch 4 fixes the incorrect detection of the current CPU number in KGDB,
which silently breaks $lx_per_cpu and $lx_current.

Regards,
Flo

Florian Rommel (4):
  scripts/gdb: Fix failing KGDB detection during probe
  scripts/gdb: Fix parameter handling in $lx_per_cpu
  scripts/gdb: Make get_thread_info accept pointers
  scripts/gdb: Fix detection of current CPU in KGDB

 scripts/gdb/linux/cpus.py  | 11 +++--------
 scripts/gdb/linux/tasks.py |  2 +-
 scripts/gdb/linux/utils.py |  2 +-
 3 files changed, 5 insertions(+), 10 deletions(-)

-- 
2.44.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-25 16:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-25 15:34 [PATCH 0/4] scripts/gdb: Fixes for $lx_current and $lx_per_cpu Florian Rommel
2024-04-25 15:34 ` [PATCH 1/4] scripts/gdb: Fix failing KGDB detection during probe Florian Rommel
2024-04-25 15:34 ` [PATCH 2/4] scripts/gdb: Fix parameter handling in $lx_per_cpu Florian Rommel
2024-04-25 15:35 ` [PATCH 3/4] scripts/gdb: Make get_thread_info accept pointers Florian Rommel
2024-04-25 15:35 ` [PATCH 4/4] scripts/gdb: Fix detection of current CPU in KGDB Florian Rommel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox