mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:39:24 +08:00
2011-03-02 Michael Snyder <msnyder@vmware.com>
* record.c (record_restore): Move printf to before error return.
This commit is contained in:
@ -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>
|
2011-03-02 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* arm-tdep.h (struct displaced_step_closure): Add two new fields
|
* 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. */
|
/* Now need to find our special note section. */
|
||||||
osec = bfd_get_section_by_name (core_bfd, "null0");
|
osec = bfd_get_section_by_name (core_bfd, "null0");
|
||||||
if (osec == NULL)
|
|
||||||
return;
|
|
||||||
osec_size = bfd_section_size (core_bfd, osec);
|
|
||||||
if (record_debug)
|
if (record_debug)
|
||||||
fprintf_unfiltered (gdb_stdlog, "Find precord section %s.\n",
|
fprintf_unfiltered (gdb_stdlog, "Find precord section %s.\n",
|
||||||
osec ? "succeeded" : "failed");
|
osec ? "succeeded" : "failed");
|
||||||
|
if (osec == NULL)
|
||||||
|
return;
|
||||||
|
osec_size = bfd_section_size (core_bfd, osec);
|
||||||
if (record_debug)
|
if (record_debug)
|
||||||
fprintf_unfiltered (gdb_stdlog, "%s", bfd_section_name (core_bfd, osec));
|
fprintf_unfiltered (gdb_stdlog, "%s", bfd_section_name (core_bfd, osec));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user