From mboxrd@z Thu Jan 1 00:00:00 1970 From: maths To: gcc-help@gcc.gnu.org Subject: gdb with multiple files Date: Wed, 17 May 2000 17:29:00 -0000 Message-id: <16584.958609752.0@NO-ID-FOUND.mhonarc.org> X-SW-Source: 2000-05/msg00106.html hello everybody main() in main.c, functions in fun.c, functions declare in fun.h cc with -g switch open # cc -g -c -o main.o main.c # cc -g -c -o fun.o fun.c # cc -g -o foo main.o fun.o # gdb foo in gbd session type list can only get the codes in main.c, how can i find the codes in fun.c? and so i can insert a break point or something. many thanks! ************************************************************** zhang xiaolei Department of mathematics GuangZhou Normal University mailto: maths@21cn.com **************************************************************