From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9117 invoked by alias); 7 Jan 2008 04:18:53 -0000 Received: (qmail 9109 invoked by uid 22791); 7 Jan 2008 04:18:52 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (213.8.233.22) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 07 Jan 2008 04:18:33 +0000 Received: from HOME-C4E4A596F7 ([81.5.33.65]) by nitzan.inter.net.il (MOS 3.7.3a-GA) with ESMTP id ITT12095 (AUTH halo1); Mon, 7 Jan 2008 06:15:17 +0200 (IST) Date: Mon, 07 Jan 2008 04:18:00 -0000 Message-Id: From: Eli Zaretskii To: "Doug Evans" CC: drow@false.org, gdb-patches@sources.redhat.com, ARistovski@qnx.com, gcc-patches@gcc.gnu.org, RMansfield@qnx.com In-reply-to: (dje@google.com) Subject: Re: [patch] IS_ABSOLUTE_PATH to handle both DOS and POSIX path st yles Reply-to: Eli Zaretskii References: <2F6320727174C448A52CEB63D85D11F40A58@nova.ott.qnx.com> <20080106054030.GA10410@caradoc.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-01/txt/msg00105.txt.bz2 > Date: Sun, 6 Jan 2008 13:07:25 -0800 > From: "Doug Evans" > Cc: drow@false.org, gdb-patches@sources.redhat.com, ARistovski@qnx.com, > gcc-patches@gcc.gnu.org, RMansfield@qnx.com > > What would the option apply to? How would the user know when and when > not to use it? I don't really understand the question. How would the user know when to use any other option? If they read the documentation and understand the issues, they will know. > One thing that occurs to me is what if I do "bash$ gdb > /prog/with/other/path/format"? Will gdb need to know the format > before the user gets a chance to specify the format? No. We were talking about finding sources given file names recorded in the debug info. Finding the program given the command-line arguments is not the same problem, and I don't thing GDB uses any of these macros to do that, or needs to.