signal names

Marko Mlinar markom@opencores.org
Mon May 21 04:07:00 GMT 2001


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



More information about the Gdb mailing list