Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* problems with disassembling a programm
@ 2001-12-03 16:03 Dmitry Mottl
  2001-12-03 16:20 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Mottl @ 2001-12-03 16:03 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problems with disassembling a programm
  2001-12-03 16:03 problems with disassembling a programm Dmitry Mottl
@ 2001-12-03 16:20 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2001-12-03 16:20 UTC (permalink / raw)
  To: Dmitry Mottl; +Cc: gdb

On Tue, 4 Dec 2001, Dmitry Mottl wrote:

> So, how can I disassemble the programme with no symbols in it?
> (If I don't use 'strip' all is going fine.)

Try displaying memory as insturctions, i.e, "x/20i ADDRESS".

Keith



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-04  0:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-03 16:03 problems with disassembling a programm Dmitry Mottl
2001-12-03 16:20 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox