is it possible to use gdb-stub under smp bochs

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
miaowei
Member
Member
Posts: 84
Joined: Wed Dec 18, 2013 9:10 am

is it possible to use gdb-stub under smp bochs

Post by miaowei »

who knows when gdb-stub will support multi-core debug? Or is there any patch?
Or, at least,is there any patch to enhance the internal debugger?
you may provide me some related websites, i am in china, and 'google' doesn't work well for goverment reasons.
Thanks!
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: is it possible to use gdb-stub under smp bochs

Post by stlw »

miaowei wrote:who knows when gdb-stub will support multi-core debug? Or is there any patch?
Or, at least,is there any patch to enhance the internal debugger?
you may provide me some related websites, i am in china, and 'google' doesn't work well for goverment reasons.
Thanks!
Try this. He is also from China
http://code.google.com/p/peter-bochs/

I am not aware of working gdb-stub patch which make it supporting SMP.
But what is wrong with inetnal Bochs GUI debugger ? How did you want to enhance it ?

Stanislav
miaowei
Member
Member
Posts: 84
Joined: Wed Dec 18, 2013 9:10 am

Re: is it possible to use gdb-stub under smp bochs

Post by miaowei »

stlw wrote:
miaowei wrote: But what is wrong with inetnal Bochs GUI debugger ? How did you want to enhance it ?
I write my os in C, i want to trace the source code when it stops at an instruction, not only in assemblely mode.
And, for example, if i want to 'watch read' a variable 'abc', i have to know abc's address first.
And, I want to get the information of a data-structure just using 'print stru_abc'.
I tried to write a a module for my os to parse .stab format, it works, but also has many bugs, i don't want to fix them because i doubt i am reinventing a wheel.
Post Reply