[rfa/ppc64] Only map descriptors to code addresses

Andrew Cagney ac131313@redhat.com
Fri Sep 19 18:51:00 GMT 2003


Hello,

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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030919/9d7a8e43/attachment.ksh>


More information about the Gdb-patches mailing list