2009-10-23 Hui Zhu <teawater@gmail.com>
* record.c (record_restore): Use phex_nz.
This commit is contained in:
parent
7e2183ccaf
commit
1de1372dc9
|
@ -1,3 +1,7 @@
|
||||||
|
2009-10-23 Hui Zhu <teawater@gmail.com>
|
||||||
|
|
||||||
|
* record.c (record_restore): Use phex_nz.
|
||||||
|
|
||||||
2009-10-23 Tristan Gingold <gingold@adacore.com>
|
2009-10-23 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* frame.c (frame_unwind_pc): Fix typo: remove duplicate 0x.
|
* frame.c (frame_unwind_pc): Fix typo: remove duplicate 0x.
|
||||||
|
|
|
@ -2017,8 +2017,8 @@ record_restore (void)
|
||||||
bfd_get_filename (core_bfd));
|
bfd_get_filename (core_bfd));
|
||||||
if (record_debug)
|
if (record_debug)
|
||||||
printf_filtered ("\
|
printf_filtered ("\
|
||||||
Reading 4-byte magic cookie RECORD_FILE_MAGIC (0x%08x)\n",
|
Reading 4-byte magic cookie RECORD_FILE_MAGIC (0x%s)\n",
|
||||||
netorder32 (magic));
|
phex_nz (netorder32 (magic), 4));
|
||||||
|
|
||||||
/* Restore the entries in recfd into record_arch_list_head and
|
/* Restore the entries in recfd into record_arch_list_head and
|
||||||
record_arch_list_tail. */
|
record_arch_list_tail. */
|
||||||
|
@ -2284,8 +2284,8 @@ cmd_record_save (char *args, int from_tty)
|
||||||
magic = RECORD_FILE_MAGIC;
|
magic = RECORD_FILE_MAGIC;
|
||||||
if (record_debug)
|
if (record_debug)
|
||||||
printf_filtered ("\
|
printf_filtered ("\
|
||||||
Writing 4-byte magic cookie RECORD_FILE_MAGIC (0x%08x)\n",
|
Writing 4-byte magic cookie RECORD_FILE_MAGIC (0x%s)\n",
|
||||||
magic);
|
phex_nz (magic, 4));
|
||||||
bfdcore_write (obfd, osec, &magic, sizeof (magic), &bfd_offset);
|
bfdcore_write (obfd, osec, &magic, sizeof (magic), &bfd_offset);
|
||||||
|
|
||||||
/* Save the entries to recfd and forward execute to the end of
|
/* Save the entries to recfd and forward execute to the end of
|
||||||
|
|
Loading…
Reference in New Issue