From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18294 invoked by alias); 9 Nov 2007 13:59:11 -0000 Received: (qmail 18256 invoked by uid 22791); 9 Nov 2007 13:59:10 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 Nov 2007 13:59:04 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id EB53098353; Fri, 9 Nov 2007 13:59:01 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D31AD98100; Fri, 9 Nov 2007 13:59:01 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1IqUNw-0008L7-FS; Fri, 09 Nov 2007 08:59:00 -0500 Date: Fri, 09 Nov 2007 13:59:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Cc: Pedro Alves , insight@sourceware.org Subject: Re: syms_from_objfile() warnings and win32-nat.c IO redirection (Was: suppress annoying warnings about cygwin1.dbg) Message-ID: <20071109135900.GA31771@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org, Pedro Alves , insight@sourceware.org References: <470FFB00.9909C731@dessent.net> <47101DB4.6010204@portugalmail.pt> <20071024184207.GA10943@caradoc.them.org> <4725378D.5010800@portugalmail.pt> <4053daab0710290203q5aa79bam6a8e87e5c6a837ba@mail.gmail.com> <20071029123318.GA16009@caradoc.them.org> <20071030011953.GA28693@ednor.casa.cgf.cx> <4733A007.2040201@portugalmail.pt> <4733A059.6000609@portugalmail.pt> <20071109133408.GA15911@ednor.casa.cgf.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071109133408.GA15911@ednor.casa.cgf.cx> User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-11/txt/msg00200.txt.bz2 On Fri, Nov 09, 2007 at 08:34:08AM -0500, Christopher Faylor wrote: > >@@ -806,7 +738,7 @@ dll_symbol_command (char *args, int from > > args = newargs; > > } > > > >- safe_symbol_file_add (args, from_tty, NULL, 0, OBJF_SHARED | OBJF_USERLOADED); > >+ symbol_file_add (args, from_tty, NULL, 0, OBJF_SHARED | OBJF_USERLOADED); > > } > > > > /* Handle DEBUG_STRING output from child process. > > That would do it but removing that code would mean lots of console > chatter unless you're debugging with the most recent, unreleased version > of the DLL. I think we need to keep that code in gdb until the next version > of cygwin is released - and that is not even on the horizon yet. Would it? I don't think dll_symbol_command is automatically invoked (in fact I've never quite understood why Cygwin has extra DLL-related commands). -- Daniel Jacobowitz CodeSourcery