This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Help with GDB
- From: Momchil Velikov <velco at fadata dot bg>
- To: balteo at wanadoo dot fr
- Cc: gdb at sources dot redhat dot com
- Date: 02 Jul 2002 13:14:54 +0300
- Subject: Re: Help with GDB
- References: <3D2131B100024376@mel-rta9.wanadoo.fr>
>>>>> "Balteo" == Balteo <balteo@wanadoo.fr> writes:
Balteo> Hello,
Balteo> I am compiling a C program from several source files and the "list" comma=
Balteo> nd=20
Balteo> of gdb always results in a "init.c: no such file or directory". Note that=
Balteo> the=20
Balteo> problem does not happen when the program is made on only one source file.
Balteo> How can I make gdb work with several source files?
GDB works fine with several source files. Don't forget to add a line
number after the colon, i.e.,
l <file>:<line>
Regards,
-velco
PS. Probably you'll consider changing your MUA, SpamAssassin
classifies your message as spam.
SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: This mail is probably spam. The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM:
SPAM: Content analysis details: (9.1 hits, 5 required)
SPAM: FROM_NAME_NO_SPACES (-0.1 points) From: no spaces in name
SPAM: MSG_ID_ADDED_BY_MTA (4.0 points) 'Message-Id' was added by a relay
SPAM: INVALID_MSGID (1.8 points) Message-Id is not valid, according to RFC-2822
SPAM: DATE_IN_FUTURE_03_06 (3.4 points) Date: is 3 to 6 hours after Received: date
SPAM:
SPAM: -------------------- End of SpamAssassin results ---------------------