delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/23/07:59:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Auth-Info: Ph4mvy2lBfLHVu84HGDj11XXjo2eSM6uzY/jTi/Mtoc=
X-Auth-Info: BRw+EnIk7bVvjhuttglslm7xSyeRjF3JKjLlyq/Xvrk=
Message-ID: <4333EDF2.1000009@mnet-online.de>
Date: Fri, 23 Sep 2005 13:58:42 +0200
From: "Stefan v. Wachter" <svwa-dev AT mnet-online DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.7.6) Gecko/20050319
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Cc: svwa-dev AT mnet-online DOT de
Subject: gdb can't debug DLL extension for tcl/tk

I finally suceeded in building my extension for tcl/tk with gcc (compile 
option -mno-cygwin and -g) . I use the dll by starting the normal 
wish.exe from the ActiveTcl Windows distribution. Then I can the load 
DLL via "load aoext.dll"

This works, but debugging fails:
- I started ddd where the source files are,
- then I opened wish.exe as program,
- then I run the program with an argument containing my tcl script 
loading the DLL.
- After this I should be able to open the source files of my DLL, but 
the dialog doesn't show anything. Setting of breakpoints is impossible. 
The analogue procedure on Linux works.

Is  debugging of DLLs supported by gdb? The objdump tool shows me that  
the DLL contains debug information. I also tried to edit the gdp prefs 
for source dirs.
Is there anything  special I have to do? Do I have to use the cygwin 
built wish.exe? This would be difficult because there are some 
extensions missing (e.g. itcl).

Thanks for advise,
Stefan

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019