[patch] Cleanup redundant statements in arm-tdep.c:copy_ldr_str_ldrb_strb
Yao Qi
yao@codesourcery.com
Fri Mar 11 06:45:00 GMT 2011
On 02/26/2011 09:53 PM, Yao Qi wrote:
>>> >> + RECORD_ARM_MODE_INSN (6, 0x00); /* breakpoint location. */
>>> >> + RECORD_ARM_MODE_INSN (7, 0x00); /* scratch space. */
>> >
>> > This reminds me: after your latest patch in that area, we do not
>> > actually use any scratch space in the instruction stream any more,
>> > so this could be removed ...
>> >
> Oh, Yes. I'll remove it by another patch.
>
As my recent patch "[patch] Fix PR tdep/12352: Handle str pc, [Rd, #imm]
in displaced stepping"[1] applied, scratch space is not used, and two
statements are redundant. This patch is to remove them.
[1] http://sourceware.org/ml/gdb-patches/2011-02/msg00315.html
--
Yao (é½å°§)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cleanup-arm-0311.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110311/609e9dc0/attachment.bin>
More information about the Gdb-patches
mailing list