From: Andrew Cagney <ac131313@redhat.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa/ppc64] Only map descriptors to code addresses
Date: Fri, 03 Oct 2003 20:49:00 -0000 [thread overview]
Message-ID: <3F7DE0D7.5040506@redhat.com> (raw)
In-Reply-To: <1030922220703.ZM29782@localhost.localdomain>
> On Sep 19, 2:51pm, Andrew Cagney wrote:
>
>
>> This patch modifies ppc64's convert_from_func_ptr_addr so that it only
>> converts a descriptor to the code address when it's sure it's got a
>> descriptor. This way, of the function gets fed a random address, it
>> doesn't map it onto something even more random - I encountered this when
>> trying to debug "break main" with only a minimal symbol table.
>>
>> This also makes the behavior consistent with the ia64.
>>
>> ok?
>> Andrew
>>
>> 2003-09-19 Andrew Cagney <cagney@redhat.com>
>>
>> * ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Only
>> convert a descriptor to a function when it's in the ".opd"
>> section.
>
>
> This sounds reasonable.
I've checked this in.
Andrew
prev parent reply other threads:[~2003-10-03 20:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-19 18:51 Andrew Cagney
2003-09-22 22:07 ` Kevin Buettner
2003-10-03 20:49 ` Andrew Cagney [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=3F7DE0D7.5040506@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kevinb@redhat.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