* fix PR2232 according to patch submitted
This commit is contained in:
parent
d5b57bda12
commit
4a52dc1539
2 changed files with 8 additions and 1 deletions
|
@ -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):
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue