From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8187 invoked by alias); 11 Sep 2009 14:41:19 -0000 Received: (qmail 8168 invoked by uid 22791); 11 Sep 2009 14:41:17 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_55,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hel.is.scarlet.be (HELO hel.is.scarlet.be) (193.74.71.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Sep 2009 14:41:13 +0000 Received: from [172.17.1.10] (ip-81-11-243-105.dsl.scarlet.be [81.11.243.105]) by hel.is.scarlet.be (8.14.2/8.14.2) with ESMTP id n8BEeidG029757; Fri, 11 Sep 2009 16:40:45 +0200 Subject: Re: Build question From: Danny Backx Reply-To: danny.backx@scarlet.be To: tromey@redhat.com Cc: Eli Zaretskii , gdb-patches@sourceware.org In-Reply-To: References: <1250803105.11282.96.camel@pavilion> <83d46pgjkq.fsf@gnu.org> <1250877901.11282.116.camel@pavilion> <83ab1tgh9h.fsf@gnu.org> <1250880746.11282.128.camel@pavilion> <1250931899.11282.142.camel@pavilion> <83skfkfa4n.fsf@gnu.org> <1251095160.16357.352.camel@pavilion> <1251828295.6106.119.camel@pavilion> <83zl9e8nro.fsf@gnu.org> <1251835928.6106.124.camel@pavilion> <83vdk281xb.fsf@gnu.org> <1252143311.6106.252.camel@pavilion> <83eiql4blw.fsf@gnu.org> <1252440932.6106.336.camel@pavilion> Content-Type: text/plain Date: Fri, 11 Sep 2009 14:41:00 -0000 Message-Id: <1252680173.8804.25.camel@pavilion> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-DCC-scarlet.be-Metrics: hel 20001; Body=4 Fuz1=4 Fuz2=4 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: 2009-09/txt/msg00317.txt.bz2 On Wed, 2009-09-09 at 13:57 -0600, Tom Tromey wrote: > >>>>> "Danny" == Danny Backx writes: > Danny> Index: bfd/archive.c > Changes to BFD need approval from the binutils maintainers. > > Do you need most of these changes? I thought perhaps you would only > need a change in the one place where the DLL name is searched for on the > host filesystem. > > Danny> Index: gdb/top.c > Danny> +/* Filesystem type */ > Danny> +int have_dos_based_file_system = 0; > > Danny> Index: include/filenames.h > > include is part of libiberty, so you'll need approval from the libiberty > maintainers. > > Given that more programs than gdb use BFD and libiberty, you will at the > very least need to put have_dos_based_file_system elsewhere (i.e., in > libiberty). I'll create a version 3 of my patch (stripped down) and ask binutils and libiberty owners. I'll look into the other issue too (whether it would be possible to do the right thing when setting the variable in the middle of a session). Question : it looks like breaking a gdb-gdbserver session always kills the inferior. Or at least it does so on my target. Has this been subject of research yet ? I would expect it to be possible to detach without killing the inferior, much like you can when debugging a linux process from a linux gdb. Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info