bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Having trouble setting breakpoint


From: bluemooseking
Subject: Having trouble setting breakpoint
Date: Wed, 28 May 2008 11:50:06 -0700 (PDT)
User-agent: G2/1.0

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]