This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: [Archer] Re: [Archer] Stop the Insanity! Linespec Rewrite
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
>> I'm afraid I don't understand. As far as I can tell, CVS HEAD and
>> archer-keiths-linespec-rewrite behave identically. The output is
>> exactly the same:
Joel> The thing is that the task ID you are using needs to be valid.
Joel> So, basically, you need to use an Ada program that uses tasking,
Joel> and the task ID needs to be known at the time the breakpoint is
Joel> inserted.
Joel> The above works. But if you start using a different casing on
Joel> the "task" keyword, as below, the current GDB rejects it:
Joel> (gdb) b task_switch.adb:70 TASK 1
Joel> Junk at end of arguments.
I tried this with CVS HEAD gdb and it still fails:
(gdb) b task_switch.adb:70 TASK 1
Junk at end of arguments.
Do you have a local patch for this?
Tom