This is the mail archive of the gdb-patches@sourceware.cygnus.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]

Re: RFA: Separate i386 embed targets configuration


>>>>> "Fernando" == Fernando Nasser <fnasser@cygnus.com> writes:
Fernando> i386-elf i386-coff and i386-aout have zillions of features
Fernando> that a native or a remote but UNIX based targets do not
Fernando> have.
Fernando>
Fernando> I need a specific tm- file.  Is it OK?

I suggested a i386/tm-embed.h some months ago.  I didn't really have
anything to put in it at the time, it was more for the clarification
of a separate target config would bring than for anything else.  As I
remember, the change was neither accepted or rejected.  I put it into
our repository and forgot about it.

My tm-embed.h file simply includes tm-i386v.h.  I would have liked to
had the embedded x86 target define DECR_PC_AFTER_BREAK to 0 and have
the debug agent (stub) decrement the PC when it handled a breakpoint
exception, but that would have broken debugging with current stubs.

What does your tm-embed.h file look like?

        --jtc

-- 
J.T. Conklin
RedBack Networks

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