This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Debug problem
- To: <cygwin at sourceware dot cygnus dot com>
- Subject: Debug problem
- From: "Joao Belo" <jbelo at isel dot pt>
- Date: Wed, 1 Mar 2000 11:16:57 -0000
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'.
Is this known behavior?
Thank you,
Joao Belo
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com