aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-10 02:18:40 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-10 02:18:40 +0000
commitac16bf075e8f8b82746c2daa5063fec3133e374b (patch)
tree036e17f1d95305b217fe1af902a1efe5ec0f7872 /gdb/utils.c
parente4b633ba464dd0f158fc4d25a72f98fc2ba42b1f (diff)
downloadgdb-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/utils.c')
-rw-r--r--gdb/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index f8ac0fd..e72aec7 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -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