gdb: show task number in describe_other_breakpoints
authorAndrew Burgess <aburgess@redhat.com>
Wed, 8 Feb 2023 13:23:14 +0000 (13:23 +0000)
committerAndrew Burgess <aburgess@redhat.com>
Sat, 11 Feb 2023 17:36:24 +0000 (17:36 +0000)
commitf1f517e81039f6aa673b7d87a66bfbd25a66e3d3
tree51d4a45f50f7beb9d9e487daac4db2c355bbb80b
parentce068c5f45aeebc9729499253e0a8f1f29be65c2
gdb: show task number in describe_other_breakpoints

I noticed that describe_other_breakpoints doesn't show the task
number, but does show the thread-id.  I can't see any reason why we'd
want to not show the task number in this situation, so this commit
adds this missing information, and extends gdb.ada/tasks.exp to check
this case.

Approved-By: Pedro Alves <pedro@palves.net>
gdb/breakpoint.c
gdb/testsuite/gdb.ada/tasks.exp