Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.035 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'subject:Python': 0.04; 'think,': 0.05; 'header:In-reply-to:1': 0.09; 'configure': 0.11; 'cc:': 0.14; 'described': 0.14; 'from:addr:gnu.org': 0.16; 'hardcoded': 0.16; 'message-id:@gnu.org': 0.16; 'posix': 0.16; 'cc:addr:python-list': 0.22; 'linux,': 0.22; 'platforms,': 0.23; 'set.': 0.23; '+0200': 0.25; 'windows': 0.26; 'van': 0.27; 'date:': 0.28; 'sat,': 0.29; 'subject:Windows': 0.29; 'cc:addr:python.org': 0.31; 'enabled': 0.31; 'perhaps': 0.32; "isn't": 0.34; 'skip:" 10': 0.34; 'there': 0.35; 'problem,': 0.35; 'suggestion': 0.35; 'change,': 0.35; 'executable': 0.35; 'fails': 0.35; 'option.': 0.35; 'think': 0.36; 'else': 0.37; 'used': 0.38; 'cc:2**2': 0.39; 'where': 0.39; 'from:': 0.39; 'would': 0.40; "it's": 0.40; '2011': 0.62; 'received:77': 0.63; 'special': 0.66; 'header:Reply-to:1': 0.82; 'received:80.179': 0.84; 'received:il': 0.91; 'you).': 0.91; 'cc:no real name:2**2': 0.95 Date: Sat, 14 May 2011 12:29:57 +0300 From: Eli Zaretskii Subject: Re: Python enabled gdb on Windows and relocation In-reply-to: X-012-Sender: halo1@inter.net.il To: vanboxem.ruben@gmail.com References: Cc: python-list@python.org, gdb@sourceware.org, dje@google.com X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Eli Zaretskii List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1305365412 news.xs4all.nl 41114 [::ffff:82.94.164.166]:39288 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5357 > Date: Sat, 14 May 2011 11:09:13 +0200 > From: Ruben Van Boxem > Cc: gdb@sourceware.org, python-list@python.org > > 1. Check hardcoded path; my suggestion would be "/../lib/python27" > 2. If this fails to find the necessary files/scripts, find it like you > described above in Linux, without PYTHONPATH set. > 3. Check PYTHONPATH. > > I would think only number one would change, and perhaps be only > enabled with a special configure option. Nothing else would have to > change, and Windows users would rejoice :) The problem, I think, is that it's not so easy on Unix to get the place where the GDB executable leaves. There isn't a system call to do that (similar to what Windows gives you). So I think on Posix platforms, number 2 would be used most of the time.