mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +08:00
2011-03-04 Michael Snyder <msnyder@vmware.com>
* stabsread.c (define_symbol): Guard against bad stabstring input.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2011-03-15 Michael Snyder <msnyder@vmware.com>
|
||||
|
||||
* stabsread.c (define_symbol): Guard against bad stabstring input.
|
||||
|
||||
2011-03-15 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
Remove trailing spaces and tabulations from pascal language
|
||||
|
@ -636,6 +636,12 @@ define_symbol (CORE_ADDR valu, char *string, int desc, int type,
|
||||
{
|
||||
p += 2;
|
||||
p = strchr (p, ':');
|
||||
if (p == NULL)
|
||||
{
|
||||
complaint (&symfile_complaints,
|
||||
_("Bad stabs string '%s'"), string);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/* If a nameless stab entry, all we need is the type, not the symbol.
|
||||
|
Reference in New Issue
Block a user