From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14064 invoked by alias); 21 Aug 2014 00:16:16 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14044 invoked by uid 89); 21 Aug 2014 00:16:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,SPF_SOFTFAIL,URI_HEX autolearn=no version=3.3.2 X-HELO: sam.nabble.com Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 21 Aug 2014 00:16:13 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XKG31-0007Nt-Me for cygwin@cygwin.com; Wed, 20 Aug 2014 17:16:11 -0700 Date: Thu, 21 Aug 2014 00:16:00 -0000 From: DGStevens To: cygwin@cygwin.com Message-ID: <1408580171694-110722.post@n5.nabble.com> Subject: gdb 7.8 consistently fails to run executable - error is "dll path too long" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2014-08/txt/msg00401.txt.bz2 I'm unable to use gdb on any c/c++ executables. When I try, gdb issues the message "dll path too long" and fails to start the target executable. I know that I must be doing something stupid, but it's escaping me. The only forum discussion that I could find suggested using mintty, which I am. I did see mention of a known bug in gdb, but no suggested workarounds, other than running in mintty. The following test case is the simplest that I could manage. I see the same failure with both 'C' and C++ files (gcc and g++, respectively). I'm running Win7, with the old 32-bit cygwin. cygcheck.txt should be attached. $> cat gdbtst.c #include int main(int argc, char *argv[]) { printf("Hello World!\n"); } $> gcc --version gcc (GCC) 4.8.3 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $> gcc -g gdbtst.c -o gdbtst.exe $> gdbtst.exe Hello World! $> gdb gdbtst.exe GNU gdb (GDB) 7.8 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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-cygwin". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from gdbtst.exe...done. (gdb) break main Breakpoint 1 at 0x4011be: file gdbtst.c, line 4. (gdb) step The program is not being run. (gdb) run Starting program: /home/Deans/SBX/Samples/gdbtst.exe [New Thread 34472.0x8ad8] dll path too long (gdb) step Cannot execute this command while the selected thread is running. (gdb) quit A debugging session is active. Inferior 1 [process 34472] will be killed. Quit anyway? (y or n) y $> cygcheck -s -v -r >cygcheck.txt cygcheck.txt -- View this message in context: http://cygwin.1069669.n5.nabble.com/gdb-7-8-consistently-fails-to-run-executable-error-is-dll-path-too-long-tp110722.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple