From: Thiago Jung Bauermann <bauerman@br.ibm.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: David Gardner <daveg@xmos.com>, gdb@sourceware.org
Subject: Re: How to call functions which have ifunc symbols (e.g. strcmp) from inside gdb
Date: Mon, 06 Jun 2011 21:23:00 -0000 [thread overview]
Message-ID: <1307395377.2518.1.camel@hactar> (raw)
In-Reply-To: <20110602132922.GA32664@host1.jankratochvil.net>
On Thu, 2011-06-02 at 15:29 +0200, Jan Kratochvil wrote:
> If you still have old GDB you can cast it yourself:
> (gdb) p (*(int(*(*)())())strcmp)()("a","b")
> $1 = -1
If GDB supported Lisp, this is what it would look like. :-)
--
[]'s
Thiago Jung Bauermann
IBM Linux Technology Center
prev parent reply other threads:[~2011-06-06 21:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-02 12:30 David Gardner
2011-06-02 13:29 ` Jan Kratochvil
2011-06-06 21:23 ` Thiago Jung Bauermann [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=1307395377.2518.1.camel@hactar \
--to=bauerman@br.ibm.com \
--cc=daveg@xmos.com \
--cc=gdb@sourceware.org \
--cc=jan.kratochvil@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