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]

[COMMITTED PATCH 0/2] "set debug frame 1" and not saved registers (was: Re: [PATCH 08/12] Replace some value_optimized_out with value_entirely_available)


On 08/12/2013 01:29 PM, Andrew Burgess wrote:
> @@ -1035,8 +1036,11 @@ frame_unwind_register_value (struct frame_info
> *frame, int regnum)
>    if (frame_debug)
>      {
>        fprintf_unfiltered (gdb_stdlog, "->");
> -      if (value_optimized_out (value))
> -	fprintf_unfiltered (gdb_stdlog, " optimized out");
> +      if (!value_entirely_available (value))
> +	{
> +	  fprintf_unfiltered (gdb_stdlog, " ");
> +	  val_print_unavailability_reason (value, gdb_stdlog);
> +	}
>        else

I'm splitting this output change into its separate patch,
and then applying a follow up.

Tested on x86_64 Fedora 17.

Thanks.

Andrew Burgess (1):
  Make "set debug frame 1" use the standard print routine for optimized
    out values.

Pedro Alves (1):
  Make "set debug frame 1" output print <not saved> instead of
    <optimized out>.

 gdb/frame-unwind.c | 8 +++++---
 gdb/frame.c        | 6 +++++-
 gdb/value.c        | 5 ++++-
 3 files changed, 14 insertions(+), 5 deletions(-)

-- 
1.7.11.7


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