Chinaunix首页 | 论坛 | 博客
  • 博客访问: 181496
  • 博文数量: 13
  • 博客积分: 265
  • 博客等级: 二等列兵
  • 技术积分: 402
  • 用 户 组: 普通用户
  • 注册时间: 2012-07-16 17:19
文章分类

全部博文(13)

文章存档

2014年(2)

2013年(2)

2012年(9)

我的朋友

分类: LINUX

2012-07-16 17:21:32

    It is a starting. Yes, I am coming, Linux.

    At first, I need a tool to debug Linux kernel step by step. KGDB is very convenient. It's a source level debugger and it requires two machines, one is target machine in which linux kernel is running with KGDB enabled, the other is development machine, you can watch, trace, and set breakpoints by running gdb here.

    Actually you can install a virtualbox in your workstation instead of a real hardware as the target machine. you can get the package from virtualbox official website:      
   
It is free and opensource under GPL version 2; i386 for 32-bit OS and amd64 for 64-bit OS.

    After downloading deb file, you can install it by command(Ubuntu 64-bit):

  1. $sudo dpkg -i virtualbox-xxxx~Ubuntu~lucid_amd64.deb
     if some dependency packages(libqt4, libsdl, etc) is missing, you can install those by command:

  1. $ sudo apt-get install -f
  2. $ sudo apt-get install dkms
    Then you can install virtualbox successfully. Start your virtualbox by command:

  1. $ virtualbox
阅读(1251) | 评论(0) | 转发(0) |
0

上一篇:没有了

下一篇:Tips of gerrit & git

给主人留下些什么吧!~~