|
|
1.1 ! root 1: /* ! 2: * Copyright (c) 2013 Free Software Foundation. ! 3: * ! 4: * This program is free software; you can redistribute it and/or modify ! 5: * it under the terms of the GNU General Public License as published by ! 6: * the Free Software Foundation; either version 2 of the License, or ! 7: * (at your option) any later version. ! 8: * ! 9: * This program is distributed in the hope that it will be useful, ! 10: * but WITHOUT ANY WARRANTY; without even the implied warranty of ! 11: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! 12: * GNU General Public License for more details. ! 13: * ! 14: * You should have received a copy of the GNU General Public License along ! 15: * with this program; if not, write to the Free Software Foundation, Inc., ! 16: * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ! 17: */ ! 18: ! 19: #ifndef _DDB_DB_ELF_H_ ! 20: #define _DDB_DB_ELF_H_ ! 21: ! 22: #include <ddb/db_sym.h> ! 23: #include <machine/db_machdep.h> ! 24: ! 25: extern boolean_t ! 26: elf_db_line_at_pc( ! 27: db_symtab_t *stab, ! 28: db_sym_t sym, ! 29: char **file, ! 30: int *line, ! 31: db_addr_t pc); ! 32: ! 33: extern db_sym_t ! 34: elf_db_lookup( ! 35: db_symtab_t *stab, ! 36: char * symstr); ! 37: ! 38: extern db_sym_t ! 39: elf_db_search_symbol( ! 40: db_symtab_t * symtab, ! 41: db_addr_t off, ! 42: db_strategy_t strategy, ! 43: db_expr_t *diffp); ! 44: ! 45: extern void ! 46: elf_db_symbol_values( ! 47: db_symtab_t *stab, ! 48: db_sym_t sym, ! 49: char **namep, ! 50: db_expr_t *valuep); ! 51: ! 52: #endif /* _DDB_DB_ELF_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.