Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] Fix gdb.trace/entry-values.exp fails in thumb mode
@ 2014-07-03  6:11 Yao Qi
  2014-07-03  6:11 ` [PATCH 2/4] Match instruction adjusts SP in thumb Yao Qi
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Yao Qi @ 2014-07-03  6:11 UTC (permalink / raw)
  To: gdb-patches

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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-09-24 12:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-03  6:11 [PATCH 0/4] Fix gdb.trace/entry-values.exp fails in thumb mode Yao Qi
2014-07-03  6:11 ` [PATCH 2/4] Match instruction adjusts SP in thumb Yao Qi
2014-07-03  8:35   ` Will Newton
2014-07-11 13:25   ` Joel Brobecker
2014-09-24 12:56   ` Yao Qi
2014-07-03  6:11 ` [PATCH 3/4] Stop prologue analysis when past the epilogue Yao Qi
2014-07-03  8:39   ` Will Newton
2014-07-11 13:39   ` Joel Brobecker
2014-07-03  6:11 ` [PATCH 4/4] Fix gdb.trace/entry-values.exp for thumb mode Yao Qi
2014-07-07 15:15   ` Joel Brobecker
2014-07-08  8:53     ` Yao Qi
2014-07-03  6:11 ` [PATCH 1/4] Restrict matching add/sub sp, #imm Yao Qi
2014-07-03  8:31   ` Will Newton
2014-07-07  1:38     ` Yao Qi
2014-07-11 13:25       ` Joel Brobecker
2014-07-11 13:49         ` Yao Qi
2014-07-11  7:34 ` [PATCH 0/4] Fix gdb.trace/entry-values.exp fails in thumb mode Yao Qi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox