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]

[review] [RFC][gdb] Make script-extension strict reject unknown extensions


Christian Biesinger has posted comments on this change.

Change URL: https://gnutoolchain-gerrit.osci.io/r/c/binutils-gdb/+/40
......................................................................


Patch Set 1:

> Patch Set 1:
> 
> > Patch Set 1:
> > 
> > A couple questions about this:
> > - If specified in -ix or a system gdbinit file, does it prevent reading ~/.gdbinit?
[...] 
> But for the system gdbinit, it's yes.
> 
> > - Does it prevent reading a file in --command if it doesn't have the extension?
> 
> Yes:
[...]

Hm, personally I would find that behavior surprising, especially for the gdbinit file. But I have no decision power here...



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