public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/2071: cin bug on solaris 2.6
@ 2001-04-30  5:16 Phil Edwards
  0 siblings, 0 replies; only message in thread
From: Phil Edwards @ 2001-04-30  5:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR libstdc++/2071; it has been noted by GNATS.

From: Phil Edwards <pedwards@disaster.jaj.com>
To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org,
        Theodore.Papadopoulo@sophia.inria.fr
Cc:  
Subject: Re: libstdc++/2071: cin bug on solaris 2.6
Date: Mon, 30 Apr 2001 06:53:48 -0400

 Well, I can't debug it.  GDB gets to the exact line which we'd like to
 examine, and hangs:
 
     % gdb -nw ./a.out
     (gdb) break main
     Breakpoint 1 at 0x10978: file /home0/pedwards/2071.cc, line 8.
     (gdb) run
     Starting program: /tmp/pedwards/./a.out
 
     Breakpoint 1, main () at /home0/pedwards/2071.cc:8
     8           int i=0;
     Current language:  auto; currently c++
     (gdb) n
     9           cin>>i;
     (gdb) s
 [hang until ^C pressed]
     ^C
     Program received signal SIGINT, Interrupt.
     0xff2194a8 in ?? ()
     (gdb)
 
 Can't debug without a debugger.  Don't know where to go from here.
 
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2071&database=gcc


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-30  5:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-30  5:16 libstdc++/2071: cin bug on solaris 2.6 Phil Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).