[Bug gdb/21549] c-typeprint.c:262: internal-error: void cp_type_print_method_args(type*, const char*, const char*, int, ui_file*, const type_print_options*): Assertion `TYPE_CODE (args[0].type) == TYPE_CODE_PTR' failed.

linuxer at quantentunnel dot de sourceware-bugzilla@sourceware.org
Sat Jun 10 15:14:00 GMT 2017


--- Comment #7 from Johannes <linuxer at quantentunnel dot de> ---
(In reply to Keith Seitz from comment #4)

> The binary is probably more than enough. You can attach it to this bug if it
> isn't too large, or email it to me directly.

Is attached, as well as the linker map file. This unstripped binary was given
to the gdb and this way loaded into the target board.

> I will probably need to see sources later when (if?) I figure out what's
> triggering the assert. Also, if you could copy/paste a session demonstrating
> the assert, that would be helpful for me to reproduce.

Session trace (copied from the Eclipse gdb console window) is put as an

> Was this binary built with any optimization or stripped?

The ELF file was built with "g++ -std=c++11 -O2 -lto ..." in the compiling and
the linking stage.



You are receiving this mail because:
You are on the CC list for the bug.

More information about the Gdb-prs mailing list