This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Is it possible to statically link python into gdb?
- From: Hector Oron <hector dot oron at gmail dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Terry Guo <flameroc at gmail dot com>, Paul_Koning at dell dot com, tim at krieglstein dot org, gdb at sourceware dot org, Antonio Cavallo <a dot cavallo at cavallinux dot eu>
- Date: Wed, 25 Jun 2014 17:29:41 +0200
- Subject: Re: Is it possible to statically link python into gdb?
- Authentication-results: sourceware.org; auth=none
- References: <CAGbRaL5PAaO-NHojLYfSOjZPsPajYGGb0e8FV2qr5g8OEJXqzQ at mail dot gmail dot com> <56168225 dot tkKpPXRO26 at dabox> <214EDCB8-BEE1-4E6D-801E-D57B46AD7424 at dell dot com> <CAGbRaL5VBbF448=wmQ7mZdFirY6jv7dZ3f34uhNt1X-JAa6LxA at mail dot gmail dot com> <20140625143657 dot GI5253 at adacore dot com> <CAODfWeFE=-AnQ0oWXu0YTOrKe0ZYE4A9=2JNwAtebg-1GPz_4Q at mail dot gmail dot com> <20140625151701 dot GJ5253 at adacore dot com>
Hello,
2014-06-25 17:17 GMT+02:00 Joel Brobecker <brobecker@adacore.com>:
>> Wouldn't it be better if python was loaded as external plugin, that
>> way user/admin can pick up which python version they want to use along
>> GDB.
>
> The answer to that question depends on what your constraints are.
I tried to explain my constraints in second paragraph, as I got users
wanting to use python2 and other python3 with gdb.
Do you know if FSF GDB provides the infrastructure or interfaces to be
able to load python as plugin?
Regards
--
HÃctor OrÃn -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-.