* Changed the way temporary variables work. They won't be unset before
a command is executed anymore. Instead the least recently used
temporary variable is overwritten, if there's no free slot for a new
temporary variable.
* Removed the special handling for the command result variable ("_"). It
just works like any other temporary variable, now.
* Individual temporary variables can be removed (e.g. using the "unset"
command).
* Added unset_all_debug_variables() and "unset_all" command to unset
all persistent and temporary variables.
* Removed remove_all_temporary_debug_variables and renamed
remove_debug_variable() to unset_debug_variable().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23568 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -94,10 +94,6 @@ in_command_invocation(void)
|
||||
int
|
||||
invoke_debugger_command(struct debugger_command *command, int argc, char** argv)
|
||||
{
|
||||
// remove the temporary variables of the previously executed command, if
|
||||
// this command sets a temporary variable
|
||||
mark_temporary_debug_variables_obsolete();
|
||||
|
||||
struct thread* thread = thread_get_current_thread();
|
||||
addr_t oldFaultHandler = thread->fault_handler;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user