summaryrefslogtreecommitdiff
path: root/gdb/c-typeprint.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-11-21 18:07:12 +0000
committerTom Tromey <tromey@redhat.com>2012-11-21 18:07:12 +0000
commit5095e2874de2b1dff9ffa28c74a85b744c604e73 (patch)
tree76dddbd16af44d93066c6c1592934d34221e681c /gdb/c-typeprint.c
parentf73babaee08f24420f08e06edb6b154d1ee772f9 (diff)
downloadgdb-5095e2874de2b1dff9ffa28c74a85b744c604e73.tar.gz
* gdbtypes.h (struct cplus_struct_type) <localtype_ptr>: Remove
field. (TYPE_LOCALTYPE_PTR, TYPE_LOCALTYPE_FILE, TYPE_LOCALTYPE_LINE): Remove. * c-typeprint.c (c_type_print_base): Update.
Diffstat (limited to 'gdb/c-typeprint.c')
-rw-r--r--gdb/c-typeprint.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/c-typeprint.c b/gdb/c-typeprint.c
index c6f8bb23c6b..161b3fe4b3a 100644
--- a/gdb/c-typeprint.c
+++ b/gdb/c-typeprint.c
@@ -1308,12 +1308,6 @@ c_type_print_base (struct type *type, struct ui_file *stream,
}
fprintfi_filtered (level, stream, "}");
-
- if (TYPE_LOCALTYPE_PTR (type) && show >= 0)
- fprintfi_filtered (level,
- stream, _(" (Local at %s:%d)\n"),
- TYPE_LOCALTYPE_FILE (type),
- TYPE_LOCALTYPE_LINE (type));
}
do_cleanups (local_cleanups);