This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Always print call-clobbered registers in outer frames. (was: Re: [PATCH+DOC] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".)
- From: Doug Evans <dje at google dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Eli Zaretskii <eliz at gnu dot org>, Mark Kettenis <mark dot kettenis at xs4all dot nl>, aburgess at broadcom dot com
- Date: Thu, 19 Sep 2013 16:13:48 -0700
- Subject: Re: [PATCH] Always print call-clobbered registers in outer frames. (was: Re: [PATCH+DOC] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".)
- Authentication-results: sourceware.org; auth=none
- References: <5200F55E dot 2050308 at broadcom dot com> <201308061318 dot r76DIMdd016369 at glazunov dot sibelius dot xs4all dot nl> <5200FECF dot 7030304 at broadcom dot com> <201308061541 dot r76FfYQN022875 at glazunov dot sibelius dot xs4all dot nl> <520142D9 dot 4030304 at redhat dot com> <5208E3C8 dot 7060107 at broadcom dot com> <5208E938 dot 3080305 at redhat dot com> <201308122001 dot r7CK1862007934 at glazunov dot sibelius dot xs4all dot nl> <520E7255 dot 7080206 at redhat dot com> <5211F25A dot 5070907 at broadcom dot com> <5228B15F dot 7060108 at redhat dot com> <5228B2D8 dot 7060604 at broadcom dot com> <5237567C dot 8050406 at redhat dot com> <5239B2D8 dot 4030403 at broadcom dot com> <5239CCB3 dot 605 at redhat dot com> <83zjram6sw dot fsf at gnu dot org> <201309182047 dot r8IKlOGA010471 at glazunov dot sibelius dot xs4all dot nl> <83fvt1mems dot fsf at gnu dot org> <523B2D39 dot 8060303 at redhat dot com> <523B4D48 dot 3050206 at redhat dot com>
Pedro Alves writes:
> gdb/
> 2013-09-18 Pedro Alves <palves@redhat.com>
>
> * findvar.c (value_of_register): Rename to ...
> (value_of_register_helper): ... this.
> (value_of_register): Reimplement.
> * infcmd.c (default_print_one_register_info): Use
> value_of_register instead of get_frame_register_value.
> * mi/mi-main.c (output_register): Use value_of_register instead of
> get_frame_register_value.
>
> gdb/testsuite/
> 2013-09-18 Pedro Alves <palves@redhat.com>
>
> * gdb.dwarf2/dw2-reg-undefined.exp: Expect hex numbers instead of
> "<optimized out>" for all frames.
> * gdb.mi/mi-reg-undefined.exp (opt_out_pattern): Delete.
> (top level): Expect hex numbers instead of "<optimized out>" for
> all frames.
>
> gdb/doc/
> 2013-09-18 Pedro Alves <palves@redhat.com>
>
> * gdb.texinfo (Registers): Expand explanation of not-saved
> call-clobbered registers in frames other than the innermost.
"works for me"
- References:
- [PATCH] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>". (was: Re: [PATCH] Consistent display of "<optimized out>")
- Re: [PATCH] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".
- Re: [PATCH] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".
- Re: [PATCH] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".
- [PATCH+DOC] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".
- Re: [PATCH+DOC] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".
- Re: [PATCH+DOC] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".
- Re: [PATCH+DOC] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".
- Re: [PATCH+DOC] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".
- [PATCH] Always print call-clobbered registers in outer frames. (was: Re: [PATCH+DOC] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".)