* fix PR2232 according to patch submitted

This commit is contained in:
Pierre Muller 2007-03-21 23:57:14 +00:00
parent d5b57bda12
commit 4a52dc1539
2 changed files with 8 additions and 1 deletions

View File

@ -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):

View File

@ -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))