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/symbols.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 'scripts/gdb/linux/symbols.py')
-rw-r--r-- | scripts/gdb/linux/symbols.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gdb/linux/symbols.py b/scripts/gdb/linux/symbols.py index dc07b6d12e30..fdad3f32c747 100644 --- a/scripts/gdb/linux/symbols.py +++ b/scripts/gdb/linux/symbols.py @@ -15,7 +15,7 @@ import gdb import os import re -from linux import modules, utils +from linux import modules, utils, constants if hasattr(gdb, 'Breakpoint'): @@ -109,7 +109,7 @@ lx-symbols command.""" def load_module_symbols(self, module): module_name = module['name'].string() - module_addr = str(module['core_layout']['base']).split()[0] + module_addr = str(module['mem'][constants.LX_MOD_TEXT]['base']).split()[0] module_file = self._get_module_file(module_name) if not module_file and not self.module_files_updated: |