LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-04-2009, 01:14 AM   #1
rshlinux
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Booting inux from a debugger


Hello,

I am running debian (lenny) on my laptop & kernel version is 2.6.31. Is there a way I can boot linux from a kernel debugger prompt? I believe KGDB requires a host & target.

My intention is to set breakpoints in the linux boot code & step through as it boots up. Is it possible to do this with just a single laptop? or I necessarily need another PC / host for debugging?

Please advice.

/R
 
Old 10-04-2009, 06:27 PM   #2
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
When you talk about booting, are you talking about the kernel loading or the OS loading? If you talk about the OS, it have nothing to do with kgdb, just add echo/read in init scripts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
shockwave for Madrake Inux linuxnewbieuser Linux - Newbie 1 02-16-2008 11:26 PM
how to print on a winxp-shared printer from inux? pusrob Linux - Networking 14 06-16-2006 05:33 AM
Run c++ executable as l inux system user? freakin'me Programming 7 10-09-2005 01:37 PM
Is this a standard notation in inux? ray5_83 Linux - General 3 08-04-2004 07:15 AM
building l;inux from a script in windows bob_man_uk General 1 04-20-2004 05:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration