diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-08-25 03:59:19 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-08-25 03:59:19 -0400 |
commit | 8d58b66ed2b000f27658c88a4ed70e8042e86a58 (patch) | |
tree | 5bae2c74f932b5d863f72cb698a6f71260340b26 /scripts/gdb/linux/utils.py | |
parent | 13fe86f465b72fc9328d4f5ebc33223c011852ae (diff) | |
parent | c13dcf9f2d6f5f06ef1bf79ec456df614c5e058b (diff) |
Merge tag 'v4.2-rc8' into x86/mm, before applying new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
-rw-r--r-- | scripts/gdb/linux/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gdb/linux/utils.py b/scripts/gdb/linux/utils.py index 128c306db3ee..0893b326a28b 100644 --- a/scripts/gdb/linux/utils.py +++ b/scripts/gdb/linux/utils.py | |||
@@ -83,7 +83,7 @@ def get_target_endianness(): | |||
83 | elif "big endian" in endian: | 83 | elif "big endian" in endian: |
84 | target_endianness = BIG_ENDIAN | 84 | target_endianness = BIG_ENDIAN |
85 | else: | 85 | else: |
86 | raise gdb.GdgError("unknown endianness '{0}'".format(str(endian))) | 86 | raise gdb.GdbError("unknown endianness '{0}'".format(str(endian))) |
87 | return target_endianness | 87 | return target_endianness |
88 | 88 | ||
89 | 89 | ||
@@ -151,6 +151,6 @@ def get_gdbserver_type(): | |||
151 | gdbserver_type = GDBSERVER_QEMU | 151 | gdbserver_type = GDBSERVER_QEMU |
152 | elif probe_kgdb(): | 152 | elif probe_kgdb(): |
153 | gdbserver_type = GDBSERVER_KGDB | 153 | gdbserver_type = GDBSERVER_KGDB |
154 | if not gdbserver_type is None and hasattr(gdb, 'events'): | 154 | if gdbserver_type is not None and hasattr(gdb, 'events'): |
155 | gdb.events.exited.connect(exit_handler) | 155 | gdb.events.exited.connect(exit_handler) |
156 | return gdbserver_type | 156 | return gdbserver_type |