This is the mail archive of the gdb@sources.redhat.com 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: How do I set breakpoints on all lines for a particular file.


Break at all functions in a particular file(.c file), can it be done?

Thanks and Regards
Deepak


-----Original Message-----
From: Andrew Cagney [mailto:cagney@gnu.org]
Sent: Sunday, February 29, 2004 9:34 AM
To: Kotian, Deepak
Cc: gdb@sources.redhat.com
Subject: Re: How do I set breakpoints on all lines for a particular
file.


> How do I set breakpoints in gdb on all lines for a a target program file.
> Basically, I need to know if any code segment is executed from
> that file.

Other than explicitly setting a breakpoint on every line, I don't know.

Andrew



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