[PATCH] GDBserver aarch64 support.
Pedro Alves
palves@redhat.com
Mon Feb 4 18:00:00 GMT 2013
On 02/04/2013 05:40 PM, Marcus Shawcroft wrote:
>>> + /* Find the entry that matches the ADDR and CTRL. */
>>> + for (i = 0; i < num_regs; ++i)
>>> + if (dr_addr_p[i] == addr && dr_ctrl_p[i] == ctrl)
>>> + {
>>> + gdb_assert (dr_ref_count[i] != 0);
>>> + break;
>>
>> "break" after gdb_assert is dead code.
>
> This one matters, it is required in order to terminate the loop early.
Right. I don't know what I was thinking.
> 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
> Marcus Shawcroft <marcus.shawcroft@arm.com>
> Nigel Stephens <nigel.stephens@arm.com>
> Yufeng Zhang <yufeng.zhang@arm.com>
>
> gdb/
>
> * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
>
> gdb/gdbserver/
>
> * Makefile.in (clean): Remove aarch64.c and aarch64-without-fpu.c
Missing period at end of sentence.
> (aarch64.c, aarch64-without-fpu.c): New targets.
> * configure.srv (aarch64*-*-linux*): New.
> * linux-aarch64-low.c: New file.
Excellent. This is OK.
--
Pedro Alves
More information about the Gdb-patches
mailing list