public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Help with GDB
@ 2002-07-02  2:28 Balteo
  2002-07-02  3:15 ` Momchil Velikov
  0 siblings, 1 reply; 2+ messages in thread
From: Balteo @ 2002-07-02  2:28 UTC (permalink / raw)
  To: gdb

Hello,
I am compiling a C program from several source files and the "list" command 
of gdb always results in a "init.c: no such file or directory". Note that the 
problem does not happen when the program is made on only one source file.
How can I make gdb work with several source files?
Thanks in advance,
Balteo.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Help with GDB
  2002-07-02  2:28 Help with GDB Balteo
@ 2002-07-02  3:15 ` Momchil Velikov
  0 siblings, 0 replies; 2+ messages in thread
From: Momchil Velikov @ 2002-07-02  3:15 UTC (permalink / raw)
  To: balteo; +Cc: gdb

>>>>> "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 ---------------------

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-02 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-02  2:28 Help with GDB Balteo
2002-07-02  3:15 ` Momchil Velikov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).