From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15731 invoked by alias); 7 Mar 2012 15:39:40 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 15631 invoked by uid 22791); 7 Mar 2012 15:39:38 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Date: Wed, 07 Mar 2012 15:39:00 -0000 From: Joel Brobecker To: Tom Tromey Cc: Keith Seitz , archer@sourceware.org Subject: Re: [Archer] Re: [Archer] Re: [Archer] Stop the Insanity! Linespec Rewrite Message-ID: <20120307153909.GY2867@adacore.com> References: <4F514E30.7070400@redhat.com> <20120306173945.GP2867@adacore.com> <4F564C6F.60001@redhat.com> <4F56671E.4000905@redhat.com> <20120306215019.GQ2867@adacore.com> <20120307001119.GU2867@adacore.com> <4F56B4D5.4070700@redhat.com> <20120307012603.GX2867@adacore.com> <871up4scgs.fsf@fleche.redhat.com> <87fwdkqwut.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fwdkqwut.fsf@fleche.redhat.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-SW-Source: 2012-q1/txt/msg00029.txt.bz2 > Pedro pointed out that your original note actually said that you thought > "TASK" was accepted by Keith's branch, not CVS HEAD. > But, this isn't the case, the code uses strncmp. > So, I think there is no change in behavior here and everything is ok. Aha, indeed, it's not what I thought. I think that the "TASK" keyword and what is behind it appears to be ignored when the "*" syntax is used. The following works as expected: (gdb) break *break_me'address task 2 Breakpoint 2 at 0x403a52: file /[...]/task_switch.adb, line 55. (gdb) info break [...] 2 breakpoint keep y 0x0000000000403a52 in task_switch.break_me at /[...]/task_switch.adb:55 task 2 ^^^^^^ The following accepts the command: (gdb) break *break_me'address TASK 2 Note: breakpoint 2 also set at pc 0x403a52. Breakpoint 3 at 0x403a52: file /[...]/task_switch.adb, line 55. But inserts a breakpoint without the task constraint: (gdb) info break [...] 3 breakpoint keep y 0x0000000000403a52 in task_switch.break_me at /[...]/task_switch.adb:55 It might be something to do with the Ada expression parser? -- Joel