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

Re: [RFA] remote.c: adjust Z packet addr using BREAKPOINT_FROM_PC


On 9-Jan-2001, J . T . Conklin wrote:

>Yes, if address swizzling is necessary, I think it should be done before
>the vector functions are called.

I'll check into that.

>A gdb for a given arch may support several targets.  I'm still somewhat
>concerned that address swizzling for one target may not be appropriate
>for another.  I'm probably just being paranoid.

I'm a bit paranoid about prepending BREAKPOINT_FROM_PC to
target_insert_breakpoint, but it does seem like the right approach.  I'll
bet that only a few archs use BREAKPOINT_FROM_PC to change the address, so
it may be possible to be reasonably sure that no breakage would result.

Patch withdrawn,

Nick

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