SETUP: Install the 0.19.2 setup packages on a fresh copy of Windows 2003. CREATE: 1) a framework with one object, one factory method, and one C function and 2) a tool with one main function that references the framework and invokes the factory method and the C function. (Source code attached.)
The framework and tool program build, but the program crashes. So we want to debug it. PROBLEM: The GDB that is built into the 0.19.2 distribution would not debug my program. GDB Tool.exe # ~/.gdbinit does not get sourced break main # No source code pops up in Emacs run # Nothing at all happens! WORKAROUND ATTEMPT: I downloaded the latest GDB and built it (make --prefix=C:/GNUstep/mingw). The config complained that it did not see flex and bison, so I built those and then rebuilt GDB. RESULT: The new GDB successfully brings up the source code when I type "break main". It still does NOT source ~/.gdbinit. But it prints out the error when I try to run the program "gdb: unknown target". As for that error, see my email posted to help-gnustep. CONCLUSION / QUESTIONS: Was there a problem with the GDB built into the 0.19.2 setup packages? Why will GDB not source ~/.gdbinit ? Sam
_______________________________________________ Bug-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnustep
