[Python-checkins] devguide: Restore FAQ (still needed on RHEL6)

nick.coghlan python-checkins at python.org
Sun Sep 22 11:28:56 CEST 2013


http://hg.python.org/devguide/rev/c3a84307ff7e
changeset:   641:c3a84307ff7e
user:        Nick Coghlan <ncoghlan at gmail.com>
date:        Sun Sep 22 19:28:42 2013 +1000
summary:
  Restore FAQ (still needed on RHEL6)

files:
  faq.rst |  15 +++++++++++++++
  1 files changed, 15 insertions(+), 0 deletions(-)


diff --git a/faq.rst b/faq.rst
--- a/faq.rst
+++ b/faq.rst
@@ -980,3 +980,18 @@
 
 If the system copy of Autoconf does not match this version, you will need to
 install your own copy of Autoconf.
+
+
+How do I update my auto-load-safe-path to allow test_gdb to run?
+----------------------------------------------------------------
+
+``test_gdb`` attempts to automatically load additional Python specific
+hooks into gdb in order to test them. Unfortunately, the command line
+options it uses to do this aren't always supported correctly.
+
+If ``test_gdb`` is being skipped with an "auto-loading has been declined"
+message, then it is necessary to identify any Python build directories as
+auto-load safe. One way to achieve this is to add a line like the following
+to ``~/.gdbinit`` (edit the specific list of paths as appropriate)::
+
+    add-auto-load-safe-path ~/devel/py3k:~/devel/py32:~/devel/py27

-- 
Repository URL: http://hg.python.org/devguide


More information about the Python-checkins mailing list