🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1060

Re: gdb show ?? symbols

#1060
From: Alexandre Rusev
Date: Wed, 23 Dec 2009 18:00
26 lines
2549 bytes
你好!;)

清水河 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?
> 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-gdb@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-gdb
>   
Technical Details
Message-ID: <mailman.85.1261591249.18930.bug-gdb@gnu.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!news.isc.org!usenet.stanford.edu!news.stanford.edu!not-for-mail
References: <e213e2f9-def6-4107-8ab2-d9b1c0e9e6ad@t42g2000yqd.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f0ead4270c,955655e246b1cee4
X-Google-Attributes: gidf0ead4270c,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,UTF8
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!news.isc.org!usenet.stanford.edu!news.stanford.edu!not-for-mail
From: Alexandre Rusev <arusev@ru.mvista.com>
Newsgroups: gnu.gdb.bug
Subject: Re: gdb show ?? symbols
Date: Wed, 23 Dec 2009 21:00:31 +0300
Lines: 29
Approved: bug-gdb@gnu.org
Message-ID: <mailman.85.1261591249.18930.bug-gdb@gnu.org>
References: <e213e2f9-def6-4107-8ab2-d9b1c0e9e6ad@t42g2000yqd.googlegroups.com>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.stanford.edu 1261591250 18655 199.232.76.165 (23 Dec 2009 18:00:50 GMT)
X-Complaints-To: news@news.stanford.edu
Cc: bug-gdb@gnu.org
To: 清水河 <hushan.jia@gmail.com>
Envelope-to: bug-gdb@gnu.org
User-Agent: Thunderbird 1.5.0.8 (X11/20060911)
In-Reply-To: <e213e2f9-def6-4107-8ab2-d9b1c0e9e6ad@t42g2000yqd.googlegroups.com>
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6,
 seldom 2.4 (older, 4)
X-BeenThere: bug-gdb@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gdb>
List-Post: <mailto:bug-gdb@gnu.org>
List-Help: <mailto:bug-gdb-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=subscribe>