This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 2/3] Record function descriptor address instead of function address in value
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: "Maciej W. Rozycki" <macro at imgtec dot com>
- Cc: Ulrich Weigand <uweigand at de dot ibm dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 18 Oct 2016 14:02:58 +0100
- Subject: Re: [RFC 2/3] Record function descriptor address instead of function address in value
- Authentication-results: sourceware.org; auth=none
- References: <20161017155133.A9B8711C257@oc8523832656.ibm.com> <alpine.DEB.2.00.1610180255070.31859@tp.orcam.me.uk>
On Tue, Oct 18, 2016 at 3:27 AM, Maciej W. Rozycki <macro@imgtec.com> wrote:
>
> What about `info address main'?
>
It is unchanged. It shows the function address of main,
(gdb) info address main
Symbol "main" is a function at address 0x1000073c.
(gdb) disassemble main
Dump of assembler code for function main:
0x000000001000073c <+0>: mflr r0
I'll respond to the rest of your mail later, after I got some clues/ideas for
both your and Ulrich's comments.
--
Yao (齐尧)