[try 2nd 3/8] Refactor copy_svc_os

Yao Qi yao@codesourcery.com
Thu Mar 24 14:01:00 GMT 2011


copy_svc is a little bit different from other copy helpers, OS stuff is
involved.  arm_linux_copy_svc itself has nothing to do with ARM/Thumb
mode.  It should work well under two modes.  However, one of the
parameters INSN make it hard to be called from both modes.  Fortunately,
INSN is *not* used inside arm_linux_copy_svc except printing debug
message.  We can remove parameter INSN and TO, so it can be called from
two modes respectively.

-- 
Yao (齐尧)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-refactor-copy_svc_os-to-handle-multiple-modes.patch
Type: text/x-patch
Size: 4343 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110324/be173a7e/attachment.bin>


More information about the Gdb-patches mailing list