This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Eliminate tui_command_loop
- From: Matt Rice <ratmice at gmail dot com>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 10 Sep 2011 05:51:10 -0700
- Subject: Re: Eliminate tui_command_loop
- References: <201108042110.45405.pedro@codesourcery.com> <CACTLOFoWEp9RAjA_mv=iXWAtqw_cert7iQ3Dp=ubQ5_+N434Ow@mail.gmail.com>
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