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


Tom> I thought Andre's proposal about "set breakpoint syntax 2011" was
Tom> specifically for the CLI, where it would switch from linespec to
Tom> something new.  That's what I was responding to.

It occurred to me today that we could probably handle this via a new
option to "break" et al.

For the SystemTap probes rebase, after ambiguous linespecs are done, I'm
planning to add a "-p" option to mean "parse as a SystemTap probe":

    break -p provider:name

I think this doesn't clash with any historical use.

So, we could look for a flag first thing and switch to "split syntax":

    break -s sourcefile -f function -l line

I don't immediately see any problems with this.

Tom


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