This is the mail archive of the gdb-patches@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: RFA: match source code, not line numbers


On 11 Apr 2003 14:39:52 -0500, Jim Blandy <jimb at redhat dot com> said:
> David Carlton <carlton at math dot stanford dot edu> writes:

>> How about you add a comment like "// done-with-marker1" at the end
>> of both lines in question (in each test), and then put
>> 'done-with-marker1' in your regexp instead of the matches for the
>> bodies of the two lines?  That would satisfy my concerns, avoid the
>> need for gdb_get_line_number, and make the regexp a little simpler.

> I think that's a great idea.  How's this:

Lovely.

David Carlton
carlton at math dot stanford dot edu


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