This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
cygnus gdb and template
- To: egcs at cygnus dot com
- Subject: cygnus gdb and template
- From: Xiaomao Xiao <xiao at cmold dot com>
- Date: Sun, 4 Oct 1998 09:31:04 -0400 (EDT)
- Reply-To: xiao at cmold dot com
Hi there:
I tried to debug a c++ program which uses templates with cygnus. But I could
not see the source of the templates when I steped in to the template codes. I
thought I should include the path for the source files. But it didn't work
either. I even tried to put a template in a c++ source file directly. Though I
could see the source lines of the c++ codes, I still couldn't see the source
lines of the template. The gdb simply printed something like LMxxx(). Another
step command will quit the template immedialtely.
I tried the same program on Linux without any problems using the same compiler
options. Did I miss something?
Thanks.
--
Xiaomao
=================================================================
Xiaomao (Mark) Xiao E-Mail: xiao@cmold.com
C-MOLD TEL: (607) 257-4949 x 699
31 Dutch Mill Road FAX: (607) 257-6355
Ithaca, NY 14850 URL: http://www.cmold.com
=================================================================