[RFA] remote.c: adjust Z packet addr using BREAKPOINT_FROM_PC
Nick Duffek
nsd@redhat.com
Tue Jan 9 11:42:00 GMT 2001
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
More information about the Gdb-patches
mailing list