mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
PR binutils/13925
* stabs.c (stab_demangle_v3_arglist): Cope with the demangler returning an empty context for a function with no arguments.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2012-03-30 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR binutils/13925
|
||||||
|
* stabs.c (stab_demangle_v3_arglist): Cope with the demangler
|
||||||
|
returning an empty context for a function with no arguments.
|
||||||
|
|
||||||
2012-03-28 Tom Tromey <tromey@redhat.com>
|
2012-03-28 Tom Tromey <tromey@redhat.com>
|
||||||
|
|
||||||
* dwarf.c (display_gdb_index): Handle index version 6.
|
* dwarf.c (display_gdb_index): Handle index version 6.
|
||||||
|
@ -5169,6 +5169,11 @@ stab_demangle_v3_arglist (void *dhandle, struct stab_handle *info,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* PR 13925: Cope if the demangler returns an empty
|
||||||
|
context for a function with no arguments. */
|
||||||
|
if (dc->u.s_binary.left == NULL)
|
||||||
|
break;
|
||||||
|
|
||||||
arg = stab_demangle_v3_arg (dhandle, info, dc->u.s_binary.left,
|
arg = stab_demangle_v3_arg (dhandle, info, dc->u.s_binary.left,
|
||||||
NULL, &varargs);
|
NULL, &varargs);
|
||||||
if (arg == NULL)
|
if (arg == NULL)
|
||||||
|
Reference in New Issue
Block a user