From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4153 invoked by alias); 13 Oct 2007 03:01:05 -0000 Received: (qmail 4134 invoked by uid 22791); 13 Oct 2007 03:01:02 -0000 X-Spam-Check-By: sourceware.org Received: from nf-out-0910.google.com (HELO nf-out-0910.google.com) (64.233.182.188) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 13 Oct 2007 03:00:56 +0000 Received: by nf-out-0910.google.com with SMTP id b11so957099nfh for ; Fri, 12 Oct 2007 20:00:53 -0700 (PDT) Received: by 10.78.21.7 with SMTP id 7mr2786459huu.1192244453518; Fri, 12 Oct 2007 20:00:53 -0700 (PDT) Received: by 10.78.192.16 with HTTP; Fri, 12 Oct 2007 20:00:53 -0700 (PDT) Message-ID: <4053daab0710122000t4dc45f97l9fdb8e76d022bf8b@mail.gmail.com> Date: Sat, 13 Oct 2007 03:33:00 -0000 From: "Pedro Alves" To: gdb-patches@sourceware.org Subject: Re: syms_from_objfile() warnings and win32-nat.c IO redirection (Was: suppress annoying warnings about cygwin1.dbg) Cc: "Daniel Jacobowitz" , insight@sourceware.org In-Reply-To: <4710230D.43350523@dessent.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070418150137.GA7338@trixie.casa.cgf.cx> <46803846.F99470AE@dessent.net> <46804DAD.4020309@portugalmail.pt> <20070625234015.GA17640@caradoc.them.org> <46833EB0.E8ABC8CB@dessent.net> <20070628104601.GA10328@caradoc.them.org> <20071011195327.GB8200@caradoc.them.org> <470FFB00.9909C731@dessent.net> <47101DB4.6010204@portugalmail.pt> <4710230D.43350523@dessent.net> X-Google-Sender-Auth: a4d1a22231951e98 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-10/txt/msg00353.txt.bz2 Brian Dessent wrote: > I had something like this in my tree in the past and it does in fact > kill the popups in insight, but the regular gdb output is still a lot > more chatty than it used to be: > > $ /build/combined/gdb/gdb hello > GNU gdb 6.7.50-20071012-cvs > Copyright (C) 2007 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show > copying" > and "show warranty" for details. > This GDB was configured as "i686-pc-cygwin"... > Reading symbols from /home/brian/hello.exe...done. > (gdb) start > Reading in symbols for hello.c...done. > Reading in symbols for hello.c...done. > Breakpoint 1 at 0x401065: file hello.c, line 4. > Reading symbols from /winxp/system32/ntdll.dll...done. > Reading symbols from /winxp/system32/kernel32.dll...done. > Reading symbols from /usr/bin/cygwin1.dll...Reading symbols from > /usr/bin/cygwin1.dbg...done. > done. > Reading symbols from /winxp/system32/advapi32.dll...done. > Reading symbols from /winxp/system32/rpcrt4.dll...done. > Reading symbols from /winxp/system32/secur32.dll...done. > Reading symbols from /winxp/system32/shimeng.dll...done. > [New thread 2816.0xa70] > Reading symbols from /winxp/system32/user32.dll...done. > Reading symbols from /winxp/system32/gdi32.dll...done. > main (argc=1, argv=0x6629f0) at hello.c:4 > 4 { > (gdb) n > 5 puts ("Hello world!"); > (gdb) n > 6 return 0; > (gdb) n > 7 } > (gdb) > Reading in symbols for > /usr/src/sourceware/winsup/cygwin/dcrt0.cc...done. > Reading in symbols for > /usr/src/sourceware/winsup/cygwin/cygtls.cc...done. > Hello world! > Reading symbols from /winxp/system32/psapi.dll...done. > > Program exited normally. > (gdb) quit > Doesn't happen here. Those messages should only show up when manually adding a symbol file, or when extra verbosity is requested by the user. Do you happen to have a "set verbose 1" in your .gdbinit file? -- Cheers, Pedro Alves