* 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:
@@ -63,8 +63,8 @@ extern bool is_debug_variable_defined(const char* variableName);
|
||||
extern bool set_debug_variable(const char* variableName, uint64 value);
|
||||
extern uint64 get_debug_variable(const char* variableName,
|
||||
uint64 defaultValue);
|
||||
extern bool remove_debug_variable(const char* variableName);
|
||||
extern void remove_all_temporary_debug_variables();
|
||||
extern bool unset_debug_variable(const char* variableName);
|
||||
extern void unset_all_debug_variables();
|
||||
|
||||
extern bool evaluate_debug_expression(const char* expression,
|
||||
uint64* result, bool silent);
|
||||
|
||||
Reference in New Issue
Block a user