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/2] Fix implptr-optimized-out.exp fail in thumb mode


implptr-optimized-out.exp uses main in assembly to generate debug
information, so it makes troubles in thumb mode because of the lsb of
main address.  Patch 1 is to switch to dwarf assembler to generate
assembly, so that it is flexible to adjust dwarf output.  Patch 2
is to compute the correct address of main.  We do the same in dwz.exp
too.

*** BLURB HERE ***

Yao Qi (2):
  Use Dwarf::assemble in implptr-optimized-out.exp
  Fix implptr-optimized-out.exp fail in thumb mode

 gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S   | 166 ---------------------
 gdb/testsuite/gdb.dwarf2/implptr-optimized-out.exp |  96 +++++++++++-
 2 files changed, 93 insertions(+), 169 deletions(-)
 delete mode 100644 gdb/testsuite/gdb.dwarf2/implptr-optimized-out.S

-- 
1.9.3


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