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: [PATCH] python doc: Rework Breakpoint.__init__ doc


On 2017-12-09 03:20 AM, Eli Zaretskii wrote:
>>   - don't use spec and function/line/label/source at the same time
>>   - you should choose (exclusively) one form (the one that uses spec) or
>>     the other (the one that uses function/line/label/source)
> 
> My question was about the 2nd form only: which of the keywords can or
> cannot be used together, and what is the semantics of their
> combinations?  I suspect the rules are the same as with the CLI
> command, so I think we should either tell that or add a
> cross-reference to where that's described for CLI.

We already have a cross-reference to Explicit Locations, which is where
the meaning of these parameters is documented.

  This second form of creating a new breakpoint specifies the explicit location
  (see Explicit Locations) using key words. The new breakpoint will be created
  in the specified source file source, at the specified function, label and line.

Do you have any comments on v2?

Simon


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