Topic: Question in gdb


Author: malarvannan@vax1.umkc.edu
Date: 17 May 93 15:19:57 CST
Raw View
I have a problem in using gdb.

I am having one main executable file which has several included .h and .cc
files. Is there any way to go and see the contents of .cc file using gdb.

eg

my main.cc contains

#include "context.h"
#include "context.body"

main()
{
//....
}
     Now the command g++ -g main.cc -o context produces a context executable
file.
     Now the command gdb context takes me to gdb environment. Now I want to
examine the context.body file. How to do this?

     please reply to the following address

 malarvannan@vax1.umkc.edu

Thanks in advance

M.Malarvannan.