In "normal" bochs i was able to setup breakpoints, for example:
Normal bochs session wrote:
1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Begin simulation
6. Quit now
Please choose one: [5]
Next at t=0
(0) [0x000ffff0] f000:fff0 (unk. ctxt): jmp f000:e05b ; ea5be000f0
<bochs:1> b 0x7c00
And now I have a problem in repeating this using gdb-stub, bochs was compiled with
configure option wrote:./configure --enable-gdb-stub
, starting session results in
bochs output wrote:
1. Restore factory default configuration
2. Read options from...
3. Edit options
4. Save options to...
5. Begin simulation
6. Quit now
Please choose one: [5]
Waiting for gdb connection on localhost:1234
gdb successfuly connects with
gdb command wrote:target remote localhost:1234
then give me
gdb message wrote:Remote debugging using localhost:1234
0x0000fff0 in ?? ()
But trying to setup breakpoints results in:
trying to b 0x7c00 wrote:
(gdb) b 0x7c00
No symbol table is loaded. Use the "file" command.
(gdb)
So, gdb cant find information about symbol table in executable image, i can issue some "si" instruction, but cant set breakpoints and stuff. I tryed to "cont" and "contr-c" later, but after that i still cant set breakpoints, what am I doing wrong, help me please...