From: Dmitry Mottl <dima@BigKing.sinp.msu.ru>
To: gdb@sourceware.cygnus.com
Subject: problems with disassembling a programm
Date: Mon, 03 Dec 2001 16:03:00 -0000 [thread overview]
Message-ID: <Pine.BSF.4.21.0112040257060.16540-100000@BigKing.sinp.msu.ru> (raw)
Hi, all
I write a simple program, named 'test' and compile it.
Next, I discard symbols from it:
$ strip test
and launch GDB:
$ gdb test
(gdb) info files
Symbols from "/usr/home/dima/test/asm/test".
Local exec file:
`/usr/home/dima/test/asm/test', file type elf32-i386.
Entry point: 0x8048083
0x08048080 - 0x080480ab is .text
0x080490ac - 0x080490ba is .data
(gdb) disas 0x8048083
No function contains specified address.
So, how can I disassemble the programme with no symbols in it?
(If I don't use 'strip' all is going fine.)
Thank You!
--
best regards,
Dmitry Mottl
next reply other threads:[~2001-12-04 0:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-03 16:03 Dmitry Mottl [this message]
2001-12-03 16:20 ` Keith Seitz
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=Pine.BSF.4.21.0112040257060.16540-100000@BigKing.sinp.msu.ru \
--to=dima@bigking.sinp.msu.ru \
--cc=gdb@sourceware.cygnus.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