This is the mail archive of the gdb-patches@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: PR10179, Add support to set a breakpoint at every function in a file


On 04/20/10 15:23, Michael Snyder wrote:
Chris Moller wrote:
Allows the argument to rbreak to specify a file to which to limit the regex search for function names. This allows, e.g.,

rbr file.c : .*

which sets bps in every function in the specified file.

I like the idea very much, but I don't quite understand the extra white space?



The whitespace is optional, included just for clarity. All the WS is stripped from both the filename and the regex before they're passed to the search.



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