This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Fix too many "no debugging symbols found" warnings.

On Mon, Jun 22, 2009 at 12:35 PM, Pedro Alves<> wrote:
> On Monday 22 June 2009 18:52:40, Tom Tromey wrote:
>?I 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:

Index: NEWS
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
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 symbols
+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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]