Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Yao Qi <qiyaoltc@gmail.com>
To: Taimoor <tmirza@codesourcery.com>,
	 Luis Machado <lgustavo@codesourcery.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: Improving GDB's mechanism to check if function is GC'ed
Date: Wed, 10 Jun 2015 12:25:00 -0000	[thread overview]
Message-ID: <55782C9B.50005@gmail.com> (raw)
In-Reply-To: <55782370.50003@codesourcery.com>

On 10/06/15 12:45, Taimoor wrote:
>
> Yes. Its not something specific to Nucleus. Only issue is that function
> address in DWARF is 0x0 as this object file is loaded at runtime and its
> symbols are added using "add-symbol-file" command on the basis of
> address space where it is loaded.
>
> IMO, for any dynamic relocatable object, GDB provides a mechanism to
> load its symbols using add-symbol-file. But if that object file has
> function at 0x0, current mechanism consider it GC'ed.

Could you help me to understand how to reproduce this problem on any GDB
supported targets?  Your fix may not be Nucleus specific, but I think
the problem does only exist on Nucleus, please correct me if I am wrong.

-- 
Yao (齐尧)


      reply	other threads:[~2015-06-10 12:25 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 13:38 Taimoor
2015-06-09  6:16 ` Taimoor
2015-06-09 13:36   ` Yao Qi
2015-06-10  8:54 ` Yao Qi
2015-06-10 10:17   ` Pedro Alves
2015-06-10 12:04     ` Taimoor
2015-06-10 12:07     ` Yao Qi
2015-06-10 14:43       ` Pedro Alves
2015-06-11  8:30         ` Yao Qi
2015-06-11  8:54           ` Pedro Alves
2015-06-10 11:18   ` Luis Machado
2015-06-10 11:46     ` Taimoor
2015-06-10 12:25       ` Yao Qi [this message]

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=55782C9B.50005@gmail.com \
    --to=qiyaoltc@gmail.com \
    --cc=gdb-patches@sourceware.org \
    --cc=lgustavo@codesourcery.com \
    --cc=tmirza@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