aboutsummaryrefslogtreecommitdiff
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
parentd5b57bda12886c62be1a494f538aff60afa3f819 (diff)
downloadgdb-4a52dc15395e71b60e76b0cc66d7349b55f0830f.zip
gdb-4a52dc15395e71b60e76b0cc66d7349b55f0830f.tar.gz
gdb-4a52dc15395e71b60e76b0cc66d7349b55f0830f.tar.bz2
* fix PR2232 according to patch submitted
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/p-valprint.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2cff817..e672488 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Fix PR pascal/2232.
+ * p-valprint.c (pascal_object_print_value): Use type_name_no_tag
+ instead of TYPE_NAME for object base class name.
+
+
2007-03-19 Kevin Buettner <kevinb@redhat.com>
* mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id):
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))