]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/NEWS
Print registers not saved in the frame as "<not saved>" instead of "<optimized out>".
[thirdparty/binutils-gdb.git] / gdb / NEWS
index b44eb256bcc0f49f197f0d51bd12d53d33252525..5a9f8db69a61a20258586eed5beec92487bdf50d 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
 
 * The "catch syscall" command now works on arm*-linux* targets.
 
+* GDB now consistently shows "<not saved>" when printing values of
+  registers the debug info indicates have not been saved in the frame
+  and there's nowhere to retrieve them from
+  (callee-saved/call-clobbered registers):
+
+    (gdb) p $rax
+    $1 = <not saved>
+
+    (gdb) info registers rax
+    rax            <not saved>
+
+  Before, the former would print "<optimized out>", and the latter
+  "*value not available*".
+
 * Python scripting
 
   ** Frame filters and frame decorators have been added.