This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Adding Registers



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]