From: maths <maths@21cn.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: gdb with multiple files
Date: Tue, 16 May 2000 02:35:00 -0000 [thread overview]
Message-ID: <200005160935.FAA18704@mescaline.gnu.org> (raw)
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
**************************************************************
next reply other threads:[~2000-05-16 2:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-16 2:35 maths [this message]
2000-05-17 17:29 maths
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200005160935.FAA18704@mescaline.gnu.org \
--to=maths@21cn.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).