public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Phil Edwards <pedwards@disaster.jaj.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: debug/1819: severe problems debugging c++-code (libstdc++)
Date: Sun, 01 Apr 2001 00:00:00 -0000	[thread overview]
Message-ID: <20010204193601.11734.qmail@sourceware.cygnus.com> (raw)

The following reply was made to PR debug/1819; it has been noted by GNATS.

From: Phil Edwards <pedwards@disaster.jaj.com>
To: schmid@snake.iap.physik.tu-darmstadt.de
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: debug/1819: severe problems debugging c++-code (libstdc++)
Date: Sun, 4 Feb 2001 14:42:39 -0500

 On Wed, Jan 31, 2001 at 05:27:40PM +0100, schmid@snake.iap.physik.tu-darmstadt.de wrote:
 > 
 > >Number:         1819
 > >Category:       debug
 > >Synopsis:       severe problems debugging c++-code (libstdc++)
 > >Confidential:   no
 > >Severity:       critical
 > >Priority:       medium
 > >Responsible:    unassigned
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Wed Jan 31 08:36:04 PST 2001
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Peter Schmid
 > >Release:        2.97 20010129 (experimental)
 > >Description:
 > Running the following program tp generates a segmentation
 > fault. If I set a breakpoint at the line std::cout << " "; of the
 > program tp and set into that function the debugger messages are
 > unusable. First the line number is out of bounce; the debugger
 > searche for a line with the number 635 instead of the correct line
 > number 213.
 
 This has been reported before, see the 7 messages beginning with
 < http://gcc.gnu.org/ml/gcc-bugs/2001-01/msg00169.html >.  It seems to occur
 when a header file #includes one of the .tcc files; the line numbers inside
 the .tcc file aren't counted from scratch.  (I think.)
 
 I can confirm other parts of this PR as well, but not all of it.
 
 
 > Secondly the type of __cout, basic_ostream<_CharT,
 > _Traits>&, is not detected.
 
 I don't know about that one.
 
 > After single stepping until somehow the
 > function   _S_pad_char is called, I encounter that the debugger jumps
 > up and down inside the body of the function as if the were a loop,
 > but there is not.
 
 This bit me the other day, trying to step through libstdc++ functions.
 Using 'n' would go from line N to N+1 to N to N+1 to N to N+30.  Really odd.
 
 > I tryed different versions of the gdb. All showed
 > the same behaviour. 
 
 All I've tried is CVS gdb, since that's the only one which properly supports
 CVS g++'s name mangling.
 
 
 Phil
 
>From nathan@gcc.gnu.org Sun Apr 01 00:00:00 2001
From: nathan@gcc.gnu.org
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: c++/1765
Date: Sun, 01 Apr 2001 00:00:00 -0000
Message-id: <20010129164600.9820.qmail@sourceware.cygnus.com>
X-SW-Source: 2001-q1/msg00803.html
Content-length: 500

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

From: nathan@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, nathan@codesourcery.com, nobody@gcc.gnu.org
Cc:  
Subject: Re: c++/1765
Date: 29 Jan 2001 16:36:54 -0000

 Synopsis: bogus warning with new pod struct ()
 
 State-Changed-From-To: open->analyzed
 State-Changed-By: nathan
 State-Changed-When: Mon Jan 29 08:36:54 2001
 State-Changed-Why:
     confirmed
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=1765&database=gcc
>From tromey@redhat.com Sun Apr 01 00:00:00 2001
From: Tom Tromey <tromey@redhat.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: java/2412: jv-scan reports parse error
Date: Sun, 01 Apr 2001 00:00:00 -0000
Message-id: <20010331001603.24420.qmail@sourceware.cygnus.com>
X-SW-Source: 2001-q1/msg02685.html
Content-length: 519

The following reply was made to PR java/2412; it has been noted by GNATS.

From: Tom Tromey <tromey@redhat.com>
To: Mika.Riekkinen@tellabs.com
Cc: gcc-gnats@gcc.gnu.org, Alexandre Petit-Bianco <apbianco@cygnus.com>
Subject: Re: java/2412: jv-scan reports parse error
Date: 30 Mar 2001 17:14:25 -0700

 FYI, Alex: I believe this PR is a duplicate of another PR.
 If/when you check in the fix, don't forget to close the other one.
 
 I wish we had an automatic way of making sure the two parsers stayed
 in sync.
 
 Tom


             reply	other threads:[~2001-04-01  0:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-01  0:00 Phil Edwards [this message]
2001-06-11 10:30 dberlin

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=20010204193601.11734.qmail@sourceware.cygnus.com \
    --to=pedwards@disaster.jaj.com \
    --cc=gcc-prs@gcc.gnu.org \
    --cc=nobody@gcc.gnu.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).