diff options
author | 2023-06-27 22:37:24 +0200 | |
---|---|---|
committer | 2023-06-27 22:37:24 +0200 | |
commit | e80b500370e71b8cd7dd64be4080cee0a3e5068f (patch) | |
tree | 130b5288bf5f8420482a1aaf021f2054b5687f04 /scripts/gdb/linux/modules.py | |
parent | Merge branch 'for-6.5/amd-sfh' into for-linus (diff) | |
parent | HID: apple: Option to swap only left side mod keys (diff) | |
download | wireguard-linux-e80b500370e71b8cd7dd64be4080cee0a3e5068f.tar.xz wireguard-linux-e80b500370e71b8cd7dd64be4080cee0a3e5068f.zip |
Merge branch 'for-6.5/apple' into for-linus
- improved support for Keychron K8 keyboard (Lasse Brun)
Diffstat (limited to '')
-rw-r--r-- | scripts/gdb/linux/modules.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gdb/linux/modules.py b/scripts/gdb/linux/modules.py index 441b23239896..261f28640f4c 100644 --- a/scripts/gdb/linux/modules.py +++ b/scripts/gdb/linux/modules.py @@ -13,7 +13,7 @@ import gdb -from linux import cpus, utils, lists +from linux import cpus, utils, lists, constants module_type = utils.CachedType("struct module") @@ -73,7 +73,7 @@ class LxLsmod(gdb.Command): " " if utils.get_long_type().sizeof == 8 else "")) for module in module_list(): - layout = module['core_layout'] + layout = module['mem'][constants.LX_MOD_TEXT] gdb.write("{address} {name:<19} {size:>8} {ref}".format( address=str(layout['base']).split()[0], name=module['name'].string(), |