aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb-gdb.py
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-06-29 16:17:58 +0000
committerDoug Evans <dje@google.com>2010-06-29 16:17:58 +0000
commite68994a706bbafbe4e3eb7d33451e576136edbc0 (patch)
treeca0f3d001f95aa55bbd3ecb3c26b7929bb134532 /gdb/gdb-gdb.py
parentec51c3818e3a29b9995a7be8dd2db4f5468485d2 (diff)
downloadgdb-e68994a706bbafbe4e3eb7d33451e576136edbc0.zip
gdb-e68994a706bbafbe4e3eb7d33451e576136edbc0.tar.gz
gdb-e68994a706bbafbe4e3eb7d33451e576136edbc0.tar.bz2
Delete FIELD_LOC_KIND_DWARF_BLOCK, unused.
* gdbtypes.h (enum field_loc_kind): Delete FIELD_LOC_KIND_DWARF_BLOCK. (struct main_type, field loc): Delete dwarf_block. (FIELD_DWARF_BLOCK): Delete. (SET_FIELD_DWARF_BLOCK): Delete. (TYPE_FIELD_DWARF_BLOCK): Delete. * gdb-gdb.py (StructMainTypePrettyPrinter.struct_field_location_img): Update.
Diffstat (limited to 'gdb/gdb-gdb.py')
-rw-r--r--gdb/gdb-gdb.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/gdb-gdb.py b/gdb/gdb-gdb.py
index 84e8914..b2e68ee 100644
--- a/gdb/gdb-gdb.py
+++ b/gdb/gdb-gdb.py
@@ -158,8 +158,6 @@ class StructMainTypePrettyPrinter:
return 'physaddr = 0x%x' % loc_val['physaddr']
elif loc_kind == "FIELD_LOC_KIND_PHYSNAME":
return 'physname = %s' % loc_val['physname']
- elif loc_kind == "FIELD_LOC_KIND_DWARF_BLOCK":
- return 'dwarf_block = %s' % loc_val['dwarf_block']
else:
return 'loc = ??? (unsupported loc_kind value)'
def struct_field_img(self, fieldno):