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
3 changed files with 8 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue