From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20652 invoked by alias); 24 Sep 2007 16:43:53 -0000 Received: (qmail 20642 invoked by uid 22791); 24 Sep 2007 16:43:52 -0000 X-Spam-Check-By: sourceware.org Received: from mail2.br-automation.com (HELO mail2.br-automation.com) (213.33.116.61) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 24 Sep 2007 16:43:49 +0000 X-AuditID: c0a80110-a99babb0000008d1-07-46f7e942c21d Received: from brsmtp01.br-automation.com (unknown [192.168.1.60]) by mail2.br-automation.com (Symantec Mail Security) with ESMTP id A28434DC002 for ; Mon, 24 Sep 2007 18:43:46 +0200 (CEST) To: gdb@sourceware.org Subject: GDB 6.6, remote, more threads MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: Roland Puntaier Date: Mon, 24 Sep 2007 16:51:00 -0000 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-09/txt/msg00188.txt.bz2 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)