This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb -ex "thread apply all bt full" truncates C++ classes


On 08/21/2014 05:38 AM, Reza Roboubi wrote:
> When I run
> gdb <executable-file> --core core --batch --quiet -ex "where" -ex
> "thread apply all bt full" -ex "quit"
> 
> Things like C++ or STL classes(as function parameters) are
> truncated(they show up as "...") in the backtrace.
> Can gdb treat them like C structs and print the contents?

Add:

 -ex "set print frame-arguments all"

See:

  https://sourceware.org/gdb/current/onlinedocs/gdb/Print-Settings.html

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]