mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-13 05:20:44 +00:00
* stabsread.c (read_cpp_abbrev): Properly construct the names of
virtual function table pointer fields.
This commit is contained in:
parent
e93d71992f
commit
c2bd2ed9a6
@ -1,3 +1,8 @@
|
|||||||
|
2001-03-23 Jim Blandy <jimb@redhat.com>
|
||||||
|
|
||||||
|
* stabsread.c (read_cpp_abbrev): Properly construct the names of
|
||||||
|
virtual function table pointer fields.
|
||||||
|
|
||||||
2001-03-19 Andrew Cagney <ac131313@redhat.com>
|
2001-03-19 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
|
* defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
|
||||||
|
@ -3264,8 +3264,13 @@ read_cpp_abbrev (struct field_info *fip, char **pp, struct type *type,
|
|||||||
switch (cpp_abbrev)
|
switch (cpp_abbrev)
|
||||||
{
|
{
|
||||||
case 'f': /* $vf -- a virtual function table pointer */
|
case 'f': /* $vf -- a virtual function table pointer */
|
||||||
|
name = type_name_no_tag (context);
|
||||||
|
if (name == NULL)
|
||||||
|
{
|
||||||
|
name = "";
|
||||||
|
}
|
||||||
fip->list->field.name =
|
fip->list->field.name =
|
||||||
obconcat (&objfile->type_obstack, vptr_name, "", "");
|
obconcat (&objfile->type_obstack, vptr_name, name, "");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'b': /* $vb -- a virtual bsomethingorother */
|
case 'b': /* $vb -- a virtual bsomethingorother */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user