diff options
author | Doug Evans <dje@google.com> | 2008-09-04 22:49:30 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2008-09-04 22:49:30 +0000 |
commit | 623d3eb139cf841da1f6fd08c68c29b12b74ddb0 (patch) | |
tree | 1ba0e24313a07a5a86c93a8ca1fb8db73f848369 /gdb/defs.h | |
parent | b02a33db5021ba4b61115784a689d1017181872a (diff) | |
download | gdb-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/defs.h')
-rw-r--r-- | gdb/defs.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -489,17 +489,19 @@ extern void gdb_print_host_address (const void *addr, struct ui_file *stream); extern const char *host_address_to_string (const void *addr); /* Convert a CORE_ADDR into a HEX string. paddr() is like %08lx. - paddr_nz() is like %lx. paddr_u() is like %lu. paddr_width() is - for ``%*''. */ + paddr_nz() is like %lx. */ extern int strlen_paddr (void); extern char *paddr (CORE_ADDR addr); extern char *paddr_nz (CORE_ADDR addr); -extern char *paddr_u (CORE_ADDR addr); -extern char *paddr_d (LONGEST addr); /* Like 0x%lx. */ extern const char *paddress (CORE_ADDR addr); +/* %d for LONGEST */ +extern char *plongest (LONGEST l); +/* %u for ULONGEST */ +extern char *pulongest (ULONGEST l); + extern char *phex (ULONGEST l, int sizeof_l); extern char *phex_nz (ULONGEST l, int sizeof_l); extern char *int_string (LONGEST, int, int, int, int); |