Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Brian Dessent <brian@dessent.net>
To: Pedro Alves <pedro_alves@portugalmail.pt>
Cc: gdb-patches@sourceware.org, Daniel Jacobowitz <drow@false.org>,
	 	insight@sourceware.org
Subject: Re: syms_from_objfile() warnings and win32-nat.c IO redirection     (Was:   suppress annoying warnings about cygwin1.dbg)
Date: Sat, 13 Oct 2007 02:49:00 -0000	[thread overview]
Message-ID: <4710230D.43350523@dessent.net> (raw)
In-Reply-To: <47101DB4.6010204@portugalmail.pt>

Pedro Alves wrote:

> I shook a bit when I read "unusable" :)  That's a pretty strong word.

I consider having to dismiss a dozen spurious popups every time I run
the inferior to be unusable.

> I've had this fixed here for a while.  It goes on the direction of removing
> the warnings, and removing the warning suppressing on win32-nat.c.  Could
> you test it with cygwin1.dbg and with insight?

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
<http://gnu.org/licenses/gpl.html>
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

For these system DLLs that are not necessarily relevant to the user's
code it sort of feels rather spammy.

In insight the problem of "Reading symbols from ..." output screwing up
the source pane still exists, but I think that can be fixed with a tcl
regexp somewhere.

Brian


  reply	other threads:[~2007-10-13  1:44 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <46262D3A.8B1A0D15@dessent.net>
     [not found] ` <20070418150137.GA7338@trixie.casa.cgf.cx>
     [not found]   ` <46263710.D9755DAD@dessent.net>
     [not found]     ` <462639F3.FBCF4675@dessent.net>
     [not found]       ` <46264A56.BA86EED7@dessent.net>
2007-05-02 15:19         ` [patch ping] suppress annoying warnings about cygwin1.dbg Brian Dessent
2007-06-25 23:20           ` [patch ping^2] " Brian Dessent
2007-06-25 23:40             ` Pedro Alves
2007-06-25 23:52               ` Daniel Jacobowitz
2007-06-26  0:59                 ` Brian Dessent
2007-06-26  7:37                   ` Daniel Jacobowitz
2007-06-28  6:11                 ` syms_from_objfile() warnings and win32-nat.c IO redirection (Was: suppress annoying warnings about cygwin1.dbg) Brian Dessent
2007-06-28 12:44                   ` Daniel Jacobowitz
2007-10-11 20:26                     ` Daniel Jacobowitz
2007-10-13  0:09                       ` Brian Dessent
2007-10-13  1:44                         ` Pedro Alves
2007-10-13  2:49                           ` Brian Dessent [this message]
2007-10-13  3:33                             ` Pedro Alves
2007-10-13  6:03                               ` Brian Dessent
2007-10-24 19:06                           ` Daniel Jacobowitz
2007-10-29  3:06                             ` Pedro Alves
2007-10-29 12:33                               ` Pedro Alves
2007-10-29 12:57                                 ` Daniel Jacobowitz
2007-10-29 22:54                                   ` Pedro Alves
2007-10-30  4:05                                     ` Christopher Faylor
2007-10-30  9:02                                       ` Pedro Alves
2007-10-30  1:27                                   ` Christopher Faylor
2007-11-08 23:56                                     ` Pedro Alves
2007-11-09  1:35                                       ` Pedro Alves
2007-11-09 13:34                                         ` Christopher Faylor
2007-11-09 13:59                                           ` Pedro Alves
2007-11-09 13:59                                           ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4710230D.43350523@dessent.net \
    --to=brian@dessent.net \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=insight@sourceware.org \
    --cc=pedro_alves@portugalmail.pt \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox