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 Jan,

On Sep 22, 2012, at 9:30 AM, Jan Kratochvil wrote:

> ------------------------------------------------------------------------------
> Python Exception <type 'exceptions.ImportError'> No module named gdb: 
> 
> warning: Could not load the Python gdb module from `dfasdfsa/python'.
> You may need to provide the -data-directory flag to GDB.
> Limited Python support is available from the _gdb module.
> For more information about GDB dependencies on external files
> see the "Data Files" section in the GDB manual.  E.g., run from the shell:
> 	info "(gdb)Data Files"
> ------------------------------------------------------------------------------

Thanks for pointing out this style, it looks good to me, and it's nice to be consistent. I've updated my patch with it.

Yit
September 22, 2012

Attachment: warn-gdb-python-compat.txt
Description: Text document


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