+2011-03-02 Michael Snyder <msnyder@vmware.com>
+
+ * record.c (record_restore): Move printf to before error return.
+
2011-03-02 Yao Qi <yao@codesourcery.com>
* arm-tdep.h (struct displaced_step_closure): Add two new fields
/* Now need to find our special note section. */
osec = bfd_get_section_by_name (core_bfd, "null0");
- if (osec == NULL)
- return;
- osec_size = bfd_section_size (core_bfd, osec);
if (record_debug)
fprintf_unfiltered (gdb_stdlog, "Find precord section %s.\n",
osec ? "succeeded" : "failed");
+ if (osec == NULL)
+ return;
+ osec_size = bfd_section_size (core_bfd, osec);
if (record_debug)
fprintf_unfiltered (gdb_stdlog, "%s", bfd_section_name (core_bfd, osec));