mbox series

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

Message ID 20200113172524.7201-1-luis.machado@linaro.org
Headers show
Series Handle additional brk instruction patterns | expand

Message

Luis Machado Jan. 13, 2020, 5:25 p.m. UTC
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                            | 39 +++++++++++
 gdb/arch-utils.c                              | 37 ++++++++++
 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         | 67 +++++++++++++++++++
 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