[patch, arm] Use cached dsc->is_thumb instead of re-computing

Yao Qi yao@codesourcery.com
Mon Mar 7 09:02:00 GMT 2011


On 03/04/2011 10:08 PM, Ulrich Weigand wrote:
> Hmm, you now pass *both* DSC and FROM -- the latter is actually redundant
> now, since every caller must pass in dsc->insn_addr as FROM anyway ...
> 
> Can you update the patch to pass DSC *instead of* FROM, and use
> dsc->insn_addr internally?

Yes, FROM is redundant to displaced_read_reg.  How about this one?

-- 
Yao (齐尧)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-displaced-read-refactor-0307.patch
Type: text/x-patch
Size: 22490 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110307/3188ccb5/attachment.bin>


More information about the Gdb-patches mailing list