]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scripts/gdb/symbols: handle module path parameters
authorBenjamin Berg <benjamin.berg@intel.com>
Wed, 4 Mar 2026 11:06:43 +0000 (12:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Apr 2026 11:30:47 +0000 (13:30 +0200)
commitcf1daae190472fdf52997d97b094ccb995c0b8fb
tree4a0ae316c05c1de93f7c7c1f1fd63140a1dd12c1
parentcccbf9b7fdab48ce4feb69c24f7f928aa8e4e8b8
scripts/gdb/symbols: handle module path parameters

commit 8e4513303b8726e4434f718ab39749cbb4c142b1 upstream.

commit 581ee79a2547 ("scripts/gdb/symbols: make BPF debug info available
to GDB") added support to make BPF debug information available to GDB.
However, the argument handling loop was slightly broken, causing it to
fail if further modules were passed.  Fix it to append these passed
modules to the instance variable after expansion.

Link: https://lkml.kernel.org/r/20260304110642.2020614-2-benjamin@sipsolutions.net
Fixes: 581ee79a2547 ("scripts/gdb/symbols: make BPF debug info available to GDB")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Cc: Ilya Leoshkevich <iii@linux.ibm.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Kieran Bingham <kbingham@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/gdb/linux/symbols.py