Article View: gnu.gdb.bug
Article #1061Re: gdb show ?? symbols
From: 清水河
Date: Thu, 24 Dec 2009 01:25
Date: Thu, 24 Dec 2009 01:25
33 lines
2508 bytes
2508 bytes
On Dec 24, 2:00 am, Alexandre Rusev <aru...@ru.mvista.com> wrote: > 你好!;) > > 清水河 wrote: > > Hi, I tried to use gdb to debug kernel code. > > I compiled with -g -ggdb flags, but it seems gdb cannot show symbols > > correctly, instead it shows all ?? > > compile kernel with debug information. > In kernel compilation menu "make menuconfig" select Kernel > Hucking->Compile kernel with Debug information, > there are anumber of kernel debugging related options to turn on. > > Which processor architecture you compiling your kernel for? Hi, it is i386. Seems there is no "Compile kernel with Debug information" option, under "kernel debugging", there are several debug options, like "Debug shared IRQ handlers", "Detect Soft Lockups", etc, but which one is the option that have the source information? > > > Remote debugging using /dev/pts/11 > > 0xc0467118 in ?? () > > (gdb) where > > #0 0xc0467118 in ?? () > > #1 0xc077db2d in ?? () > > #2 0x00000000 in ?? () > > > how to solve this problem? > > _______________________________________________ > > bug-gdb mailing list > > bug-...@gnu.org > >http://lists.gnu.org/mailman/listinfo/bug-gdb
Technical Details
Message-ID:
<c94e73a4-2df8-4c7c-80ed-5d05ffd7ef90@o28g2000yqh.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o28g2000yqh.googlegroups.com!not-for-mailReferences:
<e213e2f9-def6-4107-8ab2-d9b1c0e9e6ad@t42g2000yqd.googlegroups.com> <mailman.85.1261591249.18930.bug-gdb@gnu.org>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,UTF8 Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!o28g2000yqh.googlegroups.com!not-for-mail From: 清水河 <hushan.jia@gmail.com> Newsgroups: gnu.gdb.bug Subject: Re: gdb show ?? symbols Date: Wed, 23 Dec 2009 17:25:21 -0800 (PST) Organization: http://groups.google.com Lines: 34 Message-ID: <c94e73a4-2df8-4c7c-80ed-5d05ffd7ef90@o28g2000yqh.googlegroups.com> References: <e213e2f9-def6-4107-8ab2-d9b1c0e9e6ad@t42g2000yqd.googlegroups.com> <mailman.85.1261591249.18930.bug-gdb@gnu.org> NNTP-Posting-Host: 66.187.233.202 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1261617921 21188 127.0.0.1 (24 Dec 2009 01:25:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 24 Dec 2009 01:25:21 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o28g2000yqh.googlegroups.com; posting-host=66.187.233.202; posting-account=LoOCOAoAAADcooyWENBSa-obhFXL2N5i User-Agent: G2/1.0 X-HTTP-Via: 1.1 file.rdu.redhat.com:8080 (squid/2.6.STABLE21) X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.12) Gecko/2009070811 Red Hat/3.0.12-1.el5_3 Firefox/3.0.12,gzip(gfe),gzip(gfe)