[PATCH 1/2] Add "task" keyword to the "watch" command

Eli Zaretskii eliz@gnu.org
Thu Nov 4 18:48:49 GMT 2021


> Date: Thu,  4 Nov 2021 11:37:50 -0600
> From: Tom Tromey via Gdb-patches <gdb-patches@sourceware.org>
> Cc: Tom Tromey <tromey@adacore.com>
> 
> Breakpoints in gdb can be made specific to an Ada task using the
> "task" qualifier.  This patch applies this same idea to watchpoints.
> ---
>  gdb/NEWS                                 |  3 +
>  gdb/breakpoint.c                         | 12 ++++
>  gdb/doc/gdb.texinfo                      |  5 +-
>  gdb/testsuite/gdb.ada/task_watch.exp     | 83 ++++++++++++++++++++++++
>  gdb/testsuite/gdb.ada/task_watch/foo.adb | 73 +++++++++++++++++++++
>  5 files changed, 175 insertions(+), 1 deletion(-)
>  create mode 100644 gdb/testsuite/gdb.ada/task_watch.exp
>  create mode 100644 gdb/testsuite/gdb.ada/task_watch/foo.adb

Thanks, the documentation parts are okay.


More information about the Gdb-patches mailing list