From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9512 invoked by alias); 30 Jun 2009 21:49:39 -0000 Received: (qmail 9495 invoked by uid 22791); 30 Jun 2009 21:49:37 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_37,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Jun 2009 21:49:31 +0000 Received: from spaceape7.eur.corp.google.com (spaceape7.eur.corp.google.com [172.28.16.141]) by smtp-out.google.com with ESMTP id n5ULnSnR022687 for ; Tue, 30 Jun 2009 14:49:28 -0700 Received: from gxk27 (gxk27.prod.google.com [10.202.11.27]) by spaceape7.eur.corp.google.com with ESMTP id n5ULn8Kn032242 for ; Tue, 30 Jun 2009 14:49:26 -0700 Received: by gxk27 with SMTP id 27so1632736gxk.10 for ; Tue, 30 Jun 2009 14:49:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.54.6 with SMTP id c6mr7641445aga.29.1246398565481; Tue, 30 Jun 2009 14:49:25 -0700 (PDT) In-Reply-To: <200906222035.48910.pedro@codesourcery.com> References: <20090523232414.BED2B846C2@localhost> <200906222035.48910.pedro@codesourcery.com> Date: Tue, 30 Jun 2009 21:49:00 -0000 Message-ID: Subject: Re: [RFA] Fix too many "no debugging symbols found" warnings. From: Doug Evans To: Eli Zaretskii Cc: Tom Tromey , gdb-patches , Pedro Alves Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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: 2009-06/txt/msg00904.txt.bz2 On Mon, Jun 22, 2009 at 12:35 PM, Pedro Alves wrote: > On Monday 22 June 2009 18:52:40, Tom Tromey wrote: >=A0I like gdb's output with > Doug's suggestion. So we have two yeas and zero nays. Eli, are the docs ok? Copied below. Here's the original email: http://sourceware.org/ml/gdb-patches/2009-06/msg00495.html Index: NEWS =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/NEWS,v retrieving revision 1.313 diff -u -p -r1.313 NEWS --- NEWS 11 Jun 2009 11:57:46 -0000 1.313 +++ NEWS 18 Jun 2009 23:59:23 -0000 @@ -193,9 +193,10 @@ set sh calling-convention show sh calling-convention Control the calling convention used when calling SH target functions. -set print symbol-loading -show print symbol-loading - Control printing of symbol loading messages. +set print symbol-loading-warnings +show print symbol-loading-warnings + Control printing of warnings when auto-loading files without + debugging symbols. set debug timestamp show debug timestamp Index: doc/gdb.texinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.600 diff -u -p -r1.600 gdb.texinfo --- doc/gdb.texinfo 15 Jun 2009 12:11:36 -0000 1.600 +++ doc/gdb.texinfo 18 Jun 2009 23:59:24 -0000 @@ -12480,21 +12480,21 @@ is printed as follows: @item show opaque-type-resolution Show whether opaque types are resolved or not. -@kindex set print symbol-loading -@cindex print messages when symbols are loaded -@item set print symbol-loading -@itemx set print symbol-loading on -@itemx set print symbol-loading off -The @code{set print symbol-loading} command allows you to enable or -disable printing of messages when @value{GDBN} loads symbols. -By default, these messages will be printed, and normally this is what -you want. Disabling these messages is useful when debugging applications -with lots of shared libraries where the quantity of output can be more -annoying than useful. +@kindex set print symbol-loading-warnings +@cindex print warnings when auto-loading files without symbols +@item set print symbol-loading-warnings +@itemx set print symbol-loading-warnings on +@itemx set print symbol-loading-warnings off +The @code{set print symbol-loading-warnings} command allows you to enable = or +disable printing of warning messages when @value{GDBN} implicitly loads sy= mbols +for files. By default, these messages are disabled. +When debugging applications with lots of shared libraries the quantity +of output can be more annoying than useful. -@kindex show print symbol-loading +@kindex show print symbol-loading-warnings @item show print symbol-loading -Show whether messages will be printed when @value{GDBN} loads symbols. +Show whether warnings will be printed when @value{GDBN} implicitly loads +symbols for files. @kindex maint print symbols @cindex symbol dump