This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: [complaints.c] Use warning_hook
- To: Fernando Nasser <fnasser at cygnus dot com>
- Subject: Re: RFA: [complaints.c] Use warning_hook
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Fri, 12 Jan 2001 19:24:43 +0930
- Cc: gdb-patches at sources dot redhat dot com
- References: <3A36A6A8.7709A82A@cygnus.com> <3A40AAA9.34FE072B@cygnus.com> <3A40D9A9.3BA26980@cygnus.com>
Fernando Nasser wrote:
> The problem is: who will look for the *_hook functions in a -events file
> (as opposed to a -hooks file)?
> Thanks God there is grep and SourceNavigator :-)
In hindsight, calling the file gdb-events.[hc] was a dumb decision (made
by me :-). It should probably be re-named.
One of the reasons it is dumb is that the word ``event'' in GDB has many
meanings - people will take it to be a target program event.
Andrew