Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* GDB 6.6, remote, more threads
@ 2007-09-24 16:51 Roland Puntaier
  2007-09-24 17:04 ` Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Roland Puntaier @ 2007-09-24 16:51 UTC (permalink / raw)
  To: gdb

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)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-09-24 17:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-24 16:51 GDB 6.6, remote, more threads Roland Puntaier
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox