From: gsaxena@cs.kent.edu
To: gdb@sources.redhat.com
Subject: Way for examining executing code in a different obj file
Date: Thu, 06 Oct 2005 01:06:00 -0000 [thread overview]
Message-ID: <50653.131.123.34.40.1128560803.squirrel@webmail.cs.kent.edu> (raw)
Dear folks at GDB,
I have the following program str:
[TXT] Makefile 05-Oct-2005 20:37 646
[TXT] common.h 05-Oct-2005 15:09 213
[TXT] control.cpp 30-Sep-2005 23:42 112
[TXT] control.h 03-Oct-2005 14:21 524
[IMG] image 29-Sep-2005 20:03 48K
[TXT] init.c 02-Oct-2005 02:39 4.6K
[TXT] init.h 29-Sep-2005 20:03 784
[TXT] initfile 02-Oct-2005 02:33 554
[TXT] main.cxx 05-Oct-2005 20:38 5.2K
[ ] main 05-Oct-2005 20:40 564K
[TXT] node.c 05-Oct-2005 20:40 2.2K
[TXT] node.h 03-Oct-2005 14:16 113
[ ] node 05-Oct-2005 20:40 888K
[TXT] ppm.c 29-Sep-2005 20:03 3.2K
[TXT] ppm.h 29-Sep-2005 20:03 310
[DIR] public_html/ 05-Oct-2005 18:40 -
[TXT] rand.cpp 02-Oct-2005 00:44 1.0K
[TXT] rand.h 02-Oct-2005 00:46 122
[TXT] script
main.cxx is the main UserInterface code running libraries from fltk.
node.c is also compiled into an object called node. The node is using
libraries from lam-mpi for parallel operations. When I run the program in
gdb, I can see lines from main.cxx but occasionally the code in node.c is
also executed. I haven't understood how I can access the line nos. I'm not
even sure if it is possible. Could someone let me know what I must do ?
Thanks,
G
next reply other threads:[~2005-10-06 1:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-06 1:06 gsaxena [this message]
2005-10-06 1:20 ` Daniel Jacobowitz
[not found] ` <1239.131.123.12.11.1128697249.squirrel@webmail.cs.kent.edu>
2005-10-07 15:09 ` Daniel Jacobowitz
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=50653.131.123.34.40.1128560803.squirrel@webmail.cs.kent.edu \
--to=gsaxena@cs.kent.edu \
--cc=gdb@sources.redhat.com \
/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).