Spotlight | Reviews | Current Issue | Newsletter | Subscribe | Contact |
Departments

Partner Links
Website builder
WinWeb OnlineOffice
Shopping and price comparison with product reviews at dooyoo.co.uk

user friendly

CeBIT 2010

High-class talks around the clock in the Forum, non-commercial projects presenting their work, new developments at the largest IT fair in the world, CeBIT Open Source 2010 in Hanover, Germany.

Visit them in hall 2, March 2-6 or here.

  linux-magazine.com » Online » News » Still unclear whether kgdb debugger will find its way into Kernel  

Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg

Still unclear whether kgdb debugger will find its way into Kernel

Does the kgdb debugger still stand a chance of making it into the kernel? It might make it into the next release but one.

This question was raised by developer Mike Frysinger. The background is the unsettled history of the debugger. There was an attempt to merge the kdgb tree as early as 2004; its failure was due in part to resistance from Linus Torvalds, who isn't all that fond of the debugger. "I don't like debuggers. Never have, probably never will.", Linus stated in a posting to the following mailing list in the year 2000, going on to explain that he didn't want to make Kernel development too easy. Despite this, the debugger has still made its way into a number of patch sets for specific architectures, such as i386, x86_64, PPC and ARM in Andrew Morton's branch of the kernel.

Morton's response to Frysinger's question was that was "hoping for a 2.6.24 merge." He hadn't actually looked at the code himself, but he hoped that another kernel developer would review it soon. Morton's went on to say that they would just fix the code if it was broken – after all there were always bugs.

Kgdb debugger is a product by Linsyssoft Technologies. The free variant is released under the GPL. The commercial version offers extended functionality and costs around US$ 1500 per year.

Both versions are available as a kernel patch. To use kgdb for troubleshooting you need two computers linked either via the RS232 port or an Ethernet network (KGDBoE). The debug target runs the patched kernel, while the other host runs the GNU debugger. Communicationss between the two machines rely on the Gdb Remote Protocol.

(Jan Rähm)

Comments


Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg
Related Articles
Greg K-H Recommends New Kernel Version Naming
Linus Torvalds Upset over Ext3 and Ext4
Linux Foundation End User Summit: New BtrFS Filesystem and Knowledge Center
Torvalds Releases Kernel 2.6.32
iKit: Linux Netbook as Ultra-Mini
Security Models for the Kernel – Harsh Words from Torvalds
No More Downloads!

Save the download and take Linux Magazine DVDs instead.

Each DVD contains a full distro like Ubuntu, SUSE, Mandriva, Fedora, or Debian and comes with the corresponding issue of Linux Magazine.

Don't waste timedownloading Linux!

more...

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2010 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux Technical Review]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland]
International: [Linux Magazine Brazil] [EasyLinux Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]