当前位置: 技术问答>linux和unix
关于内核调试的问题
来源: 互联网 发布时间:2016-02-12
本文导语: 今天在RH9下调试了一下0.11(下载编译好的linux-0.11-gdb-rh9-050619.tar.gz),但是单步调试的时候(step),跟不到函数里面.举个例子 138 if (!fork()) { /* we count on this going ok */ 139 ...
今天在RH9下调试了一下0.11(下载编译好的linux-0.11-gdb-rh9-050619.tar.gz),但是单步调试的时候(step),跟不到函数里面.举个例子
138 if (!fork()) { /* we count on this going ok */
139 init();
140 }
然后fork()就进不去了提示:
(gdb) s
Single stepping until exit from function timer_interrupt,
which has no line number information.
do_timer (cpl=126592) at sched.c:306
306 sched.c: 没有那个文件或目录.
linux文件夹里也有调度文件啊 ,问题比较弱智,还请老师们指教.
谢谢!
138 if (!fork()) { /* we count on this going ok */
139 init();
140 }
然后fork()就进不去了提示:
(gdb) s
Single stepping until exit from function timer_interrupt,
which has no line number information.
do_timer (cpl=126592) at sched.c:306
306 sched.c: 没有那个文件或目录.
linux文件夹里也有调度文件啊 ,问题比较弱智,还请老师们指教.
谢谢!
|
楼主,你的0.11和RH9太长时间了,如果你是学生话..
要不建议楼主早点用2.6和更新的系统:)
要不建议楼主早点用2.6和更新的系统:)
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。