* "Question On Usage of Debbuger"
@ 2000-07-13 8:23 mallela keshav rao
2000-07-14 1:39 ` Andrew Cagney
0 siblings, 1 reply; 2+ messages in thread
From: mallela keshav rao @ 2000-07-13 8:23 UTC (permalink / raw)
To: gdb; +Cc: gdb-subscribe
Hi
my problem is
i want to debug my program which is having user defined header files and
when i am debugging it using NEXT(n) it is doing well. I wanted to debug
a function which is in header file using STEP (s) to compile single line
at a time.
so where i am supposed to keep debugger option for that.
i am using Makefile for compling the program.
Hope to see ur mail soon
thank u
u can mail the solution to mallelakeshavrao@usa.net
____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: "Question On Usage of Debbuger"
2000-07-13 8:23 "Question On Usage of Debbuger" mallela keshav rao
@ 2000-07-14 1:39 ` Andrew Cagney
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cagney @ 2000-07-14 1:39 UTC (permalink / raw)
To: mallela keshav rao; +Cc: gdb
mallela keshav rao wrote:
>
> Hi
> my problem is
> i want to debug my program which is having user defined header files and
> when i am debugging it using NEXT(n) it is doing well. I wanted to debug
> a function which is in header file using STEP (s) to compile single line
> at a time.
> so where i am supposed to keep debugger option for that.
> i am using Makefile for compling the program.
>
> Hope to see ur mail soon
> thank u
> u can mail the solution to mallelakeshavrao@usa.net
I can see two possible causes of the problem:
o Some debug formats (from memory dwarf-1)
simply do not include source code
information for included files
o given the function is in a header file
the compiler may have eliminated it.
Perhaphs provide more detail about your example - compiler, host/target
system, ... If you're using GCC then you can force the debug info type
-- gcc -gstabs ....
Andrew
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-07-14 1:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-13 8:23 "Question On Usage of Debbuger" mallela keshav rao
2000-07-14 1:39 ` Andrew Cagney
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).