Mercurial > octave-nkf
view .hgsubstate @ 18440:96a495813047
Don't put parent function in subfunction stack structure name (bug #41506).
* debug.cc (do_dbstack): When returning a structure, call
octave_call_stack::backtrace with print_subfn set to false.
* toplev.h (octave_call_stack::backtrace): Create new 2 argument function
signature which calls do_backtrace with print_subfn set to true. Create
new 3 argument function signature which passes print_subfn argument through
to do_backtrace.
* toplev.cc (octave_call_stack::do_backtrace): Change function to accept
3rd argument, print_subfn, which decides whether the parent function
should be printed in the name field of the backtrace.
author | Rik <rik@octave.org> |
---|---|
date | Sat, 08 Feb 2014 14:44:21 -0800 |
parents | 18096cd30339 |
children | 203431f40cb2 |