Re: [patch v3 19/36] Hexagon: Add ptrace support

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

 



On Sat, Sep 10, 2011 at 12:29:57PM +0100, Pedro Alves wrote:
> On Saturday 10 September 2011 07:42:26, Jonas Bonn wrote:
> 
> > I'm really not an expert on GDB, but I believe it can use either the
> > PEEK/POKE functions to access regs, or it can use GET/SETREGS; it's an
> > architecture-dependent configuration.  I think the second variant can
> > be easily modified to become GET/SETREGSET instead, and the PEEK/POKE
> > variant wouldn't be needed at all.
> 
> Yes, the x86/x86-64 ports or gdb and gdbserver are already
> using GET/SETREGSET even.

Reading the code, it seemed to only fetch "extended state" in
this way, and not all of the registers.  Am I mistaken?

--linas

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux