https://sourceware.org/ml/gdb-patches/2013-08/msg00834.html
gdb/ChangeLog
* sh64-tdep.c (sh64_do_register): Return after printing message
about unavailable register contents.
+2013-09-04 Andrew Burgess <aburgess@broadcom.com>
+
+ * sh64-tdep.c (sh64_do_register): Return after printing message
+ about unavailable register contents.
+
2013-09-04 Muhammad Bilal <mbilal@codesourcery.com>
Pedro Alves <palves@redhat.com>
2013-09-04 Muhammad Bilal <mbilal@codesourcery.com>
Pedro Alves <palves@redhat.com>
/* Get the data in raw format. */
if (!deprecated_frame_register_read (frame, regnum, raw_buffer))
/* Get the data in raw format. */
if (!deprecated_frame_register_read (frame, regnum, raw_buffer))
- fprintf_filtered (file, "*value not available*\n");
+ {
+ fprintf_filtered (file, "*value not available*\n");
+ return;
+ }
get_formatted_print_options (&opts, 'x');
opts.deref_ref = 1;
get_formatted_print_options (&opts, 'x');
opts.deref_ref = 1;