Page 1 of 1

is it possible to use gdb-stub under smp bochs

Posted: Wed Dec 18, 2013 9:37 am
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!

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

Posted: Wed Dec 18, 2013 2:11 pm
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

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

Posted: Wed Dec 18, 2013 9:20 pm
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.