[PATCH] Add support for Tilera TILE-Gx processor (part 2/2: gdb)

Yao Qi yao@codesourcery.com
Wed Apr 25 01:38:00 GMT 2012


On 04/23/2012 10:50 PM, Jeff Kenton wrote:
> I modeled this, and the other "regset" routines, on existing code (e.g.,
> sparc64-, hppa-, alpha-, s390-, ppc-) that all implement
> supply_gregset() and expose that name for use by processor independent
> code.  See procfs.c: procfs_fetch_registers() and core-regset.c:
> fetch_core_registers() for uses.  supply_gregset is declared in gregset.h.
> 
> Unless there is now a better way to do it I will leave this as it is.

You are correct.  supply_gregset is defined in *-nat.c files.

-- 
Yao (齐尧)



More information about the Gdb-patches mailing list