[PATCH+DOC] Print registers not saved in the frame as "<not saved>", instead of "<optimized out>".

Pedro Alves palves@redhat.com
Wed Sep 18 17:36:00 GMT 2013


On 09/18/2013 05:30 PM, Andreas Schwab wrote:
> Pedro Alves <palves@redhat.com> writes:

>> +* 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/
> 

Thanks.  Fixed in the new version.

-- 
Pedro Alves



More information about the Gdb-patches mailing list