mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-02 20:53:06 +08:00
start-sanitize-gdbtk
* gdbtk.c (gdb_get_breakpoint_info): Add string for new enumeration del_at_next_stop to bpdisp array. end-sanitize-gdbtk * eval.c (evaluate_subexp_for_sizeof): Handle dereferencing of non-pointer values. * symtab.c (gdb_mangle_name): Improve mangling of nested types, their physical names already include the class name. * valops.c (value_cast): Handle upcast of a class pointer. From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de): * corelow.c (get_core_registers): Make secname big enough.
This commit is contained in:
@ -305,12 +305,11 @@ gdb_mangle_name (type, i, j)
|
||||
if (len == 0)
|
||||
{
|
||||
sprintf (buf, "__%s%s", const_prefix, volatile_prefix);
|
||||
if (strcmp(buf, "__") == 0)
|
||||
buf[0] = '\0';
|
||||
}
|
||||
else if (newname != NULL && strchr (newname, '<') != NULL)
|
||||
else if (physname[0] == 't' || physname[0] == 'Q')
|
||||
{
|
||||
/* Template methods are fully mangled. */
|
||||
/* The physname for template and qualified methods already includes
|
||||
the class name. */
|
||||
sprintf (buf, "__%s%s", const_prefix, volatile_prefix);
|
||||
newname = NULL;
|
||||
len = 0;
|
||||
@ -2063,6 +2062,7 @@ decode_line_1 (argptr, funfirstline, default_symtab, default_line, canonical)
|
||||
xmalloc (sizeof (struct symtab_and_line));
|
||||
values.nelts = 1;
|
||||
values.sals[0] = find_pc_line (pc, 0);
|
||||
values.sals[0].pc = pc;
|
||||
return values;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user