-
February 17th, 2011, 02:29 PM
#1
GDB and STL containers
I recently discovered this page:
http://sourceware.org/gdb/wiki/STLSupport
and I've been trying to get gdb working better with STL containers.
My attempts to get gdb++ working have been stymied by its dependencies on other things that I don't know where to get, and trying to make the python pretty-printers work hasn't yielded any results at all so far. I already knew that gdb-stl-utils was broken (that page says SGI only, which explains a lot).
I've had some success with gdb-stl-views----pvector and pdeque work great, and it's easy to install. However, both pmap and pset appear to be broken. When I try to use them gdb begins running again as if I had typed "continue" but becomes unresponsive to any further commands. I've had to resort to kill -9'ing the process from another window.
Anyone have any other suggestions?
-
February 17th, 2011, 02:49 PM
#2
Re: GDB and STL containers
I'm seeing this message on the pmap failure:
../../gdb/value.c:571: internal-error: set_value_address: Assertion `value->lval != lval_internalvar && value->lval != lval_internalvar_component' failed.
Don't know what that means.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|