ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specifying source path


From: ag
Subject: Re: Specifying source path
Date: Wed, 25 Aug 2004 07:27:47 SAST

> Hi,
> 
> I'm a new DDD user.  I'm using DDD with the GDB debugger.  In the
> application that I'm trying to debug, the executable is compiled from
> source files in serveral different directories.
> 
> DDD does not pick up all of them so I tried to specify the path in hte
> 'Search Path for Source Files' field under Edit->GDB settings.  When I
> click 'Apply' I get the following output:
> 
> (gdb) dir $cdir:$cwd:/dir1/dir2/dir3
> (gdb) set host-charset
> Requires an argument. Valid arguments are ASCII, ISO-8859-1.
> (gdb) set max-user-call-depth
> Argument required (integer to set it to.).
> (gdb) set prompt
> 
> Then it does nothing and I don't get the command prompt back.  Could
> you let me know how I can get around this proble

Hmm.  This is a bug.

To work around it, you can create a .gdbinit file, with the 
line

dir $cdir:$cwd:/dir1/dir2/dir3

in it.

Which version of gdb are you
using?

---------------------------------------------
This message was sent using MWEB Airmail.
JUST LIKE THAT
http://airmail.mweb.co.za/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]