Message366206
"I have never used gdb, but I am curious what *is* the path to the python running the python code after 'python'? Is it part of or included with gdb?"
I honestly don't know. I think the python interpreter gets compiled into the python binary, because as a test, I removed every python interpreter on my system that I could find and the "python" command inside gdb still worked. But it uses some of pythons shared libraries that get installed when you install python.
I also suspect that it is a bug in gdb.
I think the only thing you can do is take a look at python's source code on how it finds sys.executable and check if it looks fishy or if it looks like it should never point to a non existing file. And we can wait if the gdb programmers will respond. |
|
Date |
User |
Action |
Args |
2020-04-11 12:09:38 | Volker Weißmann | set | recipients:
+ Volker Weißmann, terry.reedy |
2020-04-11 12:09:38 | Volker Weißmann | set | messageid: <1586606978.21.0.990947858079.issue40218@roundup.psfhosted.org> |
2020-04-11 12:09:38 | Volker Weißmann | link | issue40218 messages |
2020-04-11 12:09:38 | Volker Weißmann | create | |
|