mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 20:19:49 +00:00
Return dgs.alc on success
2010-01-09 Ian Lance Taylor <iant@google.com> PR other/42230 * cp-demangle.c (d_demangle): Return dgs.alc on success.
This commit is contained in:
parent
9c744956e3
commit
ffe7cfdf31
@ -1,3 +1,8 @@
|
||||
2010-01-09 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
PR other/42230
|
||||
* cp-demangle.c (d_demangle): Return dgs.alc on success.
|
||||
|
||||
2010-01-04 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
|
||||
|
||||
PR target/42316
|
||||
|
@ -4777,7 +4777,7 @@ d_demangle (const char *mangled, int options, size_t *palc)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
*palc = dgs.allocation_failure ? 1 : 0;
|
||||
*palc = dgs.allocation_failure ? 1 : dgs.alc;
|
||||
return dgs.buf;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user