This is the mail archive of the gdb-patches@sourceware.org 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] |
I agree with Ulrich, and prefer this latest patch to your previous ones - but I am still not 100% happy with it, as I think it would be better not to need anything from infrun.c at all here.
What could be done instead is to have the displaced stepping routines maintain a list of the areas of memory that are being used as scratch space, and the instruction set state of the instructions in those areas.
Then arm_pc_is_thumb should check this list to see if the PC falls into one of these areas, and return the appropriate value.
-- Yao Qi
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |