-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show correct caller on error in breakpoint handling.
* libinterp/parse-tree/bp-table.cc (user_code_provider::user_code_provider): Add argument for name of caller in error message when function could not be found. (bp_table::add_breakpoints_in_function): Pass caller name to user_code_provider. (bp_table::remove_breakpoints_from_function, bp_table::remove_all_breakpoints_from_function, bp_table::get_breakpoint_list): Pass caller name to user_code_provider. Don't check same error condition twice.
- Loading branch information
Showing
1 changed file
with
67 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters