why in cplus_demangle_operators operation sizeof is expected to be followed with space
Jan Kratochvil
jan.kratochvil@redhat.com
Sun Sep 16 08:01:00 GMT 2012
On Sun, 16 Sep 2012 08:58:07 +0200, Vasyl Vavrychuk wrote:
> cp_canonicalize_string(exact_unsigned_base_helper<sizeof(unsigned int) * 8>)
Could you post the mangled form of this name? 'nm' vs. 'nm -C' on the file(s)
should help.
The internal error happens
gdb -ex 'b internal_error' -ex 'b print_command' -ex r -ex 'p cp_canonicalize_string("exact_unsigned_base_helper<sizeof(unsigned int) * 8>")' --args ./gdb -ex 'print 1'
but GDB does not expect it could demangle such name itself.
Thanks,
Jan
More information about the Gdb
mailing list