This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH+doc] Fix PR threads/19422 - show which thread caused stop
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 14 Jan 2016 18:36:14 +0200
- Subject: Re: [PATCH+doc] Fix PR threads/19422 - show which thread caused stop
- Authentication-results: sourceware.org; auth=none
- References: <1451950202-18024-1-git-send-email-palves at redhat dot com> <5697ABE8 dot 7060705 at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 14 Jan 2016 14:08:40 +0000
> From: Pedro Alves <palves@redhat.com>
>
> On 01/04/2016 11:30 PM, Pedro Alves wrote:
> >
> > I'll work on documentation next if this looks agreeable.
> >
>
> I've added a short blurb to NEWS and manual now. Eli, how does that look?
Looks good, thanks.
> From: Pedro Alves <palves@redhat.com>
> Subject: [PATCH] Fix PR threads/19422 - show which thread caused stop
>
> This commit changes GDB like this:
>
> - Program received signal SIGINT, Interrupt.
> + Thread 1 "main" received signal SIGINT, Interrupt.
>
> - Breakpoint 1 at 0x40087a: file threads.c, line 87.
> + Thread 3 "bar" hit Breakpoint 1 at 0x40087a: file threads.c, line 87.
Would it make sense to lose the "hit" part, and have this say
Thread 3 "bar": breakpoint 1 at 0x40087a: file threads.c, line 87.
(Note that I also avoided capitalizing "breakpoint".)
WDYT?