This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] New OPTIMIZED_OUT_ERROR error code.


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]