This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2,v2][AArch64]Handle additional brk instruction patterns
- From: Luis Machado <luis dot machado at linaro dot org>
- To: gdb-patches at sourceware dot org
- Cc: alan dot hayward at arm dot com, tankut dot baris dot aktemur at intel dot com
- Date: Mon, 13 Jan 2020 14:25:22 -0300
- Subject: [PATCH 0/2,v2][AArch64]Handle additional brk instruction patterns
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