This is the mail archive of the gdb-patches@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: Eliminate tui_command_loop


On Sat, Sep 10, 2011 at 5:46 AM, Matt Rice <ratmice@gmail.com> wrote:

> Sorry to report that there is an issue here,

forgot the reproducer,

./gdb -quiet -ex 'interpreter-exec mi2 "-break-insert main"' -ex start
~/tests/test

e.g.

$ ./gdb/gdb -quiet -ex 'interpreter-exec mi2 "-break-insert main"' -ex
start ~/tests/test
Reading symbols from /home/ratmice/tests/test...done.
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x0000000000400598",func="main",file="/home/ratmice/tests/test.c",fullname="/home/ratmice/tests/test.c",line="36",times="0",original-location="main"}
(gdb)
Temporary breakpoint 2 at 0x400598: file /home/ratmice/tests/test.c, line 36.
Starting program: /home/ratmice/tests/test

Breakpoint 1, main (argc=1, argv=0x7fffffffe178) at
/home/ratmice/tests/test.c:36
Segmentation fault


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