Bochs (2.1.1) debugger causes segmentation faults when
gcc 3.4.0 has been used to compile the emulator (gcc
3.3.3 worked fine). Debugging with gdb showed that the
error might be in bx_debug/lexer.l at line 209:
"memcpy(buf, lex_input_ptr, max_size);".
When I changed the row to "strcpy(buf,
lex_input_ptr);", the error disappeared. Maybe this
caused some other problems or the actual error is
somewhere else but the debugger seems to be working.
Log in to post a comment.