[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gdb and asm/offsets.h



On Sat, Sep 15, 2007 at 01:46:57PM -0400, Daniel Jacobowitz wrote:
> (Please CC me, I'm not on debian-hppa.)
> 

Then why did you set Mail-Followup-To?

> GDB uses <asm/offsets.h> to find the offsets of registers in struct
> pt_regs.  The rest of the contents of this header aren't a public ABI,
> but that bit is - unfortunately now it's in asm-offsets.h which is
> never exported.
> 
> Where should GDB get this data?  For now, I made a hopefully correct
> copy of the offsets and included it in GDB.
> 

I assume gdb is fetching this with ptrace? What exactly does it need it
for? Can you point at the relevant code in cvsweb or something?

--Kyle



Reply to: