Mercurial > hg > octave-lyh
comparison src/input.cc @ 7552:6070c3bd69c4
Arbitrary call stack access for external debuggers changeset
author | ryanru@PrinceHumperdinck |
---|---|
date | Tue, 04 Mar 2008 17:01:05 -0500 |
parents | d3fe4d466bc2 |
children | 87eda1f8faaa |
comparison
equal
deleted
inserted
replaced
7551:5ed0cb9e9584 | 7552:6070c3bd69c4 |
---|---|
606 nm = caller->fcn_file_name (); | 606 nm = caller->fcn_file_name (); |
607 | 607 |
608 if (nm.empty ()) | 608 if (nm.empty ()) |
609 nm = caller->name (); | 609 nm = caller->name (); |
610 | 610 |
611 if (curr_statement) | 611 line = tree_statement_stack::current_line (); |
612 line = curr_statement->line (); | |
613 } | 612 } |
614 } | 613 } |
615 | 614 |
616 std::ostringstream buf; | 615 std::ostringstream buf; |
617 | 616 |
699 } | 698 } |
700 else if (match_sans_spaces_semi ("dbnext", input_buf)) | 699 else if (match_sans_spaces_semi ("dbnext", input_buf)) |
701 { | 700 { |
702 tree::break_next = true; | 701 tree::break_next = true; |
703 | 702 |
704 tree::last_line = curr_statement->line (); | 703 tree::last_line = tree_statement_stack::current_line (); |
705 | 704 |
706 tree::break_function = octave_call_stack::current (); | 705 tree::break_function = octave_call_stack::current (); |
707 | 706 |
708 return retval; | 707 return retval; |
709 } | 708 } |