This is the mail archive of the gdb-prs@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]

[Bug python/16470] Crash when inspecting STL containers with GDB pretty print


https://sourceware.org/bugzilla/show_bug.cgi?id=16470

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |qiyao at gcc dot gnu.org

--- Comment #1 from Yao Qi <qiyao at gcc dot gnu.org> ---
(In reply to Axel MÃller from comment #0)

> 
> I installed the python pretty printers for STL from the GNU website and load
> them in my .gdbinit.

Where can we get the python pretty printer? and how do you load them into GDB?

> GDB crashes when I inspect the STL list.
> 
> To reproduce from the command line:
> gdb -i mi -nx
> 
> -enable-pretty-printing
> -gdb-set print object on
> source /home/amueller/.gdbinit

We don't know what your ~/.gdbinit is, so could you please give us the steps in
your ~/.gdbinit?

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

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