From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBh1q-0000ND-GE for qemu-devel@nongnu.org; Wed, 25 Jun 2008 22:16:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBh1o-0000LE-Aj for qemu-devel@nongnu.org; Wed, 25 Jun 2008 22:16:05 -0400 Received: from [199.232.76.173] (port=51994 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBh1o-0000Kw-5N for qemu-devel@nongnu.org; Wed, 25 Jun 2008 22:16:04 -0400 Received: from ti-out-0910.google.com ([209.85.142.184]:40729) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBh1n-0007hl-NP for qemu-devel@nongnu.org; Wed, 25 Jun 2008 22:16:04 -0400 Received: by ti-out-0910.google.com with SMTP id y6so1977442tia.18 for ; Wed, 25 Jun 2008 19:16:01 -0700 (PDT) Message-ID: Date: Thu, 26 Jun 2008 09:16:00 +0700 From: "Mulyadi Santosa" Subject: Re: [Qemu-devel] Using GDB with Qemu : No Symbol Table? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi On Wed, Jun 25, 2008 at 11:41 PM, Atoosah wrote: > $gdb vmlinux > (gdb) target remote localhost:1234 > Remote debuggin using localhost:1234 > 0x0000fff0 in ?? () > (gdb) break main > No symbol table is loaded. Use the "file" command. > (gdb) c > Continuing. try to compile your kernel with CONFIG_DEBUG_INFO=y and CONFIG_FRAME_POINTER=y. Both will enable gdb to easily resolve symbol names into addresses and tracking down function call chain in stack frame. regards, Mulyadi.