diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-08-02 10:06:12 -0700 | 
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-08-02 10:06:12 -0700 | 
| commit | 8bb5e7f4dcd9b9ef22a3ea25c9066a8a968f12dd (patch) | |
| tree | 0f1383880607a227142f9388a066959926233ff1 /scripts/gdb | |
| parent | 2a96271fb66c499e4a89d76a89d3d01170c10bef (diff) | |
| parent | 7c744d00990ea999d27f306f6db5ccb61b1304b2 (diff) | |
Merge branch 'next' into for-linus
Prepare input updates for 5.20 (or 6.0) merge window.
Diffstat (limited to 'scripts/gdb')
| -rw-r--r-- | scripts/gdb/linux/config.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/scripts/gdb/linux/config.py b/scripts/gdb/linux/config.py index 90e1565b1967..8843ab3cbadd 100644 --- a/scripts/gdb/linux/config.py +++ b/scripts/gdb/linux/config.py @@ -24,9 +24,9 @@ class LxConfigDump(gdb.Command):              filename = arg          try: -            py_config_ptr = gdb.parse_and_eval("kernel_config_data + 8") -            py_config_size = gdb.parse_and_eval( -                    "sizeof(kernel_config_data) - 1 - 8 * 2") +            py_config_ptr = gdb.parse_and_eval("&kernel_config_data") +            py_config_ptr_end = gdb.parse_and_eval("&kernel_config_data_end") +            py_config_size = py_config_ptr_end - py_config_ptr          except gdb.error as e:              raise gdb.GdbError("Can't find config, enable CONFIG_IKCONFIG?") | 
