cygnus gdb and template
Xiaomao Xiao
xiao@cmold.com
Sun Oct 4 06:43:00 GMT 1998
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
=================================================================
More information about the Gcc
mailing list