This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Fix PR19388: Can't access $_siginfo in breakpoint (catch signal) condition
- From: Pedro Alves <palves at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 13 Jan 2016 10:49:45 +0000
- Subject: Re: [PATCH] Fix PR19388: Can't access $_siginfo in breakpoint (catch signal) condition
- Authentication-results: sourceware.org; auth=none
- References: <1450717854-28543-1-git-send-email-palves at redhat dot com> <568BBF71 dot 5030806 at redhat dot com>
On 01/05/2016 01:04 PM, Pedro Alves wrote:
> gdb/ChangeLog:
> 2016-01-05 Pedro Alves <palves@redhat.com>
>
> PR breakpoints/19388
> * frame.c (get_current_frame): Use validate_registers_access.
> * gdbthread.h (validate_registers_access): Declare.
> * infrun.c (validate_siginfo_access): Delete.
> (siginfo_value_read, siginfo_value_write): Use
> validate_registers_access.
> * thread.c (validate_registers_access): New function.
>
>
> gdb/testsuite/ChangeLog:
> 2016-01-05 Pedro Alves <palves@redhat.com>
>
> PR breakpoints/19388
> * gdb.base/catch-signal-siginfo-cond.c: New file.
> * gdb.base/catch-signal-siginfo-cond.exp: New file.
Pushed.
Thanks,
Pedro Alves