From: Eli Zaretskii <eliz@gnu.org>
To: Markus Teich <markus.teich@stusta.mhn.de>
Cc: gdb@sourceware.org
Subject: Re: Completion on static functions
Date: Fri, 12 Apr 2013 09:29:00 -0000 [thread overview]
Message-ID: <83d2u09jx4.fsf@gnu.org> (raw)
In-Reply-To: <5167C3E2.9070305@stusta.mhn.de>
> Date: Fri, 12 Apr 2013 10:20:50 +0200
> From: Markus Teich <markus.teich@stusta.mhn.de>
>
> Try compiling with -O0 to see if these functions indeed get inlined.
No need to recompile:
(gdb) info address print_header_stamp
Symbol "print_header_stamp" is a function at address 0x401cec.
(gdb) info address main
Symbol "main" is a function at address 0x427b10.
But:
(gdb) info address generate_full_header
No symbol "generate_full_header" in current context.
And if I disassemble the code, I don't see any call instructions for
that function (nor even its caller, configure_shar, and its caller's
caller, initialize).
So I think it's quite clear that this function is inlined, as are many
others in that program.
prev parent reply other threads:[~2013-04-12 9:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-07 16:29 Eli Zaretskii
2013-04-07 16:50 ` Eli Zaretskii
[not found] ` <83li8o9sph.fsf@gnu.org>
2013-04-12 6:47 ` Jan Kratochvil
2013-04-12 7:01 ` Markus Teich
2013-04-12 8:13 ` Eli Zaretskii
2013-04-12 8:20 ` Markus Teich
2013-04-12 9:29 ` Eli Zaretskii [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=83d2u09jx4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=gdb@sourceware.org \
--cc=markus.teich@stusta.mhn.de \
/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