[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080923113001.GA12531@elte.hu>
Date: Tue, 23 Sep 2008 13:30:01 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Srinivasa Ds <srinivasa@...ibm.com>
Cc: Roland McGrath <roland@...hat.com>, linux-kernel@...r.kernel.org,
akpm@...ux-foundation.org, paulus@...ba.org,
linuxppc-dev@...abs.org, linux-parisc@...r.kernel.org,
"H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [RFC][PATCH] Demultiplexing SIGTRAP signal
* Ingo Molnar <mingo@...e.hu> wrote:
> > Currently a SIGTRAP can denote any one of below reasons.
> > - Breakpoint hit
> > - H/W debug register hit
> > - Single step
> > - Signal sent through kill() or rasie()
> >
> > Architectures like powerpc/parisc provides infrastructure to
> > demultiplex SIGTRAP signal by passing down the information for
> > receiving SIGTRAP through si_code of siginfot_t structure. Here is an
> > attempt is generalise this infrastructure by extending it to x86 and
> > x86_64 archs.
>
> applied to [the new topic] tip/core/signal, thanks Srinivasa! There
> are some other pending x86 signal changes already, so i based
> tip/core/signal on tip/x86/signal.
-tip testing found the following build error with the attached config:
In file included from arch/x86/mm/fault.c:41:
include/asm/traps.h: In function ‘get_si_code’:
include/asm/traps.h:41: error: ‘DR_STEP’ undeclared (first use in this function)
include/asm/traps.h:41: error: (Each undeclared identifier is reported only once
include/asm/traps.h:41: error: for each function it appears in.)
include/asm/traps.h:43: error: ‘DR_TRAP0’ undeclared (first use in this function)
include/asm/traps.h:43: error: ‘DR_TRAP1’ undeclared (first use in this function)
include/asm/traps.h:43: error: ‘DR_TRAP2’ undeclared (first use in this function)
include/asm/traps.h:43: error: ‘DR_TRAP3’ undeclared (first use in this function)
Ingo
View attachment "config" of type "text/plain" (46118 bytes)
Powered by blists - more mailing lists