Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5357

Re: Python enabled gdb on Windows and relocation

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 <eliz@gnu.org>
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 <eliz@gnu.org>
Subject Re: Python enabled gdb on Windows and relocation
In-reply-to <BANLkTinkEF5RUwDr=29c_QBdu=abcGNNCQ@mail.gmail.com>
X-012-Sender halo1@inter.net.il
To vanboxem.ruben@gmail.com
References <BANLkTikrK8DJOEpACA_uUVdZx25P5pc1tA@mail.gmail.com> <BANLkTimshMHOAnc2xtO=Vjvxg_oEZ0EUJA@mail.gmail.com> <BANLkTi=2xwRJmHfDBULRHidJUecMi0ix+w@mail.gmail.com> <BANLkTinkEF5RUwDr=29c_QBdu=abcGNNCQ@mail.gmail.com>
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 <eliz@gnu.org>
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1542.1305365412.9059.python-list@python.org> (permalink)
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

Show key headers only | View raw


> Date: Sat, 14 May 2011 11:09:13 +0200
> From: Ruben Van Boxem <vanboxem.ruben@gmail.com>
> Cc: gdb@sourceware.org, python-list@python.org
> 
> 1. Check hardcoded path; my suggestion would be "<gdb executable>/../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.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python enabled gdb on Windows and relocation Eli Zaretskii <eliz@gnu.org> - 2011-05-14 12:29 +0300

csiph-web