This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/4] Fix gdb.trace/entry-values.exp fails in thumb mode
- From: Yao Qi <yao at codesourcery dot com>
- To: <gdb-patches at sourceware dot org>
- Date: Thu, 3 Jul 2014 14:09:48 +0800
- Subject: [PATCH 0/4] Fix gdb.trace/entry-values.exp fails in thumb mode
- Authentication-results: sourceware.org; auth=none
We see some fails in gdb.trace/entry-values.exp in thumb mode
(-mthumb -march={armv4t,armv7-a}), which are caused by two problems in
gdb,
- prologue analysis in gdb for thumb code is broken. Patch #3 is to
fix it by stopping prologue analysis when it goes to the epilogue.
- dwarf assembler in gdb.trace/entry-values.exp uses functions whose
address's bit 0 is set, which is incorrect. Patch #4 is to fix it.
Patch 1 is preparatory patch and patch 2 is a refactor one. Each of them
is regression tested on arm-none-linux-gnueabi.
*** BLURB HERE ***
Yao Qi (4):
Restrict matching add/sub sp, #imm
Match instruction adjusts SP in thumb
Stop prologue analysis when past the epilogue
Fix gdb.trace/entry-values.exp for thumb mode
gdb/arm-tdep.c | 41 +++++++++++++++++---------------
gdb/testsuite/gdb.trace/entry-values.c | 6 +++++
gdb/testsuite/gdb.trace/entry-values.exp | 10 ++++----
3 files changed, 33 insertions(+), 24 deletions(-)
--
1.9.0