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: [RFA] 12843


On 08/29/2011 12:46 PM, Tom Tromey wrote:

My first reaction is against this, but I don't have a particularly good
explanation for that.  I will think about it.

Is there actually any reason to require a flag? Couldn't we simply allow either a flag-based location _or_ a linespec, but not both, i.e.,


-insert-break -file foo.c -function my_function

OR

-insert-break foo.c:my_function

but not

-insert-break -file foo.c my_function

This would allow backward compatibility and new/better functionality.

I wouldn't be surprised if IDEs adopted the flag-based version very quickly.

Keith


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