* [RFA/NEWS] Mention new feature "Ada tasking support"
@ 2008-10-22 19:57 Joel Brobecker
2008-10-22 20:16 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2008-10-22 19:57 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 300 bytes --]
Hello,
I have just checked in support for Ada tasking, together with the
documentation patch that Eli reviewed. Here is the associated NEWS
entry.
2008-10-22 Joel Brobecker <brobecker@adacore.com>
* NEWS: Add entry for new feature (Ada tasking support).
OK to commit?
Thanks,
--
Joel
[-- Attachment #2: NEWS-ada-tasks.diff --]
[-- Type: text/plain, Size: 888 bytes --]
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.291
diff -u -p -r1.291 NEWS
--- NEWS 20 Oct 2008 16:18:59 -0000 1.291
+++ NEWS 22 Oct 2008 19:55:13 -0000
@@ -90,6 +90,20 @@ are treated as the standard definitions,
GDB now has support for scripting using Python. Whether this is
available is determined at configure time.
+* Ada tasking support
+
+ Ada tasks can now be inspected in GDB. The following commands have
+ been introduced:
+
+ info tasks
+ Print the list of Ada tasks.
+ info task TASK_NO
+ Print detailed information about task TASK_NO.
+ task
+ Print the ID of the current task.
+ task TASK_NO
+ Switch the context of debugging to task TASK_NO.
+
* New commands
find [/size-char] [/max-count] start-address, end-address|+search-space-size,
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [RFA/NEWS] Mention new feature "Ada tasking support"
2008-10-22 19:57 [RFA/NEWS] Mention new feature "Ada tasking support" Joel Brobecker
@ 2008-10-22 20:16 ` Eli Zaretskii
2008-10-22 20:18 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2008-10-22 20:16 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
> Date: Wed, 22 Oct 2008 12:57:02 -0700
> From: Joel Brobecker <brobecker@adacore.com>
>
> 2008-10-22 Joel Brobecker <brobecker@adacore.com>
>
> * NEWS: Add entry for new feature (Ada tasking support).
>
> OK to commit?
Yes, but...
> + info task TASK_NO
> + Print detailed information about task TASK_NO.
> + task
> + Print the ID of the current task.
> + task TASK_NO
> + Switch the context of debugging to task TASK_NO.
Is "task ID" the same as "TASK_NO"? If so, let's use a consistent
terminology: pick one of them and stick to it.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [RFA/NEWS] Mention new feature "Ada tasking support"
2008-10-22 20:16 ` Eli Zaretskii
@ 2008-10-22 20:18 ` Joel Brobecker
2008-10-22 21:11 ` Eli Zaretskii
0 siblings, 1 reply; 5+ messages in thread
From: Joel Brobecker @ 2008-10-22 20:18 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: gdb-patches
> > + info task TASK_NO
> > + Print detailed information about task TASK_NO.
> > + task
> > + Print the ID of the current task.
> > + task TASK_NO
> > + Switch the context of debugging to task TASK_NO.
>
> Is "task ID" the same as "TASK_NO"? If so, let's use a consistent
> terminology: pick one of them and stick to it.
Yes, it's the same. How about:
task
Print the task number of the current task.
?
--
Joel
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [RFA/NEWS] Mention new feature "Ada tasking support"
2008-10-22 20:18 ` Joel Brobecker
@ 2008-10-22 21:11 ` Eli Zaretskii
2008-10-22 22:15 ` Joel Brobecker
0 siblings, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2008-10-22 21:11 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
> Date: Wed, 22 Oct 2008 13:18:02 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org
>
> > > + info task TASK_NO
> > > + Print detailed information about task TASK_NO.
> > > + task
> > > + Print the ID of the current task.
> > > + task TASK_NO
> > > + Switch the context of debugging to task TASK_NO.
> >
> > Is "task ID" the same as "TASK_NO"? If so, let's use a consistent
> > terminology: pick one of them and stick to it.
>
> Yes, it's the same. How about:
>
> task
> Print the task number of the current task.
>
> ?
Fine, but then may I suggest
info task N
Print detailed information about task number N.
(and similar change in "task TASK_NO")?
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [RFA/NEWS] Mention new feature "Ada tasking support"
2008-10-22 21:11 ` Eli Zaretskii
@ 2008-10-22 22:15 ` Joel Brobecker
0 siblings, 0 replies; 5+ messages in thread
From: Joel Brobecker @ 2008-10-22 22:15 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
> Fine, but then may I suggest
>
> info task N
> Print detailed information about task number N.
>
> (and similar change in "task TASK_NO")?
I like it! Checked in as attached.
Thanks, Eli.
--
Joel
[-- Attachment #2: NEWS-ada-tasks.diff --]
[-- Type: text/plain, Size: 887 bytes --]
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.291
diff -u -p -r1.291 NEWS
--- NEWS 20 Oct 2008 16:18:59 -0000 1.291
+++ NEWS 22 Oct 2008 22:13:09 -0000
@@ -90,6 +90,20 @@ are treated as the standard definitions,
GDB now has support for scripting using Python. Whether this is
available is determined at configure time.
+* Ada tasking support
+
+ Ada tasks can now be inspected in GDB. The following commands have
+ been introduced:
+
+ info tasks
+ Print the list of Ada tasks.
+ info task N
+ Print detailed information about task number N.
+ task
+ Print the task number of the current task.
+ task N
+ Switch the context of debugging to task number N.
+
* New commands
find [/size-char] [/max-count] start-address, end-address|+search-space-size,
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-10-22 22:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-22 19:57 [RFA/NEWS] Mention new feature "Ada tasking support" Joel Brobecker
2008-10-22 20:16 ` Eli Zaretskii
2008-10-22 20:18 ` Joel Brobecker
2008-10-22 21:11 ` Eli Zaretskii
2008-10-22 22:15 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox