This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
build failure patch: gdbtk-hooks.c
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: insight at sources dot redhat dot com
- Cc: roland at redhat dot com
- Date: 19 Apr 2004 14:08:01 +1000
- Subject: build failure patch: gdbtk-hooks.c
I think Roland may have constified the wrong function declaration?
Ben
2004-04-19 Ben Elliston <bje@au.ibm.com>
* generic/gdbtk-hooks.c (gdbtk_pre_add_symbol): Similarly, add
const to argument type in declaration.
Index: generic/gdbtk-hooks.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-hooks.c,v
retrieving revision 1.32
diff -u -p -r1.32 gdbtk-hooks.c
--- generic/gdbtk-hooks.c 15 Apr 2004 21:39:35 -0000 1.32
+++ generic/gdbtk-hooks.c 19 Apr 2004 04:06:23 -0000
@@ -93,7 +93,7 @@ static void gdbtk_warning (const char *,
static char *gdbtk_readline (char *);
static void gdbtk_readline_begin (char *format,...);
static void gdbtk_readline_end (void);
-static void gdbtk_pre_add_symbol (char *);
+static void gdbtk_pre_add_symbol (const char *);
static void gdbtk_print_frame_info (struct symtab *, int, int, int);
static void gdbtk_post_add_symbol (void);
static void gdbtk_register_changed (int regno);