Thanks for the suggestion, however, I have already had a -ggdb flag on CFLAGS. The strange thing is that if I run "ddd exec", I can see all the source files within /exec (includes dxmods) but not uipp (which makes sense since dxexec does not use the GUI stuff). However, if I run "ddd dxui", I can only see files within the /uipp directories but not the codes in the /exec directories (which does not make sense to me since dxui still need to access dx kernel defined in /exec), so....
Jack On Tue, 18 Nov 2003, David L Thompson wrote: > If you can debug some but not others it just seems that the debug flag wasn't > on > when you compiled your modules. Drop to src/exec/dxmods, edit the Makefile > and add - > g to CFLAGS. Then make clean, and make. > > ---- Original Message ---- > From: Jack Chang > Date: Tue 11/18/03 9:13 > To: opendx deveoper network > Subject: [opendx-dev] is there a way to use gdb to trace codes > in /exec/dxmods? > > Hello, > > I am curious if there is a way to use gdb to trace codes in /exec/dxmods? > Is there a simple compilation/linking switch within the makefile which > will enable me to do so? I can trace most of the dx codes using the > debugger except the stuff within the /exec/dxmods. Please advise and thank > you very much for your help! > > Sicnerely, > > Jack Chang > > Pittsburgh Supercomputing Center > > >