This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: build failure patch: gdbtk-hooks.c
- From: Roland McGrath <roland at redhat dot com>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: insight at sources dot redhat dot com
- Date: Mon, 19 Apr 2004 11:40:27 -0700
- Subject: Re: build failure patch: gdbtk-hooks.c
> I think Roland may have constified the wrong function declaration?
Nope, I just missed one decl. Your additional fix is all that's needed,
please put it in.
> 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);
>
Thanks,
Roland