diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-04-10 02:18:40 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-04-10 02:18:40 +0000 |
commit | ac16bf075e8f8b82746c2daa5063fec3133e374b (patch) | |
tree | 036e17f1d95305b217fe1af902a1efe5ec0f7872 /gdb/defs.h | |
parent | e4b633ba464dd0f158fc4d25a72f98fc2ba42b1f (diff) | |
download | gdb-ac16bf075e8f8b82746c2daa5063fec3133e374b.zip gdb-ac16bf075e8f8b82746c2daa5063fec3133e374b.tar.gz gdb-ac16bf075e8f8b82746c2daa5063fec3133e374b.tar.bz2 |
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.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |