db_machdep.h (202175) | db_machdep.h (205360) |
---|---|
1/* $OpenBSD: db_machdep.h,v 1.2 1998/09/15 10:50:12 pefo Exp $ */ 2 3/* 4 * Copyright (c) 1998 Per Fogelstrom, Opsycon AB 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * JNPR: db_machdep.h,v 1.7 2006/10/16 12:30:34 katta | 1/* $OpenBSD: db_machdep.h,v 1.2 1998/09/15 10:50:12 pefo Exp $ */ 2 3/* 4 * Copyright (c) 1998 Per Fogelstrom, Opsycon AB 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * JNPR: db_machdep.h,v 1.7 2006/10/16 12:30:34 katta |
34 * $FreeBSD: head/sys/mips/include/db_machdep.h 202175 2010-01-12 21:36:08Z imp $ | 34 * $FreeBSD: head/sys/mips/include/db_machdep.h 205360 2010-03-20 05:07:15Z neel $ |
35 */ 36 37#ifndef _MIPS_DB_MACHDEP_H_ 38#define _MIPS_DB_MACHDEP_H_ 39 40#include <machine/frame.h> 41#include <machine/psl.h> 42#include <machine/trap.h> --- 44 unchanged lines hidden (view full) --- 87#define inst_return(i) ((i) == 0x03e00008) 88#define inst_load(i) (db_inst_type(i) == IT_LOAD) 89#define inst_store(i) (db_inst_type(i) == IT_STORE) 90 91#define DB_SMALL_VALUE_MAX 0x7fffffff 92#define DB_SMALL_VALUE_MIN (-0x400001) 93 94int db_inst_type(int); | 35 */ 36 37#ifndef _MIPS_DB_MACHDEP_H_ 38#define _MIPS_DB_MACHDEP_H_ 39 40#include <machine/frame.h> 41#include <machine/psl.h> 42#include <machine/trap.h> --- 44 unchanged lines hidden (view full) --- 87#define inst_return(i) ((i) == 0x03e00008) 88#define inst_load(i) (db_inst_type(i) == IT_LOAD) 89#define inst_store(i) (db_inst_type(i) == IT_STORE) 90 91#define DB_SMALL_VALUE_MAX 0x7fffffff 92#define DB_SMALL_VALUE_MIN (-0x400001) 93 94int db_inst_type(int); |
95void db_dump_tlb(int, int); | |
96db_addr_t branch_taken(int inst, db_addr_t pc); 97void stacktrace_subr(register_t pc, register_t sp, register_t ra, int (*)(const char *, ...)); 98int kdbpeek(int *); 99 100#endif /* !_MIPS_DB_MACHDEP_H_ */ | 95db_addr_t branch_taken(int inst, db_addr_t pc); 96void stacktrace_subr(register_t pc, register_t sp, register_t ra, int (*)(const char *, ...)); 97int kdbpeek(int *); 98 99#endif /* !_MIPS_DB_MACHDEP_H_ */ |