From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20226 invoked by alias); 27 Sep 2003 18:48:45 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20213 invoked from network); 27 Sep 2003 18:48:44 -0000 Received: from unknown (HELO mail.zml.zoran.com) (199.203.69.11) by sources.redhat.com with SMTP; 27 Sep 2003 18:48:44 -0000 Received: from mikit ([192.168.85.213]) by mail.zml.zoran.com (8.11.6+Sun/8.11.12) with SMTP id h8RImbu09863 for ; Sat, 27 Sep 2003 21:48:38 +0300 (IDT) From: "Miki Tebeka" To: Subject: RE: GDB/ELF/Cygwin source path problem Date: Sat, 27 Sep 2003 18:58:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4925.2800 In-Reply-To: <3F710C4C@epostleser.online.no> X-SW-Source: 2003-09/txt/msg00341.txt.bz2 Hello Kris, >That worked fine until recent updates in Cygwin (around Sept. 1 2003) >environment. I now have problems with high level debugging due to that >the path information in the source files in most cases are missing. >The problem was introduced by simply updating Cygwin, ie. no changes >in Insight/GDB. > >(Source paths are typically missing if the source file is located >in the same directory as the compiler is running, something which >is what our make system usually does. If the source file is located >in for instance "../" relative to where the compiler is running, the >source path is seen. I have checked the ELF file, and source paths >are included for all files.) > >This is probably related to the symbol reader in GDB. I think that Cygwin >has changed somewhat with respect to fstat() contents etc. Try running gdb without the UI (gdb -nw) and see if the problem continues. If you're ok without UI then it's a tcl/tk problem and you need to have a look at the tcl source (libgui/library ?) HTH. Bye. ---------------------------------------------------------------------------- - Smile, damn it, smile. lambda msg: { 'name' : 'Miki Tebeka', 'email' : 'mikit@zoran.co.il', 'url' : ' http://www.cs.bgu.ac.il/~tebeka', 'quote' : 'The only difference between children and adults is the price of the toys' }[msg]