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: [PATCH] Warn about data-directory when failing to import Python "gdb" module


Hi,

On Sep 17, 2012, at 4:22 PM, Jan Kratochvil wrote:

> On Mon, 17 Sep 2012 21:36:37 +0200, Khoo Yit Phang wrote:
>> +      warning (_("Please make sure that data-directory is set correctly."));
> 
> Couldn't you make it more explicit, such as mentioning the -data-directory
> command-line parameter and that it should contain file python/gdb/__init__.py
> or that it is gdb/data-directory in the source tree or some such wording?

How about:

If you are running GDB from the build directory, please run gdb with the -data-directory flag set as appropriate, e.g., "builddir/gdb -data-directory builddir/data-directory".

Yit
September 17, 2012


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