This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
cli/1293: edit command edits invalid source
- From: darkknightz at sohu dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 23 Jul 2003 02:21:25 -0000
- Subject: cli/1293: edit command edits invalid source
- Reply-to: darkknightz at sohu dot com
>Number: 1293
>Category: cli
>Synopsis: edit command edits invalid source
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Jul 23 02:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: darkknightz@sohu.com
>Release: 5.3
>Organization:
>Environment:
Redhat 9.0
>Description:
My working directory is /home/username/studio/cplusplus
I created a source file fol.cc, and generated binary fol
when I use gdb to debug fol,
$gdb fol
> edit
the editor will edit the invalid file "/home/username/studio/cplusplusfol.cc" not "...../cplusplus/fol.cc"
I tried to pass the correct directory to DIRECTORY search path, but it doesn't work.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: