aboutsummaryrefslogtreecommitdiff
path: root/gdb/target.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2008-09-04 22:49:30 +0000
committerDoug Evans <dje@google.com>2008-09-04 22:49:30 +0000
commit623d3eb139cf841da1f6fd08c68c29b12b74ddb0 (patch)
tree1ba0e24313a07a5a86c93a8ca1fb8db73f848369 /gdb/target.c
parentb02a33db5021ba4b61115784a689d1017181872a (diff)
downloadgdb-623d3eb139cf841da1f6fd08c68c29b12b74ddb0.zip
gdb-623d3eb139cf841da1f6fd08c68c29b12b74ddb0.tar.gz
gdb-623d3eb139cf841da1f6fd08c68c29b12b74ddb0.tar.bz2
* defs.h (plongest,pulongest): Renamed from paddr_u,paddr_d.
Change argument of pulongest from CORE_ADDR to ULONGEST. All callers updated. * utils.c (plongest): Renamed from paddr_d. (pulongest): Renamed from paddr_u, change arg type to ULONGEST. * remote-mips.c (send_srec): Use paddr_nz instead of paddr_u in `CORE_ADDR addr' arg of error message.
Diffstat (limited to 'gdb/target.c')
-rw-r--r--gdb/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/target.c b/gdb/target.c
index edd804d..9dd8f3e 100644
--- a/gdb/target.c
+++ b/gdb/target.c
@@ -1173,7 +1173,7 @@ target_xfer_partial (struct target_ops *ops,
(int) object,
(annex ? annex : "(null)"),
(long) readbuf, (long) writebuf,
- paddr_nz (offset), paddr_d (len), paddr_d (retval));
+ paddr_nz (offset), plongest (len), plongest (retval));
if (readbuf)
myaddr = readbuf;
@@ -2566,7 +2566,7 @@ debug_print_register (const char * func,
{
ULONGEST val = extract_unsigned_integer (buf, size);
fprintf_unfiltered (gdb_stdlog, " 0x%s %s",
- paddr_nz (val), paddr_d (val));
+ paddr_nz (val), plongest (val));
}
}
fprintf_unfiltered (gdb_stdlog, "\n");