Page 1 of 1

HELP,HELP,HELP bochs&gdb warning

Posted: Sat Nov 17, 2007 10:31 am
by label_3162073
I debug progame with emacs and bochs

when I start bochs with gdbstub,and I input "target remote localhost:1234" in gdb..
it can debug, but it show me a warning:

(gdb) target remote localhost:1234
Remote debugging using localhost:1234
warning: unrecognized item "ENN" in "qSupported" response
0x00000000 in ?? ()


and next, I make a break point : break 0x10000 and input "cont" it show me

(gdb) break *0x10000
Note: breakpoint -2 also set at pc 0x10000.
Breakpoint 1 at 0x10000: file Kernel.cpp, line 18.
(gdb) cont
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x000088fd in ?? ()
(gdb)


and I can make a breakpoint but i can't next it show me:

Cannot find bounds of current function
(gdb) s
Cannot find bounds of current function
(gdb) s
Cannot find bounds of current function
(gdb) next
Cannot find bounds of current function



it is very strange,isn't it?

Posted: Sun Nov 18, 2007 7:35 am
by label_3162073
...up,up


help!!!

Posted: Sun Nov 18, 2007 8:44 am
by frank
Does your build of bochs have a debugger? If so you could use the debugger built into bochs instead of GDB until you figure out what was wrong with it. Its not as powerful but it gets the job done.