RE: [patch v4 13/13] btrace, x86: restrict to Atom

Metzger, Markus T
2012-11-27T11:49:40Z

> -----Original Message-----
> From: gdb-patches-owner@sourceware.org [mailto:gdb-patches-owner@sourceware.org] On Behalf Of Mark Kettenis
> Sent: Tuesday, November 27, 2012 12:19 PM
> To: Metzger, Markus T
> Cc: gdb-patches@sourceware.org; markus.t.metzger@gmail.com; jan.kratochvil@redhat.com; palves@redhat.com;
> tromey@redhat.com; Metzger, Markus T
> Subject: Re: [patch v4 13/13] btrace, x86: restrict to Atom
> Importance: High
>
> > From: <markus.t.metzger@intel.com>
> > Date: Tue, 27 Nov 2012 11:49:11 +0100
> >
> > From: Markus Metzger <markus.t.metzger@intel.com>
> >
> > Restrict branch tracing support to Atom processors.
> >
> > 2012-11-27 Markus Metzger <markus.t.metzger@intel.com>
> >
> > * amd64-linux-nat.c (amd64_linux_supports_btrace): New.
> > (_initialize_amd64_linux_nat): Change supports_btrace method.
> > * i386-linux-nat.c (i386_linux_supports_btrace): New.
> > (_initialize_i386_linux_nat): Change supports_btrace method.
> >
> > gdbserver/
> > * linux-low.h (linux_target_ops): Add supports_btrace method.
> > * linux-low.c (linux_low_supports_btrace): New.
> > (linux_target_ops): Change supports_btrace method.
> > * linux-x86-low.c (x86_supports_btrace): New.
> > (the_low_target): Add supports_btrace method.
>
> This is still unacceptable. This needs to be fixed in the Linux kernel.

We will still need this patch in gdb so we handle kernels that do not contain the fix correctly.

Regards,
Markus.

Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Peter Gleissner, Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052