public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Yao Qi <yao@codesourcery.com>
To: <gdb-patches@sourceware.org>
Subject: [PATCH 0/2] Fix implptr-optimized-out.exp fail in thumb mode
Date: Mon, 29 Sep 2014 00:56:00 -0000	[thread overview]
Message-ID: <1411951921-16168-1-git-send-email-yao@codesourcery.com> (raw)

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

             reply	other threads:[~2014-09-29  0:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-29  0:56 Yao Qi [this message]
2014-09-29  0:56 ` [PATCH 2/2] " Yao Qi
2014-10-07 15:35   ` Pedro Alves
2014-10-08 11:43     ` Yao Qi
2014-10-08 15:32   ` Doug Evans
2014-10-09 12:43     ` Yao Qi
2014-09-29  0:56 ` [PATCH 1/2] Use Dwarf::assemble in implptr-optimized-out.exp Yao Qi
2014-10-07 14:06 ` [PATCH 0/2] Fix implptr-optimized-out.exp fail in thumb mode Yao Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1411951921-16168-1-git-send-email-yao@codesourcery.com \
    --to=yao@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).