All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Daney <ddaney@avtrex.com>
To: Daniel Jacobowitz <dan@debian.org>
Cc: Ralf Baechle <ralf@linux-mips.org>,
	Franck Bui-Huu <vagabon.xyz@gmail.com>,
	linux-mips <linux-mips@linux-mips.org>
Subject: Re: Question about signal syscalls !
Date: Sun, 04 Feb 2007 22:00:16 -0800	[thread overview]
Message-ID: <45C6C7F0.7000502@avtrex.com> (raw)
In-Reply-To: <20070205023039.GA5438@nevyn.them.org>

Daniel Jacobowitz wrote:
> On Mon, Feb 05, 2007 at 01:10:48AM +0000, Ralf Baechle wrote:
>   
>> Not saving the s-registers into the signal frame would be a neat
>> optimization.  It wouldn't only make things a little faster it would
>> also free space in the signal frame which is needed for CPU
>> architecture extensions that have more state to save.  I had to burn
>> almost the entire available space for the DSP extensions, so I wonder
>> if we could get GDB to work?  The alternative is probably a new version
>> of the sigrestore.
>>     
>
> I'm sure that, if we tried, we could get GDB to work.  Every time this
> comes up I just worry about other things that we don't know about which
> use the saved information.  These structures are just in too many
> places to change comfortably.
>   
If you are keeping track, add MD_FALLBACK_FRAME_STATE in libgcc, which 
allows throwing C++ and java exceptions through signal handlers.

If gdb can be made to work, so can libgcc.  The thing I worry about is I 
think people upgrade their kernel much more often than their 
toolchains.  So you could be in a position of having to use a very new 
GCC.  That might make some uncomfortable.

David Daney

  reply	other threads:[~2007-02-05  6:01 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-01 10:43 Question about signal syscalls ! Franck Bui-Huu
2007-02-01 13:57 ` Ralf Baechle
2007-02-01 14:54   ` Franck Bui-Huu
2007-02-01 17:01     ` David Daney
2007-02-02  8:55       ` Franck Bui-Huu
2007-02-02 16:04         ` David Daney
2007-02-02 16:36           ` Franck Bui-Huu
2007-02-02 16:53             ` Daniel Jacobowitz
2007-02-02 20:03               ` Franck Bui-Huu
2007-02-02 20:18               ` Franck Bui-Huu
2007-02-02 16:56             ` David Daney
2007-02-02 19:58               ` Franck Bui-Huu
2007-02-02 20:41                 ` David Daney
2007-02-05  0:55                   ` Daniel Jacobowitz
2007-02-05  1:10                     ` Ralf Baechle
2007-02-05  2:30                       ` Daniel Jacobowitz
2007-02-05  6:00                         ` David Daney [this message]
2007-02-05  9:17                         ` Franck Bui-Huu
2007-02-05  9:08                       ` Franck Bui-Huu
2007-02-01 18:10     ` Ralf Baechle
2007-02-02  8:54       ` Franck Bui-Huu

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=45C6C7F0.7000502@avtrex.com \
    --to=ddaney@avtrex.com \
    --cc=dan@debian.org \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.org \
    --cc=vagabon.xyz@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.