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: Add support for --with-system-gdbinit


> Date: Wed, 14 Jan 2009 18:06:29 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb-patches@sourceware.org, guitton@adacore.com
> 
> I understand now.  There's an alternative to keeping it in the same
> tree:
> 
>   --prefix=/my/working/directory --with-system-gdbinit=/etc/gdbinit
> 
> In this version /etc is not relative to $prefix, so it wasn't
> redundant.  This example may seem a little weird, but it makes more
> sense for --with-debug-file-directory; your native system's libraries
> are always in /usr/lib/debug, no matter where GDB goes.

Thanks for explaining this.  Now I'm quite sure this needs to be
explained in the manual somewhere, or maybe in INSTALL.


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