🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1057

gdb show ?? symbols

#1057
From: 清水河
Date: Wed, 23 Dec 2009 04:36
12 lines
1514 bytes
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 ??

Remote debugging using /dev/pts/11
0xc0467118 in ?? ()
(gdb) where
#0  0xc0467118 in ?? ()
#1  0xc077db2d in ?? ()
#2  0x00000000 in ?? ()

how to solve this problem?
Technical Details
Message-ID: <e213e2f9-def6-4107-8ab2-d9b1c0e9e6ad@t42g2000yqd.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!t42g2000yqd.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f0ead4270c,955655e246b1cee4,start
X-Google-Attributes: gidf0ead4270c,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!t42g2000yqd.googlegroups.com!not-for-mail
From: 清水河 <hushan.jia@gmail.com>
Newsgroups: gnu.gdb.bug
Subject: gdb show ?? symbols
Date: Tue, 22 Dec 2009 20:36:48 -0800 (PST)
Organization: http://groups.google.com
Lines: 12
Message-ID: <e213e2f9-def6-4107-8ab2-d9b1c0e9e6ad@t42g2000yqd.googlegroups.com>
NNTP-Posting-Host: 66.187.233.202
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Trace: posting.google.com 1261543008 26036 127.0.0.1 (23 Dec 2009 04:36:48 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 23 Dec 2009 04:36:48 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: t42g2000yqd.googlegroups.com; posting-host=66.187.233.202; 
 posting-account=LoOCOAoAAADcooyWENBSa-obhFXL2N5i
User-Agent: G2/1.0
X-HTTP-Via: 1.0 file.rdu.redhat.com:8080 (squid/2.6.STABLE21)
X-HTTP-UserAgent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.2.15 
 Version/10.10,gzip(gfe),gzip(gfe)