This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[review] [RFC][gdb] Make script-extension strict reject unknown extensions
- From: "Christian Biesinger (Code Review)" <gerrit at gnutoolchain-gerrit dot osci dot io>
- To: Tom de Vries <tdevries at suse dot de>, gdb-patches at sourceware dot org
- Cc: Christian Biesinger <cbiesinger at google dot com>
- Date: Wed, 16 Oct 2019 18:20:51 -0400
- Subject: [review] [RFC][gdb] Make script-extension strict reject unknown extensions
- Auto-submitted: auto-generated
- References: <gerrit.1571060583000.Ia357a4b0b1042808401578266da80919035ad576@gnutoolchain-gerrit.osci.io>
- Reply-to: cbiesinger at google dot com, tdevries at suse dot de, cbiesinger at google dot com, gdb-patches at sourceware dot org
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...