This is the mail archive of the gdb@sources.redhat.com 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: [RFC] Core files and the architecture vector


   Do we see 32-bit or 64-bit registers from ptrace when debugging such a
   process?

At least on FreeBSD/amd64 you see the 64-bit register with ptrace.

As in a 64-bit GDB is linked against a 64-bit ptrace so sees 64-bit registers when debugging a 32-bit app. Same for x86-64 GNU/Linux.


At least this bit is right.

Andrew



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