This is the mail archive of the gdb@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: A question about data-directory


On Mon, Aug 30, 2010 at 06:46:49PM -0400, Srinath Avadhanula wrote:
> I was expecting the output from the auto-load script to say 'getting
> here' before getting back to the prompt. If I place test-gdb.py in the
> same directory as the executable (i.e. at /tmp/test/test-gdb.py) then
> I do get a line saying 'getting here'.

IIUC, that's what's supposed to happen right now.  The 'python'
directory in datadir is added to the Python search path, but gdb.py
files are searched for next to the object file.

-- 
Daniel Jacobowitz
CodeSourcery


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