HELP,HELP,HELP bochs&gdb warning

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
label_3162073
Posts: 6
Joined: Sat Jul 14, 2007 3:05 am

HELP,HELP,HELP bochs&gdb warning

Post 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?
label_3162073
Posts: 6
Joined: Sat Jul 14, 2007 3:05 am

Post by label_3162073 »

...up,up


help!!!
frank
Member
Member
Posts: 729
Joined: Sat Dec 30, 2006 2:31 pm
Location: East Coast, USA

Post 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.
Post Reply