|
|
1.1 root 1: /*
2: * Copyright (C) 2007 Free Software Foundation, Inc.
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, or (at your option)
7: * 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
15: * along with this program; if not, write to the Free Software
16: * Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
17: *
18: * Author: Barry deFreese.
19: */
20:
21: #ifndef _DDB_DB_EXAMINE_H_
22: #define _DDB_DB_EXAMINE_H_
23:
24: #include <sys/types.h>
25: #include <ddb/db_variables.h>
26: #include <ddb/db_expr.h>
27:
28: extern void db_examine_cmd (
29: db_expr_t addr,
30: int have_addr,
31: db_expr_t count,
1.1.1.2 ! root 32: const char *modif);
1.1 root 33:
1.1.1.2 ! root 34: extern void db_strcpy (char *dst, const char *src);
1.1 root 35:
36: extern void db_examine (
37: db_addr_t addr,
1.1.1.2 ! root 38: const char *fmt,
1.1 root 39: int count,
40: task_t task);
41:
42: void db_examine_forward(
43: db_expr_t addr,
44: int have_addr,
45: db_expr_t count,
1.1.1.2 ! root 46: const char * modif);
1.1 root 47:
48: void db_examine_backward(
49: db_expr_t addr,
50: int have_addr,
51: db_expr_t count,
1.1.1.2 ! root 52: const char * modif);
1.1 root 53:
54: extern void db_print_loc_and_inst (
55: db_addr_t loc,
56: task_t task);
57:
58: int db_xcdump(
59: db_addr_t addr,
60: int size,
61: int count,
62: task_t task);
63:
1.1.1.2 ! root 64: void db_print_cmd(void);
1.1 root 65:
1.1.1.2 ! root 66: void db_search_cmd(void);
! 67:
! 68: void db_search(
! 69: db_addr_t addr,
! 70: int size,
! 71: db_expr_t value,
! 72: db_expr_t mask,
! 73: unsigned int count,
! 74: task_t task);
! 75:
! 76: /* instruction disassembler */
! 77: extern db_addr_t db_disasm(
! 78: db_addr_t pc,
! 79: boolean_t altform,
! 80: task_t task);
1.1 root 81:
82: #endif /* _DDB_DB_EXAMINE_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.