This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
gdb -ex "thread apply all bt full" truncates C++ classes
- From: Reza Roboubi <rezarob at gmail dot com>
- To: gdb at sourceware dot org
- Date: Wed, 20 Aug 2014 21:38:17 -0700
- Subject: gdb -ex "thread apply all bt full" truncates C++ classes
- Authentication-results: sourceware.org; auth=none
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?
Version: gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Many thanks in advance,
Reza.