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#2 3/6] set auto-load local-gdbinit warn-and-*


On Thu, Apr 5, 2012 at 9:53 AM, Jan Kratochvil
<jan.kratochvil@redhat.com> wrote:
> On Thu, 05 Apr 2012 18:27:51 +0200, Doug Evans wrote:
>> "on" reads much better to me.
>
> "on" sure reads OK but do you read OK "warn-and-on" and "warn-and-off"?

on-and-warn?

At any rate, I wouldn't change it to "yes" just to change warn-and-on
to warn-and-yes.

>> > There are two possibilities:
>> > ?* Introduce new option some "set local-gdbinit-warning <boolean>" as
>> > ? suggested by Doug IIUC and technically keep everything boolean.
>>
>> For completeness sake,
>> I was suggesting making the option more general, applying to more to
>> more than just local-gdbinit (assuming more applications were readily
>> available).
>
> The warning is there duue to local-gdbinit (possible) deprecation. ?No other
> file is being deprecated.
>
> To apply it for example to use of deprecated GDB commands (and not files)
> I somehow find too unrelated, I do not see any need / usefulness of such
> warning.

Sure.  I don't have an opinion, it was just a suggestion.


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