This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Way for examining executing code in a different obj file


On Wed, Oct 05, 2005 at 09:06:43PM -0400, gsaxena@cs.kent.edu wrote:
> 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 ?

Have you tried "list file:line", e.g. "list node.c:30"?

-- 
Daniel Jacobowitz
CodeSourcery, LLC


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]