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/3] Fix PR 18139: tweak gdb.linespec/break-asm-file.exp for non-x86 targets


From: Yao Qi <yao.qi@linaro.org>

I notice gdb.linespec/break-asm-file.exp fails on some targets, arm,
ppc64, and aarch64.  gdb.linespec/break-asm-file.exp is written in a
way which has a lot assumptions on x86, and even it is lucky this case
passes on x86 (see patch 3).

There are some hard-coded stuff in the .s files, and I want to replace
them with something better (see patch 2).  During this, I find .s should
be compiled without debug info, because it has already had, so patch 1
is to compile .s files without debug info.

I tested this patch on arm, aarch64, and ppc64, fails are fixed.  I find
this test fails on s39x too, but I don't have a machine to test.

*** BLURB HERE ***

Yao Qi (3):
  Compile break-asm-file{0,1}.s without debug info
  Remove some hard-coded stuff in tests
  Handle the effect of skipping prologue

 gdb/testsuite/gdb.linespec/break-asm-file.exp | 23 ++++++++++++++++++-----
 gdb/testsuite/gdb.linespec/break-asm-file0.s  | 25 ++++++++++++++++++++-----
 gdb/testsuite/gdb.linespec/break-asm-file1.s  | 25 ++++++++++++++++++++-----
 3 files changed, 58 insertions(+), 15 deletions(-)

-- 
1.9.1


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