bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kdb and optimizations


From: Thomas Schwinge
Subject: Re: kdb and optimizations
Date: Mon, 8 Apr 2013 08:26:06 +0200
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.4.1 (x86_64-pc-linux-gnu)

Hi!

On Mon, 8 Apr 2013 00:13:16 +0200, Samuel Thibault <samuel.thibault@gnu.org> 
wrote:
> Thomas Schwinge, le Mon 08 Apr 2013 00:06:23 +0200, a écrit :
> > On Sun, 7 Apr 2013 21:10:09 +0200, Samuel Thibault 
> > <samuel.thibault@gnu.org> wrote:
> > > In the Debian package, when building the kdb-enabled kernel,
> > > we pass -fno-omit-frame-pointer in CFLAGS, and I'll push
> > > -fno-optimize-sibling-calls too. Both of them permit to get useful call
> > > traces in kdb. They should rather be included in the upstream
> > > configfrag.ac, don't they?
> > 
> > With KDB not handling DWARF information, what you propose is probably the
> > "right" thing to do indeed, depite the performance loss (which I don't
> > know how big it is).
> 
> It's probably negligible: it's only about replacing call with jmp.

Ah, I've primarily been thinking about -fomit-frame-pointer; here it
depends on whether GCC is able to do something useful with the additional
register.


Grüße,
 Thomas

Attachment: pgpoy9_2wXUQ5.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]