This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add support for Tilera TILE-Gx processor (part 2/2: gdb)
> 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.
Yeah, IIRC, supply_gregset (and its counterpart fill_greset) is
expected to be implemented by the "native" part of GDB (the -nat.c
file). Without it, GDB would not compile.
I'm wondering if this is something we could put in the target ops?
--
Joel