diff options
| author | Brian Norris <computersforpeace@gmail.com> | 2015-07-06 13:54:28 -0700 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2015-07-06 13:54:28 -0700 |
| commit | 83dcf400be7165af938dbd6b8ce6805c754701db (patch) | |
| tree | 495ee9420e3e5478e91425a249be15504ba2dcd3 /scripts/gdb/linux/utils.py | |
| parent | 392d39cfcaa9bcfa202fb0fd3bc65f3c20de318f (diff) | |
| parent | d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff) | |
Merge 4.2-rc1 into MTD -next
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(): elif "big endian" in endian: target_endianness = BIG_ENDIAN else: - raise gdb.GdgError("unknown endianness '{0}'".format(str(endian))) + raise gdb.GdbError("unknown endianness '{0}'".format(str(endian))) return target_endianness @@ -151,6 +151,6 @@ def get_gdbserver_type(): gdbserver_type = GDBSERVER_QEMU elif probe_kgdb(): gdbserver_type = GDBSERVER_KGDB - if not gdbserver_type is None and hasattr(gdb, 'events'): + if gdbserver_type is not None and hasattr(gdb, 'events'): gdb.events.exited.connect(exit_handler) return gdbserver_type |
