This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Don't handle unavailable/optimized-out in spu_software_single_step
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: qiyaoltc at gmail dot com (Yao Qi)
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 11 Nov 2016 15:41:05 +0100 (CET)
- Subject: Re: [PATCH] Don't handle unavailable/optimized-out in spu_software_single_step
- Authentication-results: sourceware.org; auth=none
Yao Qi wrote:
> When we do software single step, frame is always the innermost one,
> so it is impossible to get unavailable/optimized-out errors.
>
> gdb:
>
> 2016-11-11 Yao Qi <yao.qi@linaro.org>
>
> * spu-tdep.c (spu_software_single_step): Don't call
> get_frame_register_bytes, call get_frame_register_unsigned
> instead.
Looks good to me.
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU/Linux compilers and toolchain
Ulrich.Weigand@de.ibm.com