comparison src/debug.cc @ 11058:3329616444f0

replace Octave_map in debug.cc and error.cc
author Jaroslav Hajek <highegg@gmail.com>
date Thu, 30 Sep 2010 08:27:56 +0200
parents 89f4d7e294cc
children fd0a3ac60b0e
comparison
equal deleted inserted replaced
11057:4d9f310b32bb 11058:3329616444f0
553 mode this should be left out.\n\ 553 mode this should be left out.\n\
554 @end table\n\ 554 @end table\n\
555 @seealso{dbclear, dbwhere}\n\ 555 @seealso{dbclear, dbwhere}\n\
556 @end deftypefn") 556 @end deftypefn")
557 { 557 {
558 Octave_map retval; 558 octave_map retval;
559 int nargin = args.length (); 559 int nargin = args.length ();
560 octave_value_list fcn_list; 560 octave_value_list fcn_list;
561 bp_table::fname_line_map bp_list; 561 bp_table::fname_line_map bp_list;
562 std::string symbol_name; 562 std::string symbol_name;
563 563
872 error ("dbstack: expecting N to be a nonnegative integer"); 872 error ("dbstack: expecting N to be a nonnegative integer");
873 } 873 }
874 874
875 if (! error_state) 875 if (! error_state)
876 { 876 {
877 Octave_map stk = octave_call_stack::backtrace (nskip, curr_frame); 877 octave_map stk = octave_call_stack::backtrace (nskip, curr_frame);
878 878
879 if (nargout == 0) 879 if (nargout == 0)
880 { 880 {
881 octave_idx_type nframes_to_display = stk.numel (); 881 octave_idx_type nframes_to_display = stk.numel ();
882 882