This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: corefiles/2343: signal from core file misinterpreted
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 21 Oct 2007 19:18:01 -0000
- Subject: Re: corefiles/2343: signal from core file misinterpreted
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR corefiles/2343; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: aristovski@qnx.com
Cc: gdb-gnats@sources.redhat.com
Subject: Re: corefiles/2343: signal from core file misinterpreted
Date: Sun, 21 Oct 2007 15:15:02 -0400
On Thu, Oct 18, 2007 at 08:00:53PM -0000, aristovski@qnx.com wrote:
> Starting point:
> In corelow.c, we call target_signal_from_host. This function (and
> target_signal_to_host) should probably be added to target_ops
> structure to let targets define their on mapping. Then, in corelow.c
> we would call core_ops.to_target_signal_from_host ...
Yeah, sounds reasonable, though it would probably be less confusing if
we called them "gdb signals" and "target signals" instead of "target
signals" and "host signals".
--
Daniel Jacobowitz
CodeSourcery