Fix gdb debugger functions to display to the gdb output window rather than stdout.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13339 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
4241dd1e93
commit
594fd2b410
2 changed files with 7 additions and 2 deletions
|
|
@ -4,6 +4,11 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
|
|
||||||
Version 2.0.8 (in progress)
|
Version 2.0.8 (in progress)
|
||||||
===========================
|
===========================
|
||||||
|
2012-06-27: wsfulton
|
||||||
|
Fix gdb debugger functions 'swigprint' and 'locswigprint' to display to the gdb output window
|
||||||
|
rather than stdout. This fixes display problems in gdbtui and the ensures the output
|
||||||
|
appears where expected in other gdb based debuggers such as Eclipse CDT.
|
||||||
|
|
||||||
2012-07-20: kwwette
|
2012-07-20: kwwette
|
||||||
[Octave] segfault-on-exit prevention hack now preserves exit status, and uses C99 _Exit().
|
[Octave] segfault-on-exit prevention hack now preserves exit status, and uses C99 _Exit().
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ define swigprint
|
||||||
else
|
else
|
||||||
set $expand_count = -1
|
set $expand_count = -1
|
||||||
end
|
end
|
||||||
call Swig_print($arg0, $expand_count)
|
Printf "%s\n", Swig_to_string($arg0, $expand_count)
|
||||||
end
|
end
|
||||||
document swigprint
|
document swigprint
|
||||||
Displays any SWIG DOH object
|
Displays any SWIG DOH object
|
||||||
|
|
@ -31,7 +31,7 @@ define locswigprint
|
||||||
else
|
else
|
||||||
set $expand_count = -1
|
set $expand_count = -1
|
||||||
end
|
end
|
||||||
call Swig_print_with_location($arg0, $expand_count)
|
Printf "%s\n", Swig_to_string_with_location($arg0, $expand_count)
|
||||||
end
|
end
|
||||||
document locswigprint
|
document locswigprint
|
||||||
Displays any SWIG DOH object prefixed with file and line location
|
Displays any SWIG DOH object prefixed with file and line location
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue