diff options
author | Hui Zhu <teawater@gmail.com> | 2009-10-23 14:35:29 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2009-10-23 14:35:29 +0000 |
commit | 357bd3464933fde4764dd2fbb74cee5d971b7484 (patch) | |
tree | f58b7146335f3d1674aae556a6980a9fae62c5e6 /gdb/record.c | |
parent | 26deee93a4be5c962daf488fe654c2aea3a2f22f (diff) | |
download | gdb-357bd3464933fde4764dd2fbb74cee5d971b7484.tar.gz |
2009-10-23 Hui Zhu <teawater@gmail.com>
* record.c (record_restore): Use phex_nz.
Diffstat (limited to 'gdb/record.c')
-rw-r--r-- | gdb/record.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/record.c b/gdb/record.c index 1cb2dab7f1b..1f62221c057 100644 --- a/gdb/record.c +++ b/gdb/record.c @@ -2017,8 +2017,8 @@ record_restore (void) bfd_get_filename (core_bfd)); if (record_debug) printf_filtered ("\ - Reading 4-byte magic cookie RECORD_FILE_MAGIC (0x%08x)\n", - netorder32 (magic)); + Reading 4-byte magic cookie RECORD_FILE_MAGIC (0x%s)\n", + phex_nz (netorder32 (magic), 4)); /* Restore the entries in recfd into record_arch_list_head and record_arch_list_tail. */ @@ -2284,8 +2284,8 @@ cmd_record_save (char *args, int from_tty) magic = RECORD_FILE_MAGIC; if (record_debug) printf_filtered ("\ - Writing 4-byte magic cookie RECORD_FILE_MAGIC (0x%08x)\n", - magic); + Writing 4-byte magic cookie RECORD_FILE_MAGIC (0x%s)\n", + phex_nz (magic, 4)); bfdcore_write (obfd, osec, &magic, sizeof (magic), &bfd_offset); /* Save the entries to recfd and forward execute to the end of |