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 python/23014] New: GDB should have its own PYTHONHOME AND PYTHONPATH (GDBPYTHONHOME, GDBPYTHONPATH)


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

            Bug ID: 23014
           Summary: GDB should have its own PYTHONHOME AND PYTHONPATH
                    (GDBPYTHONHOME, GDBPYTHONPATH)
           Product: gdb
           Version: 8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: rik.works at gmail dot com
  Target Milestone: ---

GDB is missing its own versions of PYTHONHOME AND PYTHONPATH (GDBPYTHONHOME,
GDBPYTHONPATH. If these GDB{PYTHONHOME,PYTHONPATH} are defined, gdb would look
in the given locations for the python 2.x code required to run its own
implementation. This would allow a gdb use to work with python 3.x code (via
PYTYONHOME/PYTHONPATH) while using gdb to debug c++ or other code. This is
similar to bug 22503: GDB uses PYTHONHOME environment variable, but can't find
the correct python environment.

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