diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-01-18 06:25:22 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-01-18 06:25:22 +0000 |
commit | 973817a31359035221fb443a623830cdaab31de5 (patch) | |
tree | 0814db4b2c00155035ab6fd6c4a39bff660576b8 /gdb/ChangeLog | |
parent | 23db03a6052d85eb4a66bf31331ca8d611174af4 (diff) | |
download | gdb-973817a31359035221fb443a623830cdaab31de5.zip gdb-973817a31359035221fb443a623830cdaab31de5.tar.gz gdb-973817a31359035221fb443a623830cdaab31de5.tar.bz2 |
Allow "source" to load python scripts.
* exceptions.h (enum errors): Add UNSUPPORTED_ERROR.
* python/python.c (source_python_script): New function.
* python/python.h (source_python_script): Add declaration.
* cli/cli-cmds.c: #include exceptions.h and python/python.h.
(script_ext_off, script_ext_soft, script_ext_strict)
(script_ext_enums, script_ext_mode): New static constants.
(show_script_ext_mode, find_and_open_script): New functions.
(source_script): Enhance to handle Python scripts.
(init_cli_cmds): Add set/show script-extension commands.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6bbc5da..0e804f6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,17 @@ +2010-01-18 Tom Tromey <tromey@redhat.com> + Thiago Jung Bauermann <bauerman@br.ibm.com> + + Allow "source" to load python scripts. + * exceptions.h (enum errors): Add UNSUPPORTED_ERROR. + * python/python.c (source_python_script): New function. + * python/python.h (source_python_script): Add declaration. + * cli/cli-cmds.c: #include exceptions.h and python/python.h. + (script_ext_off, script_ext_soft, script_ext_strict) + (script_ext_enums, script_ext_mode): New static constants. + (show_script_ext_mode, find_and_open_script): New functions. + (source_script): Enhance to handle Python scripts. + (init_cli_cmds): Add set/show script-extension commands. + 2010-01-16 Stan Shebs <stan@codesourcery.com> * tracepoint.h (struct trace_status): Use unsigned long long |