This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: Adding Registers
- From: Duane Ellis <duane_ellis at franklin dot com>
- To: insight at sources dot redhat dot com
- Date: Wed, 13 Feb 2002 09:48:25 -0500
- Subject: Re: Adding Registers
- References: <3c932a4a.62b9.0@esatclear.ie>
- Reply-to: duane_ellis at franklin dot com
david> I have tried looking for the function
target_fetch/store_registers() but I am unable to locate it in
any C file. I am assuming that this is where you define
Look for these two macros in target.h
#define target_fetch_registers(regno) \
(*current_target.to_fetch_registers) (regno)
#define target_store_registers(regs) \
(*current_target.to_store_registers) (regs)
You need to determine what those function pointers resolve to for your
specific target. Then modify the "pointed to" functions accordingly.
-Duane.