mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 04:29:49 +00:00
PR binutils/536
* stabs.c (stab_demangle_template): Call stab_demangle_count rather than stab_demangle_get_count to get the length of a pointer target.
This commit is contained in:
parent
69065f5d2f
commit
2b25cacb21
@ -1,3 +1,10 @@
|
||||
2004-11-10 Ian Lance Taylor <ian@wasabisystems.com>
|
||||
|
||||
PR binutils/536
|
||||
* stabs.c (stab_demangle_template): Call stab_demangle_count
|
||||
rather than stab_demangle_get_count to get the length of a pointer
|
||||
target.
|
||||
|
||||
2004-11-10 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* defparse.y: Remove unnecessary commas from token list.
|
||||
|
@ -4321,7 +4321,8 @@ stab_demangle_template (struct stab_demangle_info *minfo, const char **pp,
|
||||
{
|
||||
unsigned int len;
|
||||
|
||||
if (! stab_demangle_get_count (pp, &len))
|
||||
len = stab_demangle_count (pp);
|
||||
if (len == 0)
|
||||
{
|
||||
stab_bad_demangle (orig);
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user