This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/4] Fix gdb.trace/entry-values.exp fails in thumb mode


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]