This is the mail archive of the gdb@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: Remote protocol problems after 2009 Oct 20


On Tue, 24 Nov 2009 11:05:57 -0800
Michael Snyder <msnyder@vmware.com> wrote:

> Julian Smith wrote:
> > Hello
> > 
> > I'm working on UndoDB's support for running as a remote target,
> > controlled by gdb-7's remote protocol commands, including the new
> > reverse commands bc and bs.
> > 
> > Things were working fine, but a rather large commit to gdb on 2009 Oct
> > 19 (the diff is 10,000 lines long) seems to have changed something and
> > UndoDB no longer works, even for simple running forwards.
> 
> Bummer!
> 
> > The symptom is that gdb doesn't step off of an internal (i.e. not set
> > by the user) breakpoint in _dl_debug_state after starting the inferior
> > but instead returns to the user. Here's the output (for gdb built from
> > source dated 2009 oct 20, but the same thing happens with a gdb from a
> > few days ago):
> > 
> >     GNU gdb (GDB) 7.0.50.20091019-cvs
> >     Copyright (C) 2009 Free Software Foundation, Inc.
> >     License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> >     This is free software: you are free to change and redistribute it.
> >     There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> >     and "show warranty" for details.
> >     This GDB was configured as "i686-pc-linux-gnu".
> >     For bug reporting instructions, please see:
> >     <http://www.gnu.org/software/gdb/bugs/>...
> >     Reading symbols from test/_yabs/test16,cpu=i686,debug,gcc=4.3.4,os=Linux,osv=2.6.30-1-686.exe...done.
> >     0xb7fc3850 in ?? () from /lib/ld-linux.so.2
> >     (gdb) break main
> >     Breakpoint 1 at 0x8048465: file test16.c, line 13.
> >     (gdb) run
> 
> OK first question -- is there any compelling reason why you
> are using "run" here?  With the remote target, once you are
> connected, you usually want to use only "continue", not "run".

It's a little ugly, i agree. We're trying to make the usage the same as
with native gdb, where the user types `run' to get the inferior going.
I.e. hide the fact that a remote debug server is being used.

> 
> Not saying that's the problem, but it would be nice to
> take it out of the picture.
> 
> Oh,  I see from further down that you are using target
> "extended-remote".  Fine, that does support the "run"
> command.  Still, I would be interested in finding out what
> happens if you used plain "target remote" and no "run".

I've just tried this, and unfortunately it makes no difference - newer
builds of gdb still return to the user at an internal breakpoint.

> 
> 
> >     The program being debugged has been started already.
> >     Start it from the beginning? (y or n) y
> >     Starting program: test/_yabs/test16,cpu=i686,debug,gcc=4.3.4,os=Linux,osv=2.6.30-1-686.exe
> >     0xb7fa7b51 in _dl_debug_state () from /lib/ld-linux.so.2
> >     (gdb)
> > 
> > With earlier builds of gdb, gdb steps off the breakpoint at
> > _dl_debug_state and continues the inferior until it hits the breakpoint
> > at main().
> 
> If you continue again from here, what happens?

Everything works fine with old gdb - i can run the debuggee forwards
and backwards with no problems.

> 
> Hitting this breakpoint repeatedly is expected -- and is
> not necessarily an indication that you are not making progress.
> Have you tried something like "continue 100"?

If i continue the inferior, the inferior gets a SIGSEGV. This may be a
bug in UndoDB, but may be to do with it attempting to deliver a SIGTRAP
to the inferior (which is not a very common occurrence...). I'll try to
investigate this some more.

> 
> Also if you "set verbose on", you should get a shared library
> message every time this breakpoint is hit.  That could also give
> you an indication as to whether the program is making progress.
> 
> 
> > I'm running gdb with the following startup script:
> > 
> >     set remote hardware-breakpoint-limit -1
> >     set remote hardware-breakpoint-packet off
> >     set remote software-breakpoint-packet on
> >     target extended-remote localhost:3000
> > 
> > If anyone has any ideas what might be wrong, or where to look for more
> > information, i'd be very grateful.
> > 
> > Here's the protocol log, with a few diagnostics from the UndoDB remote
> > server:
> 
> These logs are helpful, but also a little confusing due to linux
> auto-randomization: the program is loading at a different base address
> each time you run it.  Thus the PC looks different each time even though
> it is probably the same.  Could you re-run the experiment with auto
> randomization turned off?

I tried this, but it appeared to have no effect - %esp and %eip values
were still different.

> 
> What I can tell so far is that the sequence of events up until
> the "run" seems the same, and that the next thing that happens
> is a stop at what is *probably* _dl_debug_state.  After that
> they diverge, and it would be easier to compare if we could
> take the address randomization out of the picture.

I'll try to figure a way to avoid address randomisation.

One thing is fairly clear though - both old and new gdb get a SIGTRAP
for the inferior, at %eip one byte higher than a breakpoint that gdb as
set earlier. The old gdb steps over the breakpoint in the usual way and
continues, while newer gdb's return the SIGTRAP to the user. There may
be a bug in UndoDB that is exposed if one continues the debuggee beyond
the SIGTRAP, but up until then, newer gdb's do appear to be doing
something odd.

Anyway, many thanks for your comments, any more insights are welcomed!
I'll hopefully post some more info in a day or two.

- Julian


> 
> 
> 
> >     GNU gdb (GDB) 7.0.50.20091019-cvs
> >     Copyright (C) 2009 Free Software Foundation, Inc.
> >     License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> >     This is free software: you are free to change and redistribute it.
> >     There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> >     and "show warranty" for details.
> >     This GDB was configured as "i686-pc-linux-gnu".
> >     For bug reporting instructions, please see:
> >     <http://www.gnu.org/software/gdb/bugs/>...
> >     Reading symbols from test/_yabs/test16,cpu=i686,debug,gcc=4.3.4,os=Linux,osv=2.6.30-1-686.exe...done.
> >     Sending packet: $qSupported:multiprocess+#c6...Ack
> >     Packet received: ReverseContinue+;ReverseStep+;multiprocess-
> >     Packet qSupported (supported-packets) is supported
> >     Sending packet: $!#21...Ack
> >     Packet received: OK
> >     Sending packet: $Hg0#df...Ack
> >     Packet received: E10
> >     Sending packet: $?#3f...  253486  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [10807:10807]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $Hc-1#09...Ack
> >     Packet received: E05
> >     Sending packet: $qC#b4...Ack
> >     Packet received:
> >     Sending packet: $qAttached#8f...Ack
> >     Packet received: 0
> >     Packet qAttached (query-attached) is supported
> >     Sending packet: $qOffsets#4b...Ack
> >     Packet received:
> >     Sending packet: $g#67...Ack
> >     Packet received: 00000000000000000000000000000000e0719fbf0000000000000000000000005038f1b792020000730000007b0000007b0000007b0000000000000000000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $qSymbol::#5b...Ack
> >     Packet received:
> >     Packet qSymbol (symbol-lookup) is NOT supported
> >     Sending packet: $mb7f13850,1#ca...Ack
> >     Packet received: 89
> >     Sending packet: $mb7f13850,8#d1...Ack
> >     Packet received: 89e0e82902000089
> >     Sending packet: $mb7f13850,7#d0...Ack
> >     Packet received: 89e0e829020000
> >     0xb7f13850 in ?? () from /lib/ld-linux.so.2
> >     (gdb) break main
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,e#6f...Ack
> >     Packet received: 8d4c240483e4f0ff71fc5589e551
> >     Sending packet: $m804845e,1#6c...Ack
> >     Packet received: 55
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,1#38...Ack
> >     Packet received: e5
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048465,1#3d...Ack
> >     Packet received: c7
> >     Breakpoint 1 at 0x8048465: file test/test16.c, line 13.
> >     (gdb) run
> >     The program being debugged has been started already.
> >     Start it from the beginning? (y or n) y
> >     Sending packet: $vKill;a410#33...  255797  undodb.c:3809:undodb_swaitpid [10807:10807]: unexpected waitpid status from rchild on startup: pid=10811, WIFSIGNALED, sig= 9 (SIGKILL)
> >     Ack
> >     Packet received: OK
> >     Packet vKill (kill) is supported
> >     Sending packet: $?#3f...  255865  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [10807:10807]: sending: X09
> >     Ack
> >     Packet received: X09
> >     Starting program: test/_yabs/test16,cpu=i686,debug,gcc=4.3.4,os=Linux,osv=2.6.30-1-686.exe
> >     Sending packet: $vRun;#e6...Ack
> >       255951  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [10807:10807]: sending: S05
> >     Packet received: S05
> >     Packet vRun (run) is supported
> >     Sending packet: $qC#b4...Ack
> >     Packet received:
> >     Sending packet: $qOffsets#4b...Ack
> >     Packet received:
> >     Sending packet: $Hg0#df...Ack
> >     Packet received: E10
> >     Sending packet: $g#67...Ack
> >     Packet received: 00000000000000000000000000000000e085bebf0000000000000000000000005038f6b792020000730000007b0000007b0000007b0000000000000000000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $mb7f63850,1#cf...Ack
> >     Packet received: 89
> >     Sending packet: $mb7f63850,8#d6...Ack
> >     Packet received: 89e0e82902000089
> >     Sending packet: $mb7f63850,7#d5...Ack
> >     Packet received: 89e0e829020000
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,e#6f...Ack
> >     Packet received: 8d4c240483e4f0ff71fc5589e551
> >     Sending packet: $m804845e,1#6c...Ack
> >     Packet received: 55
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,1#38...Ack
> >     Packet received: e5
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $mb7f63850,1#cf...Ack
> >     Packet received: 89
> >     Sending packet: $mb7f63850,8#d6...Ack
> >     Packet received: 89e0e82902000089
> >     Sending packet: $mb7f63850,7#d5...Ack
> >     Packet received: 89e0e829020000
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,e#6f...Ack
> >     Packet received: 8d4c240483e4f0ff71fc5589e551
> >     Sending packet: $m804845e,1#6c...Ack
> >     Packet received: 55
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,1#38...Ack
> >     Packet received: e5
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $Z0,8048465,1#86...  259097  gdb7/js_undodb_server.c:817:command_loop [10807:10807]: command=Z
> >       259097  gdb7/js_undodb_server.c:832:command_loop [10807:10807]: Z0: set software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7f71b50,1#41...  259165  gdb7/js_undodb_server.c:817:command_loop [10807:10807]: command=Z
> >       259166  gdb7/js_undodb_server.c:832:command_loop [10807:10807]: Z0: set software breakpoint address=0xb7f71b50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $vCont?#49...Ack
> >     Packet received:
> >     Packet vCont (verbose-resume) is NOT supported
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $c#63...  259372  gdb7/js_undodb_server.c:441:command_loop [10807:10807]: doing PTRACE_CONT
> >       259373  gdb7/js_undodb_server.c:450:command_loop [10807:10807]: undodb_waitpid() returned: pid=10812, WIFSTOPPED, sig= 5 (SIGTRAP)
> >       259373  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [10807:10807]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: 000000005806f8b7d430f6b7f4fff7b7b483bebf7085bebf7006f8b75806f8b7511bf7b746020000730000007b0000007b0000007b0000000000000000000000
> >     Sending packet: $z0,8048465,1#a6...  259509  gdb7/js_undodb_server.c:817:command_loop [10807:10807]: command=z
> >       259510  gdb7/js_undodb_server.c:832:command_loop [10807:10807]: z0: clear software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7f71b50,1#61...  259578  gdb7/js_undodb_server.c:817:command_loop [10807:10807]: command=z
> >       259578  gdb7/js_undodb_server.c:832:command_loop [10807:10807]: z0: clear software breakpoint address=0xb7f71b50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $mb7f71b51,1#f9...Ack
> >     Packet received: 89
> >     0xb7f71b51 in _dl_debug_state () from /lib/ld-linux.so.2
> >     (gdb) make.py:1449:commands2: e=  <type 'exceptions.AssertionError'>
> >     Traceback (most recent call last):
> >       File "./make.py", line 1440, in commands2
> >         ret = commands( context)
> >       File "./make.py", line 2343, in commands
> >         assert ur.hit_breakpoint
> >     AssertionError
> >     frontend_gdbmacro.py:1534:terminate: killing unterminated frontend.
> >     Quit
> >     (gdb) q
> >     A debugging session is active.
> > 
> >         Inferior 1 [Remote target] will be killed.
> > 
> >     Quit anyway? (y or n) y
> >     Sending packet: $vKill;a410#33...Quitting: Remote connection closed
> >     yabs 0: *** target failed: ./test41,remote=1,gdb=/home/jules/gdb_cvs,,20-oct-2009
> >     yabs 0: *** error was:
> >     yabs 0:   ../../home/jules/yabs/yabs.py:1712:_command_gettext(): command2 = command( context)
> >     yabs 0:   ./make.py:1440:commands2(): ret = commands( context)
> >     yabs 0:   ./make.py:2343:commands(): assert ur.hit_breakpoint
> >     yabs 0:   AssertionError
> >     yabs 0: *** target failed: ./tests_nr41,remote=1,gdb=/home/jules/gdb_cvs,,20-oct-2009
> >     yabs summary: yabs 0: *** target failed: ./tests_nr41,remote=1,gdb=/home/jules/gdb_cvs,,20-oct-2009
> >     yabs summary: yabs 1:   *** target failed: ./test41,remote=1,gdb=/home/jules/gdb_cvs,,20-oct-2009
> > 
> > 
> > And here's the log with a slightly older build of gdb:
> > 
> >     GNU gdb (GDB) 7.0.50.20091018-cvs
> >     Copyright (C) 2009 Free Software Foundation, Inc.
> >     License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> >     This is free software: you are free to change and redistribute it.
> >     There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> >     and "show warranty" for details.
> >     This GDB was configured as "i686-pc-linux-gnu".
> >     For bug reporting instructions, please see:
> >     <http://www.gnu.org/software/gdb/bugs/>...
> >     Reading symbols from test/_yabs/test16,cpu=i686,debug,gcc=4.3.4,os=Linux,osv=2.6.30-1-686.exe...done.
> >     Sending packet: $qSupported:multiprocess+#c6...Ack
> >     Packet received: ReverseContinue+;ReverseStep+;multiprocess-
> >     Packet qSupported (supported-packets) is supported
> >     Sending packet: $!#21...Ack
> >     Packet received: OK
> >     Sending packet: $Hg0#df...Ack
> >     Packet received: E10
> >     Sending packet: $?#3f... 1021056  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $Hc-1#09...Ack
> >     Packet received: E05
> >     Sending packet: $qC#b4...Ack
> >     Packet received:
> >     Sending packet: $qAttached#8f...Ack
> >     Packet received: 0
> >     Packet qAttached (query-attached) is supported
> >     Sending packet: $qOffsets#4b...Ack
> >     Packet received:
> >     Sending packet: $g#67...Ack
> >     Packet received: 00000000000000000000000000000000c092a3bf00000000000000000000000050d808b892020000730000007b0000007b0000007b0000000000000000000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $qSymbol::#5b...Ack
> >     Packet received:
> >     Packet qSymbol (symbol-lookup) is NOT supported
> >     Sending packet: $mb808d850,1#cd...Ack
> >     Packet received: 89
> >     Sending packet: $mb808d850,8#d4...Ack
> >     Packet received: 89e0e82902000089
> >     Sending packet: $mb808d850,7#d3...Ack
> >     Packet received: 89e0e829020000
> >     0xb808d850 in ?? () from /lib/ld-linux.so.2
> >     (gdb) break main
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,e#6f...Ack
> >     Packet received: 8d4c240483e4f0ff71fc5589e551
> >     Sending packet: $m804845e,1#6c...Ack
> >     Packet received: 55
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,1#38...Ack
> >     Packet received: e5
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048465,1#3d...Ack
> >     Packet received: c7
> >     Breakpoint 1 at 0x8048465: file test/test16.c, line 13.
> >     (gdb) run
> >     The program being debugged has been started already.
> >     Start it from the beginning? (y or n) y
> >     Sending packet: $vKill;a410#33... 1023360  undodb.c:3809:undodb_swaitpid [17884:17884]: unexpected waitpid status from rchild on startup: pid=17889, WIFSIGNALED, sig= 9 (SIGKILL)
> >     Ack
> >     Packet received: OK
> >     Packet vKill (kill) is supported
> >     Sending packet: $?#3f... 1023426  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: X09
> >     Ack
> >     Packet received: X09
> >     Starting program: test/_yabs/test16,cpu=i686,debug,gcc=4.3.4,os=Linux,osv=2.6.30-1-686.exe
> >     Sending packet: $vRun;#e6...Ack
> >      1023536  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Packet received: S05
> >     Packet vRun (run) is supported
> >     Sending packet: $qC#b4...Ack
> >     Packet received:
> >     Sending packet: $qOffsets#4b...Ack
> >     Packet received:
> >     Sending packet: $Hg0#df...Ack
> >     Packet received: E10
> >     Sending packet: $g#67...Ack
> >     Packet received: 00000000000000000000000000000000d0d2b5bf00000000000000000000000050e8eeb792020000730000007b0000007b0000007b0000000000000000000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 00000000
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,e#6f...Ack
> >     Packet received: 8d4c240483e4f0ff71fc5589e551
> >     Sending packet: $m804845e,1#6c...Ack
> >     Packet received: 55
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,1#38...Ack
> >     Packet received: e5
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,e#6f...Ack
> >     Packet received: 8d4c240483e4f0ff71fc5589e551
> >     Sending packet: $m804845e,1#6c...Ack
> >     Packet received: 55
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,1#38...Ack
> >     Packet received: e5
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $Z0,8048465,1#86... 1026259  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >      1026259  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7efcb50,1#a1... 1026328  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >      1026328  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $vCont?#49...Ack
> >     Packet received:
> >     Packet vCont (verbose-resume) is NOT supported
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $c#63... 1026534  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_CONT
> >      1026534  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >      1026534  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: 0000000058b6f0b7d4e0eeb7f4aff0b7a4d0b5bf60d2b5bf70b6f0b758b6f0b751cbefb746020000730000007b0000007b0000007b0000000000000000000000
> >     Sending packet: $P8=50cbefb7#53... 1026672  gdb7/js_undodb_server.c:783:command_loop [17884:17884]: have read value=0xb7efcb50
> >     Ack
> >     Packet received: OK
> >     Packet P (set-register) is supported
> >     Sending packet: $P29=ffffffff#28... 1026740  gdb7/js_undodb_server.c:783:command_loop [17884:17884]: have read value=0xffffffff
> >     Ack
> >     Packet received: OK
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 58b6f0b7
> >     Sending packet: $mb7f0b65c,4#2c...Ack
> >     Packet received: 70b6f0b7
> >     Sending packet: $mb7f0b670,14#2c...Ack
> >     Packet received: 00000000f77cf0b70c960408a0b2f0b700000000
> >     Sending packet: $mb7f0b2a0,14#52...Ack
> >     Packet received: 00e0eeb71481040828aff0b758b9f0b770b6f0b7
> >     Sending packet: $m8048114,4#37...Ack
> >     Packet received: 2f6c6962
> >     Sending packet: $m8048118,4#3b...Ack
> >     Packet received: 2f6c642d
> >     Sending packet: $m804811c,4#66...Ack
> >     Packet received: 6c696e75
> >     Sending packet: $m8048120,4#34...Ack
> >     Packet received: 782e736f
> >     Sending packet: $m8048124,4#38...Ack
> >     Packet received: 2e320000
> >     Sending packet: $mb7f0b958,14#35...Ack
> >     Packet received: 00f0eeb7f77cf0b72cd3eeb700000000a0b2f0b7
> >     Sending packet: $mb7f07cf4,4#30...Ack
> >     Packet received: 20090a00
> >     Sending packet: $mb7f0b658,4#01...Ack
> >     Packet received: 01000000
> >     Sending packet: $z0,8048465,1#a6... 1027636  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >      1027636  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7efcb50,1#c1... 1027703  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >      1027703  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $s#73... 1027840  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_SINGLESTEP
> >      1027840  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >      1027840  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: 0000000058b6f0b7d4e0eeb7f4aff0b7a0d0b5bf60d2b5bf70b6f0b758b6f0b751cbefb746020000730000007b0000007b0000007b0000000000000000000000
> >     Sending packet: $Z0,8048465,1#86... 1027978  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >      1027979  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7efcb50,1#a1... 1028047  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >      1028047  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $c#63... 1028184  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_CONT
> >     Ack
> >      1028402  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >      1028402  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: 58b6f0b758b6f0b700000000f4aff0b700d0b5bf60d2b5bf000000000100000051cbefb746020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $P8=50cbefb7#53... 1028466  gdb7/js_undodb_server.c:783:command_loop [17884:17884]: have read value=0xb7efcb50
> >     Ack
> >     Packet received: OK
> >     Sending packet: $P29=ffffffff#28... 1028535  gdb7/js_undodb_server.c:783:command_loop [17884:17884]: have read value=0xffffffff
> >     Ack
> >     Packet received: OK
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 58b6f0b7
> >     Sending packet: $mb7f0b65c,4#2c...Ack
> >     Packet received: 70b6f0b7
> >     Sending packet: $mb7f0b670,14#2c...Ack
> >     Packet received: 00000000f77cf0b70c96040858b9f0b700000000
> >     Sending packet: $mb7f0b958,14#35...Ack
> >     Packet received: 00f0eeb7f77cf0b72cd3eeb7b8c8eeb770b6f0b7
> >     Sending packet: $mb7f07cf4,4#30...Ack
> >     Packet received: 20090a00
> >     Sending packet: $mb7eec8b8,14#96...Ack
> >     Packet received: 0000e1b738c8eeb7a012ecb740cceeb758b9f0b7
> >     Sending packet: $mb7eec838,4#36...Ack
> >     Packet received: 2f686f6d
> >     Sending packet: $mb7eec83c,4#61...Ack
> >     Packet received: 652f6a75
> >     Sending packet: $mb7eec840,4#2f...Ack
> >     Packet received: 6c65732f
> >     Sending packet: $mb7eec844,4#33...Ack
> >     Packet received: 756e646f
> >     Sending packet: $mb7eec848,4#37...Ack
> >     Packet received: 2d776f72
> >     Sending packet: $mb7eec84c,4#62...Ack
> >     Packet received: 6b2f6772
> >     Sending packet: $mb7eec850,4#30...Ack
> >     Packet received: 65676a75
> >     Sending packet: $mb7eec854,4#34...Ack
> >     Packet received: 6c65732f
> >     Sending packet: $mb7eec858,4#38...Ack
> >     Packet received: 6264622f
> >     Sending packet: $mb7eec85c,4#63...Ack
> >     Packet received: 5f796162
> >     Sending packet: $mb7eec860,4#31...Ack
> >     Packet received: 732f7072
> >     Sending packet: $mb7eec864,4#35...Ack
> >     Packet received: 656c6f61
> >     Sending packet: $mb7eec868,4#39...Ack
> >     Packet received: 64312c2d
> >     Sending packet: $mb7eec86c,4#64...Ack
> >     Packet received: 666e6f2d
> >     Sending packet: $mb7eec870,4#32...Ack
> >     Packet received: 73746163
> >     Sending packet: $mb7eec874,4#36...Ack
> >     Packet received: 6b2d7072
> >     Sending packet: $mb7eec878,4#3a...Ack
> >     Packet received: 6f746563
> >     Sending packet: $mb7eec87c,4#65...Ack
> >     Packet received: 746f722c
> >     Sending packet: $mb7eec880,4#33...Ack
> >     Packet received: 6370753d
> >     Sending packet: $mb7eec884,4#37...Ack
> >     Packet received: 69363836
> >     Sending packet: $mb7eec888,4#3b...Ack
> >     Packet received: 2c646562
> >     Sending packet: $mb7eec88c,4#66...Ack
> >     Packet received: 75672c67
> >     Sending packet: $mb7eec890,4#34...Ack
> >     Packet received: 63633d34
> >     Sending packet: $mb7eec894,4#38...Ack
> >     Packet received: 2e332e34
> >     Sending packet: $mb7eec898,4#3c...Ack
> >     Packet received: 2c6f733d
> >     Sending packet: $mb7eec89c,4#67...Ack
> >     Packet received: 4c696e75
> >     Sending packet: $mb7eec8a0,4#5c...Ack
> >     Packet received: 782c6f73
> >     Sending packet: $mb7eec8a4,4#60...Ack
> >     Packet received: 763d322e
> >     Sending packet: $mb7eec8a8,4#64...Ack
> >     Packet received: 362e3330
> >     Sending packet: $mb7eec8ac,4#8f...Ack
> >     Packet received: 2d312d36
> >     Sending packet: $mb7eec8b0,4#5d...Ack
> >     Packet received: 38362e73
> >     Sending packet: $mb7eec8b4,4#61...Ack
> >     Packet received: 6f000000
> >     Sending packet: $mb7eecc40,14#8b...Ack
> >     Packet received: 00a0c9b720cceeb77c4ddfb70090c9b7b8c8eeb7
> >     Sending packet: $mb7eecc20,4#58...Ack
> >     Packet received: 2f6c6962
> >     Sending packet: $mb7eecc24,4#5c...Ack
> >     Packet received: 2f693638
> >     Sending packet: $mb7eecc28,4#60...Ack
> >     Packet received: 362f636d
> >     Sending packet: $mb7eecc2c,4#8b...Ack
> >     Packet received: 6f762f6c
> >     Sending packet: $mb7eecc30,4#59...Ack
> >     Packet received: 6962632e
> >     Sending packet: $mb7eecc34,4#5d...Ack
> >     Packet received: 736f2e36
> >     Sending packet: $mb7eecc38,4#61...Ack
> >     Packet received: 00000000
> >     Sending packet: $mb7c99000,14#fc...Ack
> >     Packet received: 0050c9b7d0ceeeb7d07ec9b7b092c9b740cceeb7
> >     Sending packet: $mb7eeced0,4#8c...Ack
> >     Packet received: 2f6c6962
> >     Sending packet: $mb7eeced4,4#90...Ack
> >     Packet received: 2f693638
> >     Sending packet: $mb7eeced8,4#94...Ack
> >     Packet received: 362f636d
> >     Sending packet: $mb7eecedc,4#bf...Ack
> >     Packet received: 6f762f6c
> >     Sending packet: $mb7eecee0,4#8d...Ack
> >     Packet received: 6962646c
> >     Sending packet: $mb7eecee4,4#91...Ack
> >     Packet received: 2e736f2e
> >     Sending packet: $mb7eecee8,4#95...Ack
> >     Packet received: 32000000
> >     Sending packet: $mb7c992b0,14#30...Ack
> >     Packet received: 00f0c6b79092c9b7f03ec9b7a0b2f0b70090c9b7
> >     Sending packet: $mb7c99290,4#d6...Ack
> >     Packet received: 2f6c6962
> >     Sending packet: $mb7c99294,4#da...Ack
> >     Packet received: 2f693638
> >     Sending packet: $mb7c99298,4#de...Ack
> >     Packet received: 362f636d
> >     Sending packet: $mb7c9929c,4#09...Ack
> >     Packet received: 6f762f6c
> >     Sending packet: $mb7c992a0,4#fe...Ack
> >     Packet received: 69626d2e
> >     Sending packet: $mb7c992a4,4#02...Ack
> >     Packet received: 736f2e36
> >     Sending packet: $mb7c992a8,4#06...Ack
> >     Packet received: 00000000
> >     Sending packet: $mb7f0b2a0,14#52...Ack
> >     Packet received: 00e0eeb71481040828aff0b700000000b092c9b7
> >     Sending packet: $m8048114,4#37...Ack
> >     Packet received: 2f6c6962
> >     Sending packet: $m8048118,4#3b...Ack
> >     Packet received: 2f6c642d
> >     Sending packet: $m804811c,4#66...Ack
> >     Packet received: 6c696e75
> >     Sending packet: $m8048120,4#34...Ack
> >     Packet received: 782e736f
> >     Sending packet: $m8048124,4#38...Ack
> >     Packet received: 2e320000
> >     Sending packet: $mb7f0b658,4#01...Ack
> >     Packet received: 01000000
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $m8048454,e#6f...Ack
> >     Packet received: 8d4c240483e4f0ff71fc5589e551
> >     Sending packet: $m804845e,1#6c...Ack
> >     Packet received: 55
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m8048460,5#3c...Ack
> >     Packet received: e55183ec24
> >     Sending packet: $m804845f,1#6d...Ack
> >     Packet received: 89
> >     Sending packet: $m8048460,1#38...Ack
> >     Packet received: e5
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048461,1#39...Ack
> >     Packet received: 51
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048462,1#3a...Ack
> >     Packet received: 83
> >     Sending packet: $m8048454,1#3b...Ack
> >     Packet received: 8d
> >     Sending packet: $z0,8048465,1#a6... 1034661  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >      1034661  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7efcb50,1#c1... 1042316  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >     Ack
> >      1042316  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0xb7efcb50 length=1
> >     Packet received: OK
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $s#73... 1042452  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_SINGLESTEP
> >      1042452  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >      1042452  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: 58b6f0b758b6f0b700000000f4aff0b7fccfb5bf60d2b5bf000000000100000051cbefb746020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $Z0,8048465,1#86... 1042589  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >      1042589  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7efcb50,1#a1... 1042658  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >      1042658  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $c#63... 1042796  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_CONT
> >     Ack
> >      1042802  debug.c:231:debug_setstate [17890:17890]: have set state to 0x5fe5d9d0
> >      1042825  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >      1042825  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: 58b6f0b758b6f0b700000000f4aff0b77cc9b5bfe8c9b5bfeccab5bf0000000051cbefb746020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $P8=50cbefb7#53... 1042933  gdb7/js_undodb_server.c:783:command_loop [17884:17884]: have read value=0xb7efcb50
> >     Ack
> >     Packet received: OK
> >     Sending packet: $P29=ffffffff#28... 1043002  gdb7/js_undodb_server.c:783:command_loop [17884:17884]: have read value=0xffffffff
> >     Ack
> >     Packet received: OK
> >     Sending packet: $m8049658,4#45...Ack
> >     Packet received: 58b6f0b7
> >     Sending packet: $mb7f0b65c,4#2c...Ack
> >     Packet received: 70b6f0b7
> >     Sending packet: $mb7f0b670,14#2c...Ack
> >     Packet received: 00000000f77cf0b70c96040858b9f0b700000000
> >     Sending packet: $mb7f0b958,14#35...Ack
> >     Packet received: 00f0eeb7f77cf0b72cd3eeb7b8c8eeb770b6f0b7
> >     Sending packet: $mb7f07cf4,4#30...Ack
> >     Packet received: 20090a00
> >     Sending packet: $mb7eec8b8,14#96...Ack
> >     Packet received: 0000e1b738c8eeb7a012ecb740cceeb758b9f0b7
> >     Sending packet: $mb7eec838,4#36...Ack
> >     Packet received: 2f686f6d
> >     Sending packet: $mb7eec83c,4#61...Ack
> >     Packet received: 652f6a75
> >     Sending packet: $mb7eec840,4#2f...Ack
> >     Packet received: 6c65732f
> >     Sending packet: $mb7eec844,4#33...Ack
> >     Packet received: 756e646f
> >     Sending packet: $mb7eec848,4#37...Ack
> >     Packet received: 2d776f72
> >     Sending packet: $mb7eec84c,4#62...Ack
> >     Packet received: 6b2f6772
> >     Sending packet: $mb7eec850,4#30...Ack
> >     Packet received: 65676a75
> >     Sending packet: $mb7eec854,4#34...Ack
> >     Packet received: 6c65732f
> >     Sending packet: $mb7eec858,4#38...Ack
> >     Packet received: 6264622f
> >     Sending packet: $mb7eec85c,4#63...Ack
> >     Packet received: 5f796162
> >     Sending packet: $mb7eec860,4#31...Ack
> >     Packet received: 732f7072
> >     Sending packet: $mb7eec864,4#35...Ack
> >     Packet received: 656c6f61
> >     Sending packet: $mb7eec868,4#39...Ack
> >     Packet received: 64312c2d
> >     Sending packet: $mb7eec86c,4#64...Ack
> >     Packet received: 666e6f2d
> >     Sending packet: $mb7eec870,4#32...Ack
> >     Packet received: 73746163
> >     Sending packet: $mb7eec874,4#36...Ack
> >     Packet received: 6b2d7072
> >     Sending packet: $mb7eec878,4#3a...Ack
> >     Packet received: 6f746563
> >     Sending packet: $mb7eec87c,4#65...Ack
> >     Packet received: 746f722c
> >     Sending packet: $mb7eec880,4#33...Ack
> >     Packet received: 6370753d
> >     Sending packet: $mb7eec884,4#37...Ack
> >     Packet received: 69363836
> >     Sending packet: $mb7eec888,4#3b...Ack
> >     Packet received: 2c646562
> >     Sending packet: $mb7eec88c,4#66...Ack
> >     Packet received: 75672c67
> >     Sending packet: $mb7eec890,4#34...Ack
> >     Packet received: 63633d34
> >     Sending packet: $mb7eec894,4#38...Ack
> >     Packet received: 2e332e34
> >     Sending packet: $mb7eec898,4#3c...Ack
> >     Packet received: 2c6f733d
> >     Sending packet: $mb7eec89c,4#67...Ack
> >     Packet received: 4c696e75
> >     Sending packet: $mb7eec8a0,4#5c...Ack
> >     Packet received: 782c6f73
> >     Sending packet: $mb7eec8a4,4#60...Ack
> >     Packet received: 763d322e
> >     Sending packet: $mb7eec8a8,4#64...Ack
> >     Packet received: 362e3330
> >     Sending packet: $mb7eec8ac,4#8f...Ack
> >     Packet received: 2d312d36
> >     Sending packet: $mb7eec8b0,4#5d...Ack
> >     Packet received: 38362e73
> >     Sending packet: $mb7eec8b4,4#61...Ack
> >     Packet received: 6f000000
> >     Sending packet: $mb7eecc40,14#8b...Ack
> >     Packet received: 00a0c9b720cceeb77c4ddfb70090c9b7b8c8eeb7
> >     Sending packet: $mb7eecc20,4#58...Ack
> >     Packet received: 2f6c6962
> >     Sending packet: $mb7eecc24,4#5c...Ack
> >     Packet received: 2f693638
> >     Sending packet: $mb7eecc28,4#60...Ack
> >     Packet received: 362f636d
> >     Sending packet: $mb7eecc2c,4#8b...Ack
> >     Packet received: 6f762f6c
> >     Sending packet: $mb7eecc30,4#59...Ack
> >     Packet received: 6962632e
> >     Sending packet: $mb7eecc34,4#5d...Ack
> >     Packet received: 736f2e36
> >     Sending packet: $mb7eecc38,4#61...Ack
> >     Packet received: 00000000
> >     Sending packet: $mb7c99000,14#fc...Ack
> >     Packet received: 0050c9b7d0ceeeb7d07ec9b7b092c9b740cceeb7
> >     Sending packet: $mb7eeced0,4#8c...Ack
> >     Packet received: 2f6c6962
> >     Sending packet: $mb7eeced4,4#90...Ack
> >     Packet received: 2f693638
> >     Sending packet: $mb7eeced8,4#94...Ack
> >     Packet received: 362f636d
> >     Sending packet: $mb7eecedc,4#bf...Ack
> >     Packet received: 6f762f6c
> >     Sending packet: $mb7eecee0,4#8d...Ack
> >     Packet received: 6962646c
> >     Sending packet: $mb7eecee4,4#91...Ack
> >     Packet received: 2e736f2e
> >     Sending packet: $mb7eecee8,4#95...Ack
> >     Packet received: 32000000
> >     Sending packet: $mb7c992b0,14#30...Ack
> >     Packet received: 00f0c6b79092c9b7f03ec9b7a0b2f0b70090c9b7
> >     Sending packet: $mb7c99290,4#d6...Ack
> >     Packet received: 2f6c6962
> >     Sending packet: $mb7c99294,4#da...Ack
> >     Packet received: 2f693638
> >     Sending packet: $mb7c99298,4#de...Ack
> >     Packet received: 362f636d
> >     Sending packet: $mb7c9929c,4#09...Ack
> >     Packet received: 6f762f6c
> >     Sending packet: $mb7c992a0,4#fe...Ack
> >     Packet received: 69626d2e
> >     Sending packet: $mb7c992a4,4#02...Ack
> >     Packet received: 736f2e36
> >     Sending packet: $mb7c992a8,4#06...Ack
> >     Packet received: 00000000
> >     Sending packet: $mb7f0b2a0,14#52...Ack
> >     Packet received: 00e0eeb71481040828aff0b700000000b092c9b7
> >     Sending packet: $m8048114,4#37...Ack
> >     Packet received: 2f6c6962
> >     Sending packet: $m8048118,4#3b...Ack
> >     Packet received: 2f6c642d
> >     Sending packet: $m804811c,4#66...Ack
> >     Packet received: 6c696e75
> >     Sending packet: $m8048120,4#34...Ack
> >     Packet received: 782e736f
> >     Sending packet: $m8048124,4#38...Ack
> >     Packet received: 2e320000
> >     Sending packet: $mb7f0b658,4#01...Ack
> >     Packet received: 01000000
> >     Sending packet: $z0,8048465,1#a6...    9594  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >         9594  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7efcb50,1#c1...    9663  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >         9663  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $s#73...    9801  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_SINGLESTEP
> >         9801  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >         9801  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: 58b6f0b758b6f0b700000000f4aff0b778c9b5bfe8c9b5bfeccab5bf0000000051cbefb746020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $Z0,8048465,1#86...    9938  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >         9938  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7efcb50,1#a1...   10007  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        10007  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $c#63...   10144  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_CONT
> >     Ack
> >     undodb: license type: demo, user: test user
> >        10578  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >        10578  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: d4d2b5bf50d2b5bf01000000f44fdfb710d2b5bf38d2b5bf10850408a08304086684040882020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $P8=65840408#68...   10646  gdb7/js_undodb_server.c:783:command_loop [17884:17884]: have read value=0x8048465
> >     Ack
> >     Packet received: OK
> >     Sending packet: $P29=ffffffff#28...   10715  gdb7/js_undodb_server.c:783:command_loop [17884:17884]: have read value=0xffffffff
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,8048465,1#a6...   10784  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        10784  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7efcb50,1#c1...   10853  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        10853  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> > 
> >     Sending packet: $m8048465,1#3d...Ack
> >     Packet received: c7
> >     Breakpoint 1, main () at test/test16.c:13
> >     13          for ( i=0; i<10; ++i)
> >     (gdb) undodb-get-n
> >     current "simulated time" is 256
> >     (gdb) step
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $s#73...   26351  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_SINGLESTEP
> >        26352  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >        26352  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: d4d2b5bf50d2b5bf01000000f44fdfb710d2b5bf38d2b5bf10850408a08304086c84040882020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $Z0,8048465,1#86...   26488  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        26488  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7efcb50,1#a1...   26558  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        26558  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7cc51b0,1#6a...   26626  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        26626  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0xb7cc51b0 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Hc0#db...Ack
> >     Packet received: E05
> >     Sending packet: $s#73...   26763  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_SINGLESTEP
> >        26765  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >        26765  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: d4d2b5bf50d2b5bf01000000f44fdfb710d2b5bf38d2b5bf10850408a08304088f84040882020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $m804848f,1#70...Ack
> >     Packet received: 83
> >     Sending packet: $s#73...   26970  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_SINGLESTEP
> >     Ack
> >        26971  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >        26972  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: d4d2b5bf50d2b5bf01000000f44fdfb710d2b5bf38d2b5bf10850408a08304089384040893020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $s#73...   27108  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_SINGLESTEP
> >        27109  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >        27109  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Ack
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: d4d2b5bf50d2b5bf01000000f44fdfb710d2b5bf38d2b5bf10850408a08304086e84040893020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $m804846e,1#6d...Ack
> >     Packet received: 8b
> >     Sending packet: $z0,8048465,1#a6...   27314  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        27314  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7efcb50,1#c1...   27382  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        27382  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7cc51b0,1#8a...   27451  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >     Ack
> >        27451  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0xb7cc51b0 length=1
> >     Packet received: OK
> >     15              fprintf( stderr, "test16.c: i=%i\n", i);
> >     (gdb) info register eip
> >     eip            0x804846e        0x804846e <main+26>
> >     (gdb) undodb-set-bookmark
> >     Bookmark 0
> >     (gdb) backtrace
> >     #0  main () at test/test16.c:15
> >     (gdb) [ id=0 function='main' filename='test/test16.c' line=15]
> >     reverse-stepi
> >     Sending packet: $Z0,8048465,1#86...   28922  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        28922  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7efcb50,1#a1...   28984  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        28984  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $bs#d5...Ack
> >        29240  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: d4d2b5bf50d2b5bf01000000f44fdfb710d2b5bf38d2b5bf10850408a08304089384040893020000730000007b0000007b0000007b0000000000000033000000
> >     Sending packet: $m8048493,1#3e...Ack
> >     Packet received: 7e
> >     Sending packet: $z0,8048465,1#a6...   29377  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        29377  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7efcb50,1#c1...   29445  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        29445  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     0x08048493      13          for ( i=0; i<10; ++i)
> >     eip            0x8048493        0x8048493 <main+63>
> >     (gdb) continue
> >     Continuing.
> >     Sending packet: $Z0,8048465,1#86...   29956  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        29956  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7efcb50,1#a1...   30022  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        30023  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $c#63...   30091  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_CONT
> >     Ack
> >        30094  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig= 5 (SIGTRAP)
> >        30094  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S05
> >     Packet received: S05
> >     Sending packet: $g#67...Ack
> >     Packet received: d4d2b5bf50d2b5bf01000000f44fdfb710d2b5bf38d2b5bf10850408a08304086e84040893020000730000007b0000007b0000007b0000000000000033000000
> > 
> >     Program received signal SIGTRAP, Trace/breakpoint trap.
> >     Sending packet: $z0,8048465,1#a6...   30229  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        30230  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7efcb50,1#c1...   30298  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        30298  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $m804846e,1#6d...Ack
> >     Packet received: 8b
> >     main () at test/test16.c:15
> >     15              fprintf( stderr, "test16.c: i=%i\n", i);
> >     (gdb) bbcount=undodb-get-n
> >     current "simulated time" is 258
> >     (gdb)  258
> >     continue
> >     Continuing.
> >     Sending packet: $Z0,8048465,1#86...   31021  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        31021  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $Z0,b7efcb50,1#a1...   31088  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=Z
> >        31088  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: Z0: set software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $c#63...   31157  gdb7/js_undodb_server.c:441:command_loop [17884:17884]: doing PTRACE_CONT
> >     Ack
> >     test16.c: i=0
> >     test16.c: i=1
> >     test16.c: i=2
> >     test16.c: i=3
> >     test16.c: i=4
> >     test16.c: i=5
> >     test16.c: i=6
> >     test16.c: i=7
> >     test16.c: i=8
> >     test16.c: i=9
> >     causing deliberate segv
> >        31167  gdb7/js_undodb_server.c:450:command_loop [17884:17884]: undodb_waitpid() returned: pid=17890, WIFSTOPPED, sig=11 (SIGSEGV)
> >        31167  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: S0b
> >     Packet received: S0b
> >     Sending packet: $g#67...Ack
> >     Packet received: 0000000018000000f460dfb7f44fdfb710d2b5bf38d2b5bf10850408a0830408bf84040846020100730000007b0000007b0000007b0000000000000033000000
> > 
> >     Program received signal SIGSEGV, Segmentation fault.
> >     Sending packet: $z0,8048465,1#a6...   31296  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        31296  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0x8048465 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $z0,b7efcb50,1#c1...   31364  gdb7/js_undodb_server.c:817:command_loop [17884:17884]: command=z
> >        31364  gdb7/js_undodb_server.c:832:command_loop [17884:17884]: z0: clear software breakpoint address=0xb7efcb50 length=1
> >     Ack
> >     Packet received: OK
> >     Sending packet: $m80484bf,1#9a...Ack
> >     Packet received: c7
> >     0x080484bf in main () at test/test16.c:18
> >     18          *(int*)0=0;
> >     (gdb) bbcount=undodb-get-n
> >     current "simulated time" is 2811
> >     (gdb)  2811
> >     info register eip
> >     eip            0x80484bf        0x80484bf <main+107>
> >     (gdb) undodb-goto-n 256
> >     Sending packet: $g#67...Ack
> >     Packet received: d4d2b5bf2735c97001000000f44fdfb74cd2b5bfa8d2b5bf10850408a08304085484040846020000730000007b0000007b0000007b0000000000000033000000
> >     (gdb) info register eip
> >     eip            0x8048454        0x8048454 <main>
> >     (gdb) undodb-get-n
> >     current "simulated time" is 256
> >     (gdb) undodb-goto-bookmark 0
> >     Sending packet: $g#67...Ack
> >     Packet received: d4d2b5bf50d2b5bf01000000f44fdfb710d2b5bf38d2b5bf10850408a08304086e84040893020000730000007b0000007b0000007b0000000000000033000000
> >     (gdb) info register eip
> >     eip            0x804846e        0x804846e <main+26>
> >     (gdb) q
> >     A debugging session is active.
> > 
> >             Inferior 2 [Remote target] will be killed.
> > 
> >     Quit anyway? (y or n) y
> >     Sending packet: $vKill;a410#33...Ack
> >     Packet received: OK
> >     Sending packet: $?#3f...   33419  gdb7/gdbserial.c:329:gdbserial_send_waitpid_response2 [17884:17884]: sending: X09
> >     Ack
> >     Packet received: X09
> >        33490  net.c:46:net_readrepeat [17884:17884]: fd=5, n=1, sys_read() returned 0, t=1259018990, sys_time()=1259018990
> >     yabs 0:  remaking: ./tests_nr41,remote=1,gdb=/home/jules/gdb_cvs,,19-oct-2009
> > 
> > 
> > Many thanks,
> > 
> > - Julian
> > 
> > --
> > http://undo-software.com/
> > 
> 
> 


-- 
http://undo-software.com/


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