Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1763059
  • 博文数量: 100
  • 博客积分: 10122
  • 博客等级: 上将
  • 技术积分: 4092
  • 用 户 组: 普通用户
  • 注册时间: 2005-07-04 20:28
文章分类

全部博文(100)

文章存档

2010年(2)

2009年(28)

2008年(70)

我的朋友

分类: LINUX

2008-07-23 00:03:20

很意外的,才知道,当用 qemu 的时候,连 KGDB 都不需要,直接 qemu -s -S 就可以了:)。所以原文有关部分稍微改了一下。
所以,qemu 可以这样启动:
qemu ${QEMU_ARGS} \
    -kernel "$VMLINUZ" \
    -S -s -p ${KGDB_TCPPORT} \
    -append "${KERNEL_CMDLINE}" \
    -hda "${QEMU_HDA}" >/dev/null &
脚本执行速度也快了很多。

--------------------------------------------------------------------
From:     ZC Miao
To:     Francis Moreau
Subject:     Re: Your very interesting blog about KGDB & QEMU
Date:     Tue, 22 Jul 2008 16:57:31 +0100
Mailer:     Evolution 2.22.3.1 (2.22.3.1-1.fc9)     


On Tue, 2008-07-22 at 17:18 +0200, Francis Moreau wrote:
> Hello,
>
> I found your blog at:
>
>     http://blog.chinaunix.net/u/8057/showart_1087126.html
>
> very interesting even if I don't speak/read chinese ;)
>
> I'm wondering if there's an advantage to use KGDB over qemu -s -S.
> Do you have any idea ?
>
> Thanks !
Hello,

Thanks for pushing me thinking about this, I didn't know this feature of
qemu before. And I tried "qemu -s -S" just now, it seems that every
thing went smoothly. Ok, so now I think is that: when we use qemu for
debugging, we don't need kgdb :[...

Well, that's a surprise to me. But I do need kgdb, because I want to
debug my tablet with kgdb anyway ;)

Thanks for your information!  
--
ZC Miao (hellwolf.misty@gmail.com)
Blog http://hellwolf.cublog.cn

gpg --keyserver pgp.mit.edu --recv-key 0x6B174C6F

I'd like MY data-base JULIENNED and stir-fried!
阅读(1634) | 评论(0) | 转发(0) |
0

上一篇:boost 1.35

下一篇:书目推荐 : W_ild Sw_ans

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