This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

Thanks,
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]