aboutsummaryrefslogtreecommitdiff
path: root/gdb/NEWS
diff options
context:
space:
mode:
authorPhil Muldoon <pmuldoon@redhat.com>2011-08-09 12:45:40 +0000
committerPhil Muldoon <pmuldoon@redhat.com>2011-08-09 12:45:40 +0000
commit5e239b84ac58a9edfc0d942ef751a78aac4c007b (patch)
tree33a9ccb9dcc77350b509b5b8f49b6484a9125976 /gdb/NEWS
parent7fe550fc4986f19a766650a76551a4ff4985ef5c (diff)
downloadgdb-5e239b84ac58a9edfc0d942ef751a78aac4c007b.zip
gdb-5e239b84ac58a9edfc0d942ef751a78aac4c007b.tar.gz
gdb-5e239b84ac58a9edfc0d942ef751a78aac4c007b.tar.bz2
2011-08-09 Phil Muldoon <pmuldoon@redhat.com>
* python/lib/gdb/__init__.py: Auto-load files in command and function directories. * python/python.c (finish_python_initialization): Use os.path.join. * python/lib/gdb/command/pretty_printers.py: Self register command. * NEWS: Document auto-loading. 2011-08-09 Phil Muldoon <pmuldoon@redhat.com> * gdb.texinfo (Python): Document command and function auto-loading.
Diffstat (limited to 'gdb/NEWS')
-rw-r--r--gdb/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/NEWS b/gdb/NEWS
index b0da564..da55850 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -23,6 +23,11 @@
** A prompt subsitution hook (prompt_hook) is now available to the
Python API.
+ ** Python commands and convenience-functions located in
+ 'data-directory'/python/gdb/command and
+ 'data-directory'/python/gdb/function are now automatically loaded
+ on GDB start-up.
+
* libthread-db-search-path now supports two special values: $sdir and $pdir.
$sdir specifies the default system locations of shared libraries.
$pdir specifies the directory where the libpthread used by the application