From: Roland Puntaier <Roland.Puntaier@br-automation.com>
To: gdb@sourceware.org
Subject: GDB 6.6, remote, more threads
Date: Mon, 24 Sep 2007 16:51:00 -0000 [thread overview]
Message-ID: <OF83DF5973.CD824D25-ONC1257360.0059ADF3-C1257360.005BE817@br-automation.com> (raw)
Hello,
The following behavior looks strange to me. Could this be a bug in GDB? Or
maybe I simply miss something.
I have a program with two threads I set up to test my gdbServer. Each
thread function has 3 lines of code and every line has a breakpoint.
I do successive 'c's at the Gdb prompt.
Here Gdb gets 'T0505...08:5b698303;..' corresponding to one breakpoint
($Z0,383695b,1#b7).
So GdbServer tells Gdb that a breakpoint was hit, but Gdb ignores it and
does a 'vCont;c' again.
This way the user misses a breakpoint.
Any idea?
Thanks and Regards, Roland
Breakpoint 4, p2 () at
C:/Projects/testGdbServer/Logical/NewProgram1/p2.c:32
32 jc = lintegral (2,8, mycube);
(gdb) c
Continuing.
Sending packet: $vCont;s:5#27...Ack
Packet received: T0505:ac1b8903;04:a01b8903;08:d2668303;thread:5;
Sending packet: $Z0,383691b,1#b3...Ack
Packet received: OK
Sending packet: $Z0,383693b,1#b5...Ack
Packet received: OK
Sending packet: $Z0,383695b,1#b7...Ack
Packet received: OK
Sending packet: $Z0,38366cf,1#e6...Ack
Packet received: OK
Sending packet: $Z0,38366ef,1#e8...Ack
Packet received: OK
Sending packet: $Z0,383670f,1#b4...Ack
Packet received: OK
Sending packet: $vCont;c#a8...Ack
Packet received: T0505:9c408903;04:94408903;08:5b698303;thread:4f;
Sending packet: $g#67...Ack
Packet received:
447b8f034aa382036e000000247b8f03944089039c40890390fd8903284389035b6983030202000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000
Sending packet: $vCont;c#a8...Ack
Packet received: T0505:ac1b8903;04:a41b8903;08:ef668303;thread:5;
Sending packet: $g#67...Ack
Packet received:
e8e8ef030aba82035d020000c8e8ef03a41b8903ac1b890388fd8903381e8903ef6683030202000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000
Sending packet: $z0,383691b,1#d3...Ack
Packet received: OK
Sending packet: $z0,383693b,1#d5...Ack
Packet received: OK
Sending packet: $z0,383695b,1#d7...Ack
Packet received: OK
Sending packet: $z0,38366cf,1#06...Ack
Packet received: OK
Sending packet: $z0,38366ef,1#08...Ack
Packet received: OK
Sending packet: $z0,383670f,1#d4...Ack
Packet received: OK
Breakpoint 5, p2 () at
C:/Projects/testGdbServer/Logical/NewProgram1/p2.c:33
33 kc = lintegral (4,6, mycube);
(gdb)
next reply other threads:[~2007-09-24 16:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 16:51 Roland Puntaier [this message]
2007-09-24 17:04 ` Daniel Jacobowitz
2007-09-24 17:11 ` Roland Puntaier
2007-09-24 17:20 ` Daniel Jacobowitz
2007-09-24 20:29 ` Roland Puntaier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=OF83DF5973.CD824D25-ONC1257360.0059ADF3-C1257360.005BE817@br-automation.com \
--to=roland.puntaier@br-automation.com \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox