This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problems with disassembling a programm


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]