This is the mail archive of the gdb-prs@sources.redhat.com 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]

cli/1293: edit command edits invalid source


>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:


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