From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1854 invoked by alias); 24 Sep 2012 15:49:41 -0000 Received: (qmail 1843 invoked by uid 22791); 24 Sep 2012 15:49:39 -0000 X-SWARE-Spam-Status: No, hits=-4.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_NIX_SPAM,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 24 Sep 2012 15:49:25 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MAV006002LHPJ00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Mon, 24 Sep 2012 17:49:24 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAV006GC2MBHY50@a-mtaout20.012.net.il>; Mon, 24 Sep 2012 17:49:24 +0200 (IST) Date: Mon, 24 Sep 2012 15:49:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 2/2] Try to initialize data-directory by first searching for "data-directory" in the same directory as the gdb binary In-reply-to: To: Khoo Yit Phang Cc: khooyp@cs.umd.edu, brobecker@adacore.com, jan.kratochvil@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83lifzifpe.fsf@gnu.org> References: <21ACC598-F6B4-4117-BA7B-B316414DE9E3@cs.umd.edu> <20120919130040.GA20442@host2.jankratochvil.net> <20120921183122.GB8747@host2.jankratochvil.net> <20120922110822.GA28159@host2.jankratochvil.net> <78B3333C-92F9-474D-8352-087C5A0F575B@cs.umd.edu> <20120924072945.GA4146@adacore.com> <836273jy7s.fsf@gnu.org> <83y5jziieg.fsf@gnu.org> <890A9038-FD1F-41BE-9FCC-0C2FFBD5F646@cs.umd.edu> 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: 2012-09/txt/msg00511.txt.bz2 > From: Khoo Yit Phang > Date: Mon, 24 Sep 2012 11:27:20 -0400 > Cc: Eli Zaretskii , > brobecker@adacore.com, > jan.kratochvil@redhat.com, > gdb-patches@sourceware.org > > Come to think of it, with GDB's follow-exec-mode, making the redirector a C program installed as "gdb/gdb" that exec's "gdb/gdb-the-real-binary" should also allow running "gdb gdb/gdb" to work, shouldn't it? Only if follow-exec-mode works well (AFAIK, it doesn't on Windows). And even then, the user could find it surprising and unexpected.