This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
signal names
- To: gdb at sources dot redhat dot com
- Subject: signal names
- From: Marko Mlinar <markom at opencores dot org>
- Date: Mon, 21 May 2001 12:20:12 +0200
- Reply-To: markom at opencores dot org
Hello!
Is there any convenient way to add custom signal names, used by
/* Return the string for a signal. */
extern char *target_signal_to_string PARAMS ((enum target_signal));
/* Return the name (SIGHUP, etc.) for a signal. */
extern char *target_signal_to_name PARAMS ((enum target_signal));
/* Given a name (SIGHUP, etc.), return its signal. */
enum target_signal target_signal_from_name PARAMS ((char *));
We would need special hardware names, which will be used for
catchpoints?
I would really like to avoid adding ifdefs in target.c and target.h
thanks,
Marko