diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2008-07-18 21:57:32 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:17 +0200 |
commit | f08d1e37cc4e72f93b1fe08b19012869f0370ecc (patch) | |
tree | d128b67f91d5c3699949b66d465c3e8b236edaf5 /include/mach | |
parent | 4df0f89aa4f32b12aab06d81d6ce91a12a64553e (diff) |
2008-07-18 Andrei Barbu <andrei@0xab.com>
* (ddb/db_sym.h): Add _DDB_DB_SYM_H_ header protection.
(db_find_sym_and_offset, db_find_xtrn_sym_and_offset,
db_find_task_sym_and_offset, db_find_xtrn_task_sym_and_offset): Call
db_free_symbol.
(db_free_symbol): New declaration.
(db_sym_switch): New `free_symbol' member.
(X_db_free_symbol): New macro.
* ddb/db_sym.c (db_value_of_name, db_lookup, db_name_is_ambiguous,
db_search_task_symbol, db_search_in_task_symbol, db_task_printsym):
Call db_free_symbol.
(db_free_symbol): New function.
(dummy_db_free_symbol): New empty function.
(x_db): Initialize `free_symbol' memberi with dummy_db_free_symbol.
* i386/i386/db_trace.c (db_i386_stack_trace): Call db_free_symbol.
* kern/lock_mon.c (print_lock_info): Likewise.
Diffstat (limited to 'include/mach')
0 files changed, 0 insertions, 0 deletions