This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] New OPTIMIZED_OUT_ERROR error code.
- From: "Andrew Burgess" <aburgess at broadcom dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 2 Dec 2013 13:51:17 +0000
- Subject: Re: [PATCH 1/2] New OPTIMIZED_OUT_ERROR error code.
- Authentication-results: sourceware.org; auth=none
- References: <1385756149-534-1-git-send-email-palves at redhat dot com> <1385756149-534-2-git-send-email-palves at redhat dot com>
On 29/11/2013 8:15 PM, Pedro Alves wrote:
> In order to catch <optimized out> errors like we catch <unavailable>
> errors, this adds a new OPTIMIZED_OUT_ERROR error code, and throws it
> in various places.
>
> gdb/ChangeLog
> 2013-11-29 Andrew Burgess <aburgess@broadcom.com>
> Pedro Alves <palves@redhat.com>
>
> * exceptions.h (errors): Add OPTIMIZED_OUT_ERROR.
> * dwarf2loc.c (write_pieced_value): Throw OPTIMIZED_OUT_ERROR.
> * frame.c (frame_unwind_register): Throw OPTIMIZED_OUT_ERROR.
> * spu-tdep.c (spu_software_single_step): Throw
> OPTIMIZED_OUT_ERROR.
> * valops.c (value_assign): Throw OPTIMIZED_OUT_ERROR.
For what it's worth; looks good to me :)
Thanks,
Andrew