mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-14 15:50:34 +00:00
gdb/
* gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE comparison.
This commit is contained in:
parent
1472ddb3eb
commit
64aa97315d
@ -1,3 +1,8 @@
|
||||
2010-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE
|
||||
comparison.
|
||||
|
||||
2010-01-15 Eric Botcazou <botcazou@adacore.com>
|
||||
|
||||
"info tasks" broken by typedefs in ATCB type definitions.
|
||||
|
@ -225,7 +225,7 @@ class StructMainTypePrettyPrinter:
|
||||
if self.val['nfields'] > 0:
|
||||
for fieldno in range(self.val['nfields']):
|
||||
fields.append(self.struct_field_img(fieldno))
|
||||
if self.val.type.code == gdb.TYPE_CODE_RANGE:
|
||||
if self.val['code'] == gdb.TYPE_CODE_RANGE:
|
||||
fields.append(self.bounds_img())
|
||||
fields.append(self.type_specific_img())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user