Re: [PATCH+DOC] Print registers not saved in the frame as "", instead of "".

Andreas Schwab
2013-09-18T16:30:45Z

Pedro Alves <palves@redhat.com> writes:

> diff --git a/gdb/NEWS b/gdb/NEWS
> index af06a21..b06f90c 100644
> --- a/gdb/NEWS
> +++ b/gdb/NEWS
> @@ -15,6 +15,15 @@
>
> * The "catch syscall" command now works on arm*-linux* targets.
>
> +* GDB now shows "<not saved>" when printing values of registers that
> + have not been saved in the frame:
> +
> + (gdb) p $rax $1 = <not saved>
^s/ /\n/
> + (gdb) info registers rax rax <not saved>
^s/ /\n/

Andreas.

--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."