From: Yao Qi <yao@codesourcery.com>
To: Doug Evans <dje@google.com>
Cc: gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Fix gdb.dwarf2/dwz.exp for thumb mode
Date: Fri, 05 Sep 2014 11:08:00 -0000 [thread overview]
Message-ID: <878ulycork.fsf@codesourcery.com> (raw)
In-Reply-To: <CADPb22QyvC5tCZNiYxXSY=J5k3C8dDmH_5n9d9rm2ybu-Eg7Xw@mail.gmail.com> (Doug Evans's message of "Wed, 3 Sep 2014 10:51:17 -0700")
Doug Evans <dje@google.com> writes:
> This approach is fragile w.r.t. clang.
> IIUC, Clang makes no guarantees about the ordering of global asms and
> other objects, or even other objects w.r.t. each other (even at -O0).
Doug, how about compile main.c to execution first, get the address of
main, write this address down to dwz.S, and recompile main.c with dwz.S
again. I assume that debug information changes doesn't affect the
location of .text section and main's address.
--
Yao (齐尧)
next prev parent reply other threads:[~2014-09-05 11:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-03 1:23 Yao Qi
2014-09-03 17:51 ` Doug Evans
2014-09-05 11:08 ` Yao Qi [this message]
2014-09-14 9:35 ` Yao Qi
2014-09-15 12:29 ` Yao Qi
2014-09-22 13:52 ` Yao Qi
2014-09-30 14:04 ` Yao Qi
2014-10-07 14:03 ` Yao Qi
2014-09-14 11:31 Andreas Schwab
2014-09-14 14:37 ` Yao Qi
2014-09-14 15:24 ` Andreas Schwab
2014-09-15 2:09 ` Yao Qi
2014-09-15 8:57 ` Andreas Schwab
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=878ulycork.fsf@codesourcery.com \
--to=yao@codesourcery.com \
--cc=dje@google.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