This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: Customizing remote-sim.c on a multi-arch target


Hi,

I'm trying to customize remote-sim.c on a multi-arch target, what I'd
look to do is be able to define TARGET_REDEFINE_DEFAULT_OPS so I can
install hooks to support h/w watchpoints and async execution in my
simulator. Where should this macro be defined?

Rather than define these macros, what about implementing a new target (inferior) vector that meets your needs? This is what


Is this not compatible
with the multi-arch approach (I notice config/cpu/tx-cpu.h is not
included for multi-arch builds).

The tm-cpu.h files are obsolete. Instead things are implemented using an architecture (gdbarch) and target (inferior) vector.


You may also be interested in this:
http://sources.redhat.com/gdb/papers/multi-arch/real-multi-arch/

Andrew



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