[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specifying source path
From: |
Aditya Chaubal |
Subject: |
Re: Specifying source path |
Date: |
Fri, 27 Aug 2004 13:33:09 -0600 |
I was using an older version of GDB (version 5.3.90 for Red Hat Linux)
. I switched to version 6.0 and now DDD shows me all my source files
without me having to mess around with the search path.
And even when I changed the search path for source files, it did not
hang up like it did previously.
Thanks,
Aditya
On Wed, 25 Aug 2004 07:27:47 SAST, address@hidden <address@hidden> wrote:
>
>
> > 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/
>
>