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
2 changed files with 9 additions and 1 deletions
|
@ -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 a new issue