aboutsummaryrefslogtreecommitdiff
path: root/gdb/p-valprint.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2007-03-21 23:57:14 +0000
committerPierre Muller <muller@sourceware.org>2007-03-21 23:57:14 +0000
commit4a52dc15395e71b60e76b0cc66d7349b55f0830f (patch)
tree9f80ab719562fea0b90071ca4f2bcb18d59e2c59 /gdb/p-valprint.c
parentd5b57bda12886c62be1a494f538aff60afa3f819 (diff)
downloadfsf-binutils-gdb-4a52dc15395e71b60e76b0cc66d7349b55f0830f.zip
fsf-binutils-gdb-4a52dc15395e71b60e76b0cc66d7349b55f0830f.tar.gz
fsf-binutils-gdb-4a52dc15395e71b60e76b0cc66d7349b55f0830f.tar.bz2
* fix PR2232 according to patch submitted
Diffstat (limited to 'gdb/p-valprint.c')
-rw-r--r--gdb/p-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/p-valprint.c b/gdb/p-valprint.c
index a383371..5b791eb 100644
--- a/gdb/p-valprint.c
+++ b/gdb/p-valprint.c
@@ -827,7 +827,7 @@ pascal_object_print_value (struct type *type, const gdb_byte *valaddr,
{
int boffset;
struct type *baseclass = check_typedef (TYPE_BASECLASS (type, i));
- char *basename = TYPE_NAME (baseclass);
+ char *basename = type_name_no_tag (baseclass);
const gdb_byte *base_valaddr;
if (BASETYPE_VIA_VIRTUAL (type, i))