From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28842 invoked by alias); 4 Dec 2001 00:03:39 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 28806 invoked from network); 4 Dec 2001 00:03:34 -0000 Received: from unknown (HELO SRDMAIL.SINP.MSU.RU) (213.131.9.130) by sources.redhat.com with SMTP; 4 Dec 2001 00:03:34 -0000 Received: from dima (helo=localhost) by SRDMAIL.SINP.MSU.RU with local-esmtp (Exim 3.33 #3) id 16B33C-0004fY-00 for gdb@sourceware.cygnus.com; Tue, 04 Dec 2001 03:03:06 +0300 Date: Mon, 03 Dec 2001 16:03:00 -0000 From: Dmitry Mottl To: gdb@sourceware.cygnus.com Subject: problems with disassembling a programm Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2001-12/txt/msg00012.txt.bz2 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