[hellogcc] Re: [hellogcc] 内核调试问题

  • From: Jia Liu <proljc@xxxxxxxxx>
  • To: hellogcc@xxxxxxxxxxxxx
  • Date: Wed, 26 Sep 2012 14:29:47 +0800

2012/9/26 horse_rivers <horse_rivers@xxxxxxx>:
> HI,
>
>  问题背景:
>
>  在make生成一个包含内核调试信息的elf文件后,使用builder工具把文件和系统引导启动模块一起写入Image文件。

You should exactly explain what the builder tool is.

>
>  问题: 如果我使用gdb 远程调试这个内核, 
> 在gdb端使用编译生成的符号文件,在目标端使用Image启动,当我在gdb端对main函数入口处下一个breakpoint,那么目标端会同样地址处下一个breakpoin吗?或者说目标端的
>
>  gdb stub 会怎样处理这个breakpoint?
>

And, are you really using GNU Debugger?

If you are using other compiler&debugger, we may NOT able to help you.

>
>
> 谢谢!
>
>

Other related posts: