Skip to contentSkip to conversation

request of suggestions for mini-OS debugger

DISCUSSION kim.jin 3 participants 6 messages Jan 13, 2011 – Jan 14, 2011

lore
Share & tools
lore

kim.jin

author
#0 lore raw

Hi all,
Do you think the mini-OS need debugger? I will try to implement it. I have two methods, first follow KDB, and the other follow KGDB. What's your opinions? And can you please give some suggestions? Waiting for your good ideas!

--------------
Best Regards!

Kim King
2011-01-13

#1 lore raw
Quoted 2 lines · kim.jin, le Thu 13 Jan 2011 19:04:57 +0800, a écrit :

Do you think the mini-OS need debugger? I will try to implement it. I have two methods, first follow KDB, and the other follow KGDB. What's your opinions? And can you please give some suggestions? Waiting for your good ideas!

I used to simply use the gdbserver that was in tools/debugger.

Samuel

author
#2 lore raw

Samuel Thibault
2011-01-13 19:45:17
kim.jin
xen-devel
Re: [Xen-devel] request of suggestions for mini-OS debugger

Quoted 7 lines
Quoted 2 lines · kim.jin, le Thu 13 Jan 2011 19:04:57 +0800, a écrit :

Do you think the mini-OS need debugger? I will try to implement it. I have two methods, first follow KDB, and the other follow KGDB. What's your opinions? And can you please give some suggestions? Waiting for your good ideas!

I used to simply use the gdbserver that was in tools/debugger.

Samuel

You mean it already work well for mini-OS, right? sound nice! But can it support source level debug? And how can I test the nice tool? I knew it little, thanks!

------------------
Best Regards!

Kim King
2011-01-13

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 10 lines · kim.jin, le Thu 13 Jan 2011 20:16:30 +0800, a écrit :

Re: [Xen-devel] request of suggestions for mini-OS debugger

Quoted 7 lines
Quoted 2 lines · kim.jin, le Thu 13 Jan 2011 19:04:57 +0800, a écrit :

Do you think the mini-OS need debugger? I will try to implement it. I have two methods, first follow KDB, and the other follow KGDB. What's your opinions? And can you please give some suggestions? Waiting for your good ideas!

I used to simply use the gdbserver that was in tools/debugger.

Samuel

You mean it already work well for mini-OS, right?

It used to, yes.

Quoted 1 line

sound nice! But can it support source level debug?

Just like usual gdb support.

Quoted 1 line

And how can I test the nice tool? I knew it little, thanks!

I can't find it in the xen tree any more, I don't know what happened to it.

Samuel

#4 lore raw
Quoted 14 lines · Samuel Thibault
Quoted 10 lines · kim.jin, le Thu 13 Jan 2011 20:16:30 +0800, a écrit :

Re: [Xen-devel] request of suggestions for mini-OS debugger

Quoted 7 lines
Quoted 2 lines · kim.jin, le Thu 13 Jan 2011 19:04:57 +0800, a écrit :

Do you think the mini-OS need debugger? I will try to implement it. I have two methods, first follow KDB, and the other follow KGDB. What's your opinions? And can you please give some suggestions? Waiting for your good ideas!

I used to simply use the gdbserver that was in tools/debugger.

Samuel

You mean it already work well for mini-OS, right?

It used to, yes.

Quoted 8 lines
Quoted 1 line

sound nice! But can it support source level debug?

Just like usual gdb support.

Quoted 1 line

And how can I test the nice tool? I knew it little, thanks!

I can't find it in the xen tree any more, I don't know what happened to it.

It was unloved and constantly broken so it was removed.

gdbsx is the replacement.

Ian.

author
#5 lore raw
In reply to Samuel Thibault

Wooo! It looks we have newer weapon. Can you help me to begin use it?

BTW, I will dig into the gdbsx, maybe also gdbserver. And my at last aim is: make debugging for mini-OS easy and powerfull enough. If anyone of you have interesting, WELCOME!

------------------
Best Regards!

Kim King
2011-01-14

-------------------------------------------------------------

Quoted 21 lines · Samuel Thibault
Quoted 20 lines
Quoted 10 lines · kim.jin, le Thu 13 Jan 2011 20:16:30 +0800, a écrit :

Re: [Xen-devel] request of suggestions for mini-OS debugger

Quoted 7 lines
Quoted 2 lines · kim.jin, le Thu 13 Jan 2011 19:04:57 +0800, a écrit :

Do you think the mini-OS need debugger? I will try to implement it. I have two methods, first follow KDB, and the other follow KGDB. What's your opinions? And can you please give some suggestions? Waiting for your good ideas!

I used to simply use the gdbserver that was in tools/debugger.

Samuel

You mean it already work well for mini-OS, right?

It used to, yes.

Quoted 1 line

sound nice! But can it support source level debug?

Just like usual gdb support.

Quoted 1 line

And how can I test the nice tool? I knew it little, thanks!

Quoted 9 lines
Quoted 2 lines

I can't find it in the xen tree any more, I don't know what happened to it.

It was unloved and constantly broken so it was removed.

gdbsx is the replacement.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel