Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: .gdbinit files in the repository



On Wed, Nov 23, 2022 at 04:15:37PM -0500, Andrew Cagney wrote:
> On Tue, 22 Nov 2022 at 11:49, Thomas Klausner <wiz%netbsd.org@localhost> wrote:
> >
> > Hi!
> >
> > Should these files be there?
> >
> > /usr/src> find . -name .gdbinit
> > ./external/gpl3/binutils/dist/gprof/.gdbinit
> > ./external/gpl3/binutils.old/dist/gprof/.gdbinit
> > ./external/gpl3/gdb/dist/gdb/testsuite/gdb.base/gdbinit-history/unlimited/.gdbinit
> > ./external/gpl3/gdb/dist/gdb/testsuite/gdb.base/gdbinit-history/zero/.gdbinit
> > ./external/gpl3/gdb/dist/sim/ppc/.gdbinit
> > ./external/gpl3/gdb/dist/gprof/.gdbinit
> > ./external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/gdbinit-history/unlimited/.gdbinit
> > ./external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/gdbinit-history/zero/.gdbinit
> > ./external/gpl3/gdb.old/dist/sim/ppc/.gdbinit
> > ./external/lgpl3/gmp/dist/.gdbinit
> >
> > Looks to me like they should be deleted by the *2netbsd import preparation scripts.
> 
> Is there a problem?  For instance, removing
> gdb/testsuite/gdb.base/gdbinit-history/unlimited/.gdbinit would break
> that test (if someone were to desire to run it).

No problem - but usually dot files are not displayed (with ls) and
this could lead to surprises when you start gdb in those directories.
 Thomas


Home | Main Index | Thread Index | Old Index