From: Daniel Jacobowitz <drow@false.org>
To: Aleksandar Ristovski <ARistovski@qnx.com>
Cc: GDB Patches <gdb-patches@sourceware.org>
Subject: Re: PR 2343 fix: signal number mismatch
Date: Thu, 01 May 2008 19:07:00 -0000 [thread overview]
Message-ID: <20080501190702.GF22218@caradoc.them.org> (raw)
In-Reply-To: <480DEE05.3020505@qnx.com>
On Tue, Apr 22, 2008 at 09:54:13AM -0400, Aleksandar Ristovski wrote:
> Added other changes anyway. The attached patch contains complete proposed
> patch. Typically, targets would install their own signal translation
> functions during the osabi registration. For gdb configured for the same
> host and target, no translation is needed, but for other cases, in general,
> it is.
>
> This patch effectively deprecates functions "target_signal_from_host" and
> "target_signal_to_host".
Only for targets with cross core file support. Native and remote
debugging are not affected.
> 2008-04-22 Aleksandar Ristovski <aristovski@qnx.com>
>
> PR gdb/2343
> * corelow.c (core_open): Use gdbarch_target_signal_from_host to
> translate signal numeric value from the target to GDB's enum
> target_signal.
> * gdbarch.c (gdbarch_target_signal_from_host,
> gdbarch_target_signal_to_host, set_gdbarch_target_signal_from_host,
> set_gdbarch_target_signal_to_host): New functions. Generated by
> gdbarch.sh.
> * gdbarch.h: Likewise.
> * gdbarch.sh: Added two new functions target_signal_from_host and
> target_signal_to_host.
> * target.h (default_target_signal_from_host,
> default_target_signal_to_host): New functions - declarations.
> * signals/signals.c (struct gdbarch): New declaration.
> (default_target_signal_to_host, default_target_signal_from_host):
> New
> functions.
Thanks, this is OK.
You can just write:
* gdbarch.c, gdbarch.sh: Regenerated.
for those two files.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2008-05-01 19:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-22 15:56 Aleksandar Ristovski
2008-05-01 19:07 ` Daniel Jacobowitz [this message]
2008-05-01 19:39 ` Aleksandar Ristovski
-- strict thread matches above, loose matches on Subject: below --
2008-04-21 15:30 Aleksandar Ristovski
2007-12-16 22:19 Aleksandar Ristovski
2007-12-16 22:25 ` Daniel Jacobowitz
2007-12-13 17:05 Aleksandar Ristovski
2008-01-29 17:02 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080501190702.GF22218@caradoc.them.org \
--to=drow@false.org \
--cc=ARistovski@qnx.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox