From: Daniel Jacobowitz <drow@false.org>
To: Roopesh Kohad <roopesh.kohad@gmail.com>
Cc: gdb@sources.redhat.com
Subject: Re: function address from object file?
Date: Tue, 01 Mar 2005 14:26:00 -0000 [thread overview]
Message-ID: <20050301142608.GA4067@nevyn.them.org> (raw)
In-Reply-To: <1a223dc60503010114bbb95fd@mail.gmail.com>
On Tue, Mar 01, 2005 at 02:44:30PM +0530, Roopesh Kohad wrote:
> $ gcc -c -g -o a.o a.c
> $ gdb a.o
> (gdb) info file
Obviously this isn't the whole session, since you've skipped the
version string from GDB.
> Symbols from "/tmp/a.o".
> Local exec file:
> `/tmp/a.o', file type pe-i386.
> Entry point: 0x0
> 0x00000000 - 0x00000070 is .text
Support for debugging unlinked objects was added to GDB a couple
releases ago - for ELF. I do not know if it will work for pe-i386
or not.
--
Daniel Jacobowitz
CodeSourcery, LLC
next prev parent reply other threads:[~2005-03-01 14:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-01 9:14 Roopesh Kohad
2005-03-01 10:21 ` Ramana Radhakrishnan
2005-03-01 14:26 ` Daniel Jacobowitz [this message]
2005-03-01 11:20 Atul Talesara
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=20050301142608.GA4067@nevyn.them.org \
--to=drow@false.org \
--cc=gdb@sources.redhat.com \
--cc=roopesh.kohad@gmail.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