mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
2003-04-09 Andrew Cagney <cagney@redhat.com>
* defs.h (gdb_print_host_address): Make "addr" parameter a pointer constant. * utils.c (gdb_print_host_address): Update.
This commit is contained in:
parent
e4b633ba46
commit
ac16bf075e
@ -1,3 +1,9 @@
|
||||
2003-04-09 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* defs.h (gdb_print_host_address): Make "addr" parameter a
|
||||
pointer constant.
|
||||
* utils.c (gdb_print_host_address): Update.
|
||||
|
||||
2003-04-09 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
|
||||
|
@ -479,7 +479,7 @@ extern void fputstr_unfiltered (const char *str, int quotr, struct ui_file * str
|
||||
extern void fputstrn_unfiltered (const char *str, int n, int quotr, struct ui_file * stream);
|
||||
|
||||
/* Display the host ADDR on STREAM formatted as ``0x%x''. */
|
||||
extern void gdb_print_host_address (void *addr, struct ui_file *stream);
|
||||
extern void gdb_print_host_address (const void *addr, struct ui_file *stream);
|
||||
|
||||
/* 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
|
||||
|
@ -1261,7 +1261,7 @@ print_spaces (register int n, register struct ui_file *file)
|
||||
/* Print a host address. */
|
||||
|
||||
void
|
||||
gdb_print_host_address (void *addr, struct ui_file *stream)
|
||||
gdb_print_host_address (const void *addr, struct ui_file *stream)
|
||||
{
|
||||
|
||||
/* We could use the %p conversion specifier to fprintf if we had any
|
||||
|
Loading…
Reference in New Issue
Block a user