How to load C++ pretty-printers
Eli Zaretskii
eliz@gnu.org
Sun Mar 17 15:31:00 GMT 2019
> From: Philippe Waroquiers <philippe.waroquiers@skynet.be>
> Cc: Eli Zaretskii <eliz@gnu.org>, Simon Marchi <simon.marchi@polymtl.ca>,
> gdb@sourceware.org
> Date: Sun, 17 Mar 2019 13:39:52 +0100
>
> But then:
> Â p current_program_space->added_solibs[0]
> One of the arguments you tried to pass to operator[] could not be converted to what
> the function wants.
> (why is then GDB not telling me what the function wants ?).
> I am finally doing
> p (*(struct so_list*)0x56275a765a60)
>
> But that all looks like a 'backward' user experience:
Is that a problem with GDB or with the pretty-printer? If the latter,
it might be worth telling this to the GCC folks.
Thanks.
More information about the Gdb
mailing list