Debugger: Call the GCC2 get_next_argument directly.
This codepath is only hit when we are using the GCC2 demangler, so we should not use get_next_argument which tries to autodetect what kind of symbol this is.
This commit is contained in:
parent
eae1e95256
commit
95587710d1
@ -39,7 +39,7 @@ Demangler::Demangle(const BString& mangledName)
|
||||
int32 type;
|
||||
int32 i = 0;
|
||||
uint32 cookie = 0;
|
||||
while (get_next_argument(&cookie, mangledName.String(), buffer,
|
||||
while (get_next_argument_gcc2(&cookie, mangledName.String(), buffer,
|
||||
sizeof(buffer), &type, &length) == B_OK) {
|
||||
if (i++ > 0)
|
||||
demangledName << ", ";
|
||||
|
Loading…
Reference in New Issue
Block a user