ChinaUnix.net
相关文章推荐:

kgdb 多核

使用kgdb2.4给2.6.13打补丁 ,补丁全部都贴上去了,没有报错,配置 make menuconfig没有问题,找到了KDGB的选项,使用8250串口调试,,make之后报错(不贴补丁编译不报错),出错内容如下: [root@localhost kernel-2.6.13]# make CHK include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* SYMLINK include/asm-arm/arch -> include/asm-arm/arch-s3c2410 make[1]: “arch/arm/kernel/asm-off...

by miaoronghua - 内核源码 - 2009-05-20 23:17:18 阅读(1531) 回复(7)

相关讨论

使用kgdb2.4给2.6.13打补丁 ,补丁全部都贴上去了,没有报错,配置 make menuconfig没有问题,找到了KDGB的选项,使用8250串口调试,,make之后报错(不贴补丁编译不报错),出错内容如下: [root@localhost kernel-2.6.13]# make CHK include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* SYMLINK include/asm-arm/arch -> include/asm-arm/arch-s3c2410 make[1]: “arch/arm/kernel/asm-off...

by miaoronghua - 嵌入式开发 - 2009-05-20 15:47:16 阅读(1109) 回复(0)

kgdb 参数解释 现在虽然能调试了,但是有点不对劲。 1)target remote连接上后,server端没有任何显示。"Waiting for connection from remote gdb..."这条信息应该在target上显示,但我并没有看到。 答:在早期的内核版本中可能看不到提示信息,因为kgdb使用early_param(),所以可能无法显示,应该正常。 2)调试的时候continue后,执行到一段后又回到了最开始的位置。 显示对于VFS加载错误。 答:可能是内核编译选项...

by emmoblin - Linux文档专区 - 2008-11-08 00:17:35 阅读(1180) 回复(0)

http://hi.baidu.com/wjq_qust/blog/item/1cb1dba20fab8eafcbefd00c.html 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/72457/showart_1133250.html

by zhaoyuaini - Linux文档专区 - 2008-08-18 15:22:44 阅读(564) 回复(0)

http://hi.baidu.com/wjq_qust/blog/item/1cb1dba20fab8eafcbefd00c.html 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/72457/showart_1133251.html

by zhaoyuaini - Linux文档专区 - 2008-08-18 15:22:44 阅读(529) 回复(0)

kgdb 的问题:在开发机上经过配置、编译等工作后,将内核映像文件vmlinuz-2.4.20和文件System,map拷贝到目标机的/boot目录,修改grub,启动kgdb内核, 目标机在启动过程中不停下来,一直启到login。这是设么原因?

by laizhenl - 内核/嵌入技术 - 2005-06-02 21:48:58 阅读(771) 回复(0)

kgdb 的问题:在开发机上经过配置、编译等工作后,将内核映像文件vmlinuz-2.4.20和文件System,map拷贝到目标机的/boot目录,修改grub,启动kgdb内核, 目标机在启动过程中不停下来,一直启到login。这是设么原因?

by laizhenl - 内核源码 - 2005-06-02 21:48:58 阅读(1052) 回复(0)

本帖最后由 yshihyu 于 2014-06-27 22:40 编辑 我看网路资料成功remote gdb 到 linux kernel gdb vmlinux b start_kernel target remote localhost:1234 c 不过我有个疑惑这样好像是开机流程, 有办法透过qemu + kgdb 其他kernel 运作吗? 例如想知道像是linux kernel suspend / resume 这样 qemu + kgdb 能办到吗? 或是我想在qemu 写个小程式 例如是 open 开档 之后 read/write , 我想知道 kernel 那边运作 这样有办法在...

by yshihyu - 内核源码 - 2014-06-27 22:39:27 阅读(711) 回复(0)

小弟请教一下关于kgdb补丁的事,http://kgdb.sourceforge.net/的kgdb还是以前的老版本,那后期的那些内核版本在哪里可以找得到啊。 谢谢

by ckf513728912 - 内核源码 - 2013-06-30 00:02:29 阅读(1257) 回复(2)

本帖最后由 yshihyu 于 2012-07-17 19:07 编辑 http://blog.sina.com.cn/s/blog_6daf09380100prc7.html 我照上面网址方式使用 qemu + kgdb 但是有些问题 会成下面这图 ,, 按gdb 按 c就卡在那 ... qemu 运行结果好像也不对 请问这是什么原因? 谢谢

by yshihyu - 内核源码 - 2012-06-06 09:31:25 阅读(1495) 回复(2)

同学们在bootloader里配置好关于kgdb的启动参数后,内核启动都是停止在什么地方等待remote gdb connection啊? kgbdoc=ttyS0,kgdbwait 我的是要等uart完全启动后,即就是tty layer启动后才停下来,Log如下: Linux version 2.6.31-1.2 (leon@leon) (gcc version 4.2.0 20070124 (prerelease) - BRCM 11ts-20090508) #7 Mon May 3 14:24:41 CST 2010 Fetching vars from bootloader... found 7 vars. Early serial console at MMIO...

by heberthe - 内核源码 - 2010-07-23 23:16:17 阅读(3627) 回复(10)