[0/2,v3,AArch64] Handle additional brk instruction patterns

Message ID 20200115115137.17771-1-luis.machado@linaro.org
Headers show
Series
  • Handle additional brk instruction patterns
Related show

Message

Luis Machado Jan. 15, 2020, 11:51 a.m.
This patch teaches GDB how to handle additional breakpoint instruction
patterns for aarch64.

Luis Machado (2):
  [AArch64] Recognize more program breakpoint patterns
  [AArch64] Test handling of additional brk instruction patterns

 gdb/aarch64-tdep.c                            | 37 ++++++++++
 gdb/arch-utils.c                              | 32 ++++++++
 gdb/arch-utils.h                              |  4 +
 gdb/breakpoint.c                              | 46 ++----------
 gdb/breakpoint.h                              |  5 --
 gdb/gdbarch.c                                 | 23 ++++++
 gdb/gdbarch.h                                 |  7 ++
 gdb/gdbarch.sh                                |  4 +
 gdb/infrun.c                                  |  4 +-
 gdb/testsuite/gdb.arch/aarch64-brk-patterns.c | 30 ++++++++
 .../gdb.arch/aarch64-brk-patterns.exp         | 74 +++++++++++++++++++
 11 files changed, 220 insertions(+), 46 deletions(-)
 create mode 100644 gdb/testsuite/gdb.arch/aarch64-brk-patterns.c
 create mode 100644 gdb/testsuite/gdb.arch/aarch64-brk-patterns.exp

-- 
2.17.1