This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Display configuration details in --help
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: dje at google dot com, gdb-patches at sourceware dot org
- Date: Thu, 21 Mar 2013 20:39:34 +0200
- Subject: Re: [PATCH] Display configuration details in --help
- References: <83r4jaynqq dot fsf at gnu dot org> <CADPb22R4o4gkQk8oeqGvmWZerVf7gdkw8XOKz9mYxD6ubFPRig at mail dot gmail dot com> <514B4AC3 dot 1090103 at redhat dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 21 Mar 2013 18:00:35 +0000
> From: Pedro Alves <palves@redhat.com>
> CC: Eli Zaretskii <eliz@gnu.org>, gdb-patches <gdb-patches@sourceware.org>
>
> While I like the idea too, it looks to me that this
>
> >> This GDB is configured as follows:
> >> configure --host=i686-pc-mingw32 --target=i686-pc-mingw32
> >> --with-auto-load-dir=$debugdir:$datadir/auto-load
> >> --with-auto-load-safe-path=$debugdir:$datadir/auto-load
> >> --with-expat
> >> --with-gdb-datadir=d:/usr/share/gdb (relocatable)
> >> --with-jit-reader-dir=d:/usr/lib/gdb (relocatable)
> >> --without-libunwind-ia64
> >> --with-lzma
> >> --with-python=d:/usr/Python26 (relocatable)
> >> --with-separate-debug-dir=d:/usr/lib/debug (relocatable)
> >> --with-system-gdbinit=d:/usr/etc/gdbinit (relocatable)
> >> --with-zlib
> >>
> >>
>
> is a significant amount of clutter for gdb's --help.
>
> What do you think about putting this elsewhere? "gdb --configuration"
> or some such, perhaps?
Fine with me, I can prepare a patch for that, if no one objects.
Should we also move this part to the new switch?
At startup, GDB reads the following init files and executes their commands:
* user-specific init file: D:\usr\eli/.gdbinit
* local init file (see also 'set auto-load local-gdbinit'): ./.gdbinit