RE: x86_64-m32 internal error for multi-thread-step.exp [Re: [PATCH v10 06/28] btrace: change branch trace data structure]

Metzger, Markus T
2015-01-29T10:01:34Z

> -----Original Message-----
> From: Pedro Alves [mailto:palves@redhat.com]
> Sent: Tuesday, January 27, 2015 12:29 PM
> To: Metzger, Markus T; Jan Kratochvil
> Cc: gdb-patches@sourceware.org
> Subject: Re: x86_64-m32 internal error for multi-thread-step.exp [Re:
> [PATCH v10 06/28] btrace: change branch trace data structure]
>
> On 01/23/2015 02:35 PM, Metzger, Markus T wrote:
> > I get the pointer size of the inferior via gdbarch_ptr_bit(). Does GDB also
> > know the pointer size of the kernel that runs the inferior?
>
> It doesn't. I don't know offhand how to get at it. Maybe
> something in /proc tells you.

I'm using uname's machine string. This seems to work.

I've put the fixes into the series; I'll send an updated version later today.

Regards,
Markus.

Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: 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