From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25135 invoked by alias); 25 Apr 2007 11:32:46 -0000 Received: (qmail 25127 invoked by uid 22791); 25 Apr 2007 11:32:46 -0000 X-Spam-Check-By: sourceware.org Received: from hb17.de (HELO ww17.hb17.de) (80.190.209.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 25 Apr 2007 12:32:44 +0100 Received: from insanenotebook (e182126182.adsl.alicedsl.de [85.182.126.182]) by ww17.hb17.de (ww17.hb17.de) with ESMTP id 7CA9811515EB for ; Wed, 25 Apr 2007 13:32:40 +0200 (CEST) From: "Sascha Radike" To: Subject: GDB likes .../src/main.c, but it does not like ..\src\main.c ? Date: Wed, 25 Apr 2007 11:32:00 -0000 Message-ID: <000001c7872d$713eaf00$02b2a8c0@insanenotebook> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00149.txt.bz2 Hi, I'm using GDB 6.5 and 6.6 (target = ARM, host = MinGW). Same for GCC. Let's say I compile a file like this: gcc -c -O0 -g -Ibla\blab\bla -osrc\main.o ..\src\main.c When I debug the excutable using GDB and I put a "break main.c:23" I'll get an error: No line 23 in file "..\src\main.c". But when I compile the file with slashes instead of back-slashes gcc -c -O0 -g -Ibla/blab/bla -osrc/main.o ../src/main.c "break main.c:23" will work. Why is that? The GDB which can be downloaded from MinGW does not seem to have this problem. Thanks Sascha