Re: [PATCH/AARCH64] Emit brk #0 for __builtin_trap

2013-11-19 Thread Andrew Pinski
On Tue, Nov 19, 2013 at 1:22 AM, Marcus Shawcroft wrote: > On 13 November 2013 00:04, Andrew Pinski > > wrote: >> >> Hi all, >> This patch implements the trap pattern for the AARCH64 back-end. I >> used the "brk #0" instruction as that is the breakpoint instruction >> that GDB uses. I looked

Re: [PATCH/AARCH64] Emit brk #0 for __builtin_trap

2013-11-19 Thread Marcus Shawcroft
On 13 November 2013 00:04, Andrew Pinski wrote: Hi all, This patch implements the trap pattern for the AARCH64 back-end. I used the "brk #0" instruction as that is the breakpoint instruction that GDB uses. I looked at what other targets did when the instruction set did not have a trap instru

[PATCH/AARCH64] Emit brk #0 for __builtin_trap

2013-11-12 Thread Andrew Pinski
Hi all, This patch implements the trap pattern for the AARCH64 back-end. I used the "brk #0" instruction as that is the breakpoint instruction that GDB uses. I looked at what other targets did when the instruction set did not have a trap instruction and found that using the breakpoint instructi