This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Possibly dumb signal mapping question
- From: Kris Warkentin <kewarken at qnx dot com>
- To: GDB <gdb at sources dot redhat dot com>
- Date: Thu, 17 Mar 2005 16:14:16 -0500
- Subject: Possibly dumb signal mapping question
Say I'm building a gdb on Linux that remotely targets Neutrino, what is
the acceptable way to map our OS signals onto TARGET_SIGNAL_*? I'm
looking at the target_signal_[to/from]_host functions but they look like
they depend on the various SIG*s having been defined. Wouldn't those
defines collide with host defines? Perhaps I'm getting confused for no
good reason.... If I _were_ going to define them, what would be a good
place?
I accidentally dropped the signal mapping code from our old port but in
looking at it, it looks too hacky to live. We've got some ugly
target_signal_[to/from]_qnx functions that we just use to convert any
signals sent to and from the remote target. Is there a better way?
cheers,
Kris