[RFC]: new set breakpoint pending and show breakpoint pending commands
Jeff Johnston
jjohnstn@redhat.com
Thu Feb 26 20:06:00 GMT 2004
Double Ping ...
Jeff Johnston wrote:
> Ping...[excluding Eli who graciously reviewed the doc change]
>
> Jeff Johnston wrote:
>
>> The following patch adds a setting to control how gdb creates pending
>> breakpoints. At Andrew's suggestion, I have made the setting a
>> subsetting of breakpoint so future breakpoint settings will all be
>> grouped together.
>>
>> The setting is an auto boolean and has three settings: on, off, and
>> auto. The default behavior is auto which is the current default
>> behavior of querying before setting a pending breakpoint. The on
>> setting causes pending breakpoints to be created automatically without
>> prompting and the off setting causes no pending breakpoints to be
>> created. The off setting causes an error to occur which matches the
>> previous behavior Andrew was seeing with regard to scripts.
>>
>> I have included a doc patch but will wait on posting a change to
>> pending.exp until everyone is ok with the interface. A change is not
>> required to make pending.exp work, it would just exercise the new
>> functionality. I have tested the new settings manually.
>>
>> Ok?
>>
>> -- Jeff J.
>>
>> gdb/ChangeLog:
>>
>> 2004-02-10 Jeff Johnston <jjohnstn@redhat.com>
>>
>> * breakpoint.c (pending_break_support): New setting variable.
>> (break_command_1): Account for pending_break_support setting
>> when creating pending breakpoints.
>> (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
>> (_initialize_breakpoint): Add "set breakpoint pending" and
>> "show breakpoint pending" commands.
>>
>> doc/ChangeLog:
>>
>> 2004-02-10 Jeff Johnston <jjohnstn@redhat.com>
>>
>> * gdb.texinfo (breakpoints): Add information about the
>> new "set breakpoint pending" and "show breakpoint pending"
>> commands.
>>
>>
>>
>
>
More information about the Gdb-patches
mailing list