[lkml]   [1999]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: year old problem
    Followup to:  <>
    By author: Andi Kleen <>
    In newsgroup:
    > On Mon, Nov 15, 1999 at 11:36:31PM +0100, Eric Pouech wrote:
    > > well, it seems to me that the code in __switch_to (loaddebug macro) *restores*
    > > the DBi registers (from the tss in memory to the i386) while switching to 'next'
    > > process
    > >
    > > my issue is that the i386 value of DR6 (status => which debug registers
    > > which (may) have triggered a trap) are never (I should say no longer)
    > > stored in tss as they used to be (and therefore never accessible with ptrace)
    > >
    > > in 2.0.x series, they were stored in tss while entering the TRAP handler
    > > and it's no longer the case.
    > Point taken. It seems to be a bug.
    > For DR0-DR3/DR7 it doesn't make sense to save them all the time (because they
    > can be set by ptrace, even by the program), but DR4-6 should be saved.

    There is no DR4 and DR5.

    <> at work, <> in private!
    "Unix gives you enough rope to shoot yourself in the foot."

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:55    [W:0.023 / U:11.920 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site