2011-03-02 Michael Snyder <msnyder@vmware.com>
* record.c (record_restore): Move printf to before error return.
This commit is contained in:
parent
14aa5a8bf3
commit
d42de051e7
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
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
|
||||
|
|
|
@ -2214,12 +2214,12 @@ record_restore (void)
|
|||
|
||||
/* 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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue