From: Pedro Alves <palves@redhat.com>
To: Yao Qi <yao@codesourcery.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH 2/2] Fix implptr-optimized-out.exp fail in thumb mode
Date: Tue, 07 Oct 2014 15:35:00 -0000 [thread overview]
Message-ID: <54340830.6080208@redhat.com> (raw)
In-Reply-To: <1411951921-16168-3-git-send-email-yao@codesourcery.com>
On 09/29/2014 01:52 AM, Yao Qi wrote:
> Hi,
> I see the fail in gdb.dwarf2/implptr-optimized-out.exp in thumb mode
>
> (gdb) p p->f^M
> No symbol "p" in current context.^M
> (gdb) FAIL: gdb.dwarf2/implptr-optimized-out.exp: p p->f
>
> In thumb mode, the lsb of references to 'main' in the assembly
> (produced by dwarf assember) is set, so the generated debug
> information is incorrect.
>
> in this patch, we add a label main_label inside function main.
Hmm, I think I'm missing something. I'm not where this "main_label"
label is coming from?
Thanks,
Pedro Alves
next prev parent reply other threads:[~2014-10-07 15:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-29 0:56 [PATCH 0/2] " Yao Qi
2014-09-29 0:56 ` [PATCH 2/2] " Yao Qi
2014-10-07 15:35 ` Pedro Alves [this message]
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=54340830.6080208@redhat.com \
--to=palves@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=yao@codesourcery.com \
/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).