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

[Bug gdb/15979] New: current_directory not updated if chdir done from python


https://sourceware.org/bugzilla/show_bug.cgi?id=15979

            Bug ID: 15979
           Summary: current_directory not updated if chdir done from
                    python
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

gdb keeps cwd in global current_directory, and the "cd" command updates it.
Who updates it if the user does chdir from python?

Do we still need this global?
Or do we have to watch for this in every callout to python (blech).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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