Hi,

I'm using GDB with MinGW on WinXP. I've created a DLL that I'm trying
to debug in GDB. I get an error however when I try to set a
breakpoint ... below is a transcript of the problem. Any ideas how I
can find out more about this Input/Output error I'm having???

Jon


=======================================================

$ gdb --args tclsh tclsource
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(no debugging symbols found)
(gdb) dll-symbols app_dll_test.dll
(gdb) break Keypressloop_Init
Breakpoint 1 at 0x69e0118c: file app_dll_main.c, line 43.
(gdb) list Keypressloop_Init
38      int RedirectAfterCommand(Tcl_Interp *interp);
39      int RestoreAfterCommand(Tcl_Interp *interp);
40
41      EXTERN_C int DECLSPEC_EXPORT
42      Keypressloop_Init(Tcl_Interp* interp)
43      {
44
45      #ifdef USE_TCL_STUBS
46              Tcl_InitStubs(interp, "8.4", 0);
47      #endif
(gdb) run
Starting program: c:\Tcl\bin/tclsh.exe tclsource
[New thread 3628.0xe88]
(gdb) Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x69e0118c: Input/output error.
_______________________________________________
bug-gdb mailing list
bug-gdb@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gdb

Reply via email to