diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 12:57:16 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-05 12:57:16 +0000 |
commit | 0b1553bcdd4db0c7ddb09f01cd281917447d5769 (patch) | |
tree | 9faff3860f79981f381f651020ba1630984fac6f /gdb/target.c | |
parent | 2454a0247b12f34d5eb87f52172722115b0f0915 (diff) | |
download | gdb-0b1553bcdd4db0c7ddb09f01cd281917447d5769.zip gdb-0b1553bcdd4db0c7ddb09f01cd281917447d5769.tar.gz gdb-0b1553bcdd4db0c7ddb09f01cd281917447d5769.tar.bz2 |
* gdbarch.sh (gdbarch_dump): Use core_addr_to_string_nz
instead of paddr_nz.
* gdbarch.c: Regenerate.
* target.c (target_xfer_partial, debug_print_register): Use
core_addr_to_string_nz instead of paddr_nz.
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gdb/target.c b/gdb/target.c index 7b5596a..a7ceec4 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -1168,12 +1168,13 @@ target_xfer_partial (struct target_ops *ops, const unsigned char *myaddr = NULL; fprintf_unfiltered (gdb_stdlog, - "%s:target_xfer_partial (%d, %s, 0x%lx, 0x%lx, 0x%s, %s) = %s", + "%s:target_xfer_partial (%d, %s, 0x%lx, 0x%lx, %s, %s) = %s", ops->to_shortname, (int) object, (annex ? annex : "(null)"), (long) readbuf, (long) writebuf, - paddr_nz (offset), plongest (len), plongest (retval)); + core_addr_to_string_nz (offset), + plongest (len), plongest (retval)); if (readbuf) myaddr = readbuf; @@ -2565,8 +2566,8 @@ debug_print_register (const char * func, if (size <= sizeof (LONGEST)) { ULONGEST val = extract_unsigned_integer (buf, size); - fprintf_unfiltered (gdb_stdlog, " 0x%s %s", - paddr_nz (val), plongest (val)); + fprintf_unfiltered (gdb_stdlog, " %s %s", + core_addr_to_string_nz (val), plongest (val)); } } fprintf_unfiltered (gdb_stdlog, "\n"); |