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 mi/17437] New: gdb/MI crashes with python-based pretty prints that uses a method call of a class


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

            Bug ID: 17437
           Summary: gdb/MI crashes with python-based pretty prints that
                    uses a method call of a class
           Product: gdb
           Version: 7.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mi
          Assignee: unassigned at sourceware dot org
          Reporter: andrey.ayupov at intel dot com

Created attachment 7808
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7808&action=edit
a synthetic example to reproduce the problem with necessary scripts

I was able to create a simple program to reproduce the crash. In fact,
originally the bug was found when debugging from Eclipse Kepler SP1, that's why
it is the MI interface. In the attachment, you can find the following files:
main.cpp   - simple program source
compile  - two commands to build main.cpp 
gdb_bug_test_pretty_print.cmd  - pretty print script
mi.cmd - MI commands that would make it crash. They use relative paths so it
should just run out of the box if you have all the files in the same directory
gdb_bug_test  - executable if you happen to be able to run (built on suse11 64
bit), otherwise build using compile script

-- 
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]