Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2000 14:15:57 -0400
From:      "Christopher Harrer" <charrer@alacritech.com>
To:        "Freebsd-Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   On-line Kernel Debugging with GDB
Message-ID:  <POELKPJGDHAPIPMEMHGAAECHCDAA.charrer@alacritech.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C0230D.4B909F10
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hello All,

I found an article about remote kernel debugging using GDB.  I have a
question about starting starting GDB on the debugging machine.

The article states to start gdb in the directory where I built the kernel
(for the target) and enter the command:

gdb -k kernel

I do this and gdb starts fine, but no symbols are loaded.  I went to the GDB
web site and can't find any explanation for the -k option.  Does anyone know
what the -k means and also if there's anything else I need to supply on the
start line to make sure I get my symbols for the kernel loaded?

Thanks!

Chris


------=_NextPart_000_0007_01C0230D.4B909F10
Content-Type: application/ms-tnef;
	name="winmail.dat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="winmail.dat"

eJ8+IjkSAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANAHCQAUAA4ADwAAAAMAFAEB
A5AGALAGAAAmAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB
AAAAIgAAAE9uLWxpbmUgS2VybmVsIERlYnVnZ2luZyB3aXRoIEdEQgAAAAIBcQABAAAAFgAAAAHA
Iy7R3mUWJKzZ/0lbmYcXPGi+c9gAAAIBHQwBAAAAHAAAAFNNVFA6Q0hBUlJFUkBBTEFDUklURUNI
LkNPTQALAAEOAAAAAEAABg4A6lGwLiPAAQIBCg4BAAAAGAAAAAAAAAB9dTnDQNb+S6+WSnq2B4e2
woAAAAsAHw4BA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AAAAAAAAAAAAISGhISGhISG
hISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISG
hISGhISGhISGhISGhISGhISGhISGhISGhISGhAAAAISGhMbHxsbHxsbHxsbHxsbHxsbHxsbHxsbH
xsbHxsbHxsbHxsbHxv//////////////////////////////////////////////////////////
/////////4SGhAAAAISGhMbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxv//////
/////////////////////////////////////////////////////////////4SGhAAAAISGhMbH
xsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxv//////////////////////////////
/////////////////////////////////////4SGhAAAAISGhMbHxsbHxsbHxsbHxsbHxsbHxsbH
xsbHxsbHxsbHxsbHxsbHxv///4SGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISG
hISGhISGhP///4SGhAAAAISGhMbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxv//
/////////////////////////////////////////////////////////////////4SGhAAAAISG
hMbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxv///4SGhISGhISGhISGhISGhISG
hISGhISGhISGhISGhISGhISGhISGhISGhISGhP///4SGhAAAAISGhMbHxsbHxsbHxsbHxsbHxsbH
xsbHxsbHxsbHxsbHxsbHxsbHxv//////////////////////////////////////////////////
/////////////////4SGhAAAAISGhMbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbHxsbH
xv///4SGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhP///4SGhAAA
AISGhMbHxoSGhISGhISGhISGhISGhISGhISGhISGhISGhMbHxsbHxv//////////////////////
/////////////////////////////////////////////4SGhAAAAISGhMbHxoSGhAAAAISGAISG
AAAAAAAAAISGAAAAAISGhMbHxsbHxv//////////////////////////////////////////////
/////////////////////4SGhAAAAISGhMbHxoSGhISGhAAAAAAAAP///////wAAAISGhISGhMbH
xsbHxv///////////////////////////////////////////////////////////////////4SG
hAAAAISGhMbHxoSGhISGhAAAAP///////wAAAAAAAISGhISGhMbHxsbHxv///4QAAIQAAIQAAIQA
AIQAAIQAAIQAAIQAAIQAAIQAAIQAAIQAAIQAAIQAAIQAAP///4SGhAAAAISGhMbHxoSGhAAAAAAA
AAAAAP///////////wAAAISGhMbHxsbHxv///4QAAIQAAIQAAIQAAIQAAIQAAIQAAIQAAIQAAIQA
AIQAAIQAAIQAAIQAAIQAAP///4SGhAAAAISGhMbHxgAAAMbHxsbHxv///////////////wAAAISG
hMbHxsbHxv//////////////////////////////////////////////////////////////////
/4SGhAAAAISGhMbHxgAAAMbHxsbHxgAAAP///////////////wAAAMbHxsbHxv//////////////
/////////////////////////////////////////////////////4SGhAAAAISGhMbHxgAAAMbH
xsbHxgAAAP///////wAAAAAAAISGhMbHxsbHxv//////////////////////////////////////
/////////////////////////////4SGhAAAAISGhMbHxgAAAMbHxsbHxsbHxgAAAP///////wAA
AISGhMbHxsbHxv//////////////////////////////////////////////////////////////
/////4SGhAAAAISGhMbHxoSGhAAAAMbHxsbHxsbHxsbHxsbHxgAAAISGhMbHxsbHxv//////////
/////////////////////////////////////////////////////////4SGhAAAAISGhMbHxoSG
hISGhAAAAAAAAAAAAAAAAAAAAISGhISGhMbHxsbHxv//////////////////////////////////
/////////////////////////////////4SGhAAAAISGhMbHxsbHxsbHxsbHxsbHxsbHxsbHxsbH
xsbHxsbHxsbHxsbHxv//////////////////////////////////////////////////////////
/////////4SGhAAAAISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISG
hISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhISGhAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAC4PAgWQBgCgAQAAEQAA
AAMAIA5zEAAAHgABMAEAAAAXAAAAQ2hyaXN0b3BoZXIgSGFycmVyLnZjZgAAAgECNwEAAAAAAAAA
HgADNwEAAAAFAAAALnZjZgAAAAADAAU3AQAAAB4ABzcBAAAAFwAAAENocmlzdG9waGVyIEhhcnJl
ci52Y2YAAAMACzf/////AwD6fwAAAABAAPt/AEDdo1dFswxAAPx/AEDdo1dFswwDAP1/AAAAAAsA
/n8AAAAAAwAhDiXdAAACAfgPAQAAABAAAAB9dTnDQNb+S6+WSnq2B4e2AgH6DwEAAAAQAAAAfXU5
w0DW/kuvlkp6tgeHtgIB+w8BAAAAlwAAAAAAAAA4obsQBeUQGqG7CAArKlbCAABQU1RQUlguRExM
AAAAAAAAAABOSVRB+b+4AQCqADfZbgAAAEM6XERvY3VtZW50cyBhbmQgU2V0dGluZ3NcY2hyaXNc
TG9jYWwgU2V0dGluZ3NcQXBwbGljYXRpb24gRGF0YVxNaWNyb3NvZnRcT3V0bG9va1xvdXRsb29r
LnBzdAAAAwD+DwcAAACPcA==

------=_NextPart_000_0007_01C0230D.4B909F10--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?POELKPJGDHAPIPMEMHGAAECHCDAA.charrer>