delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/03/08/13:56:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Joao Belo" <jbelo AT isel DOT pt>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: Debug problem
Date: Wed, 8 Mar 2000 18:53:07 -0000
Message-ID: <NDBBKFGCDKEECMHLHDNOIEECCBAA.jbelo@isel.pt>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Importance: Normal

(I'm reposting this message because I received no answers and I'm hoping it
was unnoticed... sorry for the inconvenience...)

Hi,

I've posted this message in 'gcc-bugs' but the problem seems to be
platform-specific.

I'm having a problem trying to debug C++ code with GDB. The problem is this:

	The ':n' command in GDB at line 8 of the following code makes the program
run to completion.

	1	void g()
	2	{
	3	}
	4
	5	template<class T>
	6	void f(T a)
	7	{
	8		g();
	9		g();
	10	}
	11
	12	int main()
	13	{
	14		f(1);
	15	}

	command line:

		g++ -g a.cc

I'm using gcc version 2.95.2 19991024 (release) with cygwin B20.
The problem occurs both with GNU gdb 19991101 and GNU gdb 4.17.1.

I suspect the problem is not in 'GDB' but in 'as'.

Does anyone knows (a solution to) this problem?

Thank you,
Joao Belo


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019