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
|
|
@ -15,7 +15,7 @@ define swigprint
|
|||
else
|
||||
set $expand_count = -1
|
||||
end
|
||||
call Swig_print($arg0, $expand_count)
|
||||
Printf "%s\n", Swig_to_string($arg0, $expand_count)
|
||||
end
|
||||
document swigprint
|
||||
Displays any SWIG DOH object
|
||||
|
|
@ -31,7 +31,7 @@ define locswigprint
|
|||
else
|
||||
set $expand_count = -1
|
||||
end
|
||||
call Swig_print_with_location($arg0, $expand_count)
|
||||
Printf "%s\n", Swig_to_string_with_location($arg0, $expand_count)
|
||||
end
|
||||
document locswigprint
|
||||
Displays any SWIG DOH object prefixed with file and line location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue