db_trace.c (92770) | db_trace.c (93017) |
---|---|
1/* 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 * | 1/* 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 * |
26 * $FreeBSD: head/sys/amd64/amd64/db_trace.c 92770 2002-03-20 08:56:31Z alfred $ | 26 * $FreeBSD: head/sys/amd64/amd64/db_trace.c 93017 2002-03-23 14:27:06Z bde $ |
27 */ 28 29#include <sys/param.h> 30#include <sys/systm.h> 31#include <sys/linker_set.h> 32#include <sys/proc.h> 33#include <sys/sysent.h> 34#include <sys/user.h> --- 71 unchanged lines hidden (view full) --- 106 107static void db_nextframe(struct i386_frame **, db_addr_t *, struct proc *); 108static int db_numargs(struct i386_frame *); 109static void db_print_stack_entry(const char *, int, char **, int *, db_addr_t); 110static void decode_syscall(int, struct proc *); 111 112 113static char * watchtype_str(int type); | 27 */ 28 29#include <sys/param.h> 30#include <sys/systm.h> 31#include <sys/linker_set.h> 32#include <sys/proc.h> 33#include <sys/sysent.h> 34#include <sys/user.h> --- 71 unchanged lines hidden (view full) --- 106 107static void db_nextframe(struct i386_frame **, db_addr_t *, struct proc *); 108static int db_numargs(struct i386_frame *); 109static void db_print_stack_entry(const char *, int, char **, int *, db_addr_t); 110static void decode_syscall(int, struct proc *); 111 112 113static char * watchtype_str(int type); |
114int i386_set_watch(int watchnum, unsigned int watchaddr, 115 int size, int access, struct dbreg * d); | 114int i386_set_watch(int watchnum, unsigned int watchaddr, int size, int access, 115 struct dbreg * d); |
116int i386_clr_watch(int watchnum, struct dbreg * d); 117int db_md_set_watchpoint(db_expr_t addr, db_expr_t size); 118int db_md_clr_watchpoint(db_expr_t addr, db_expr_t size); 119void db_md_list_watchpoints(void); 120 121 122/* 123 * Figure out how many arguments were passed into the frame at "fp". --- 533 unchanged lines hidden --- | 116int i386_clr_watch(int watchnum, struct dbreg * d); 117int db_md_set_watchpoint(db_expr_t addr, db_expr_t size); 118int db_md_clr_watchpoint(db_expr_t addr, db_expr_t size); 119void db_md_list_watchpoints(void); 120 121 122/* 123 * Figure out how many arguments were passed into the frame at "fp". --- 533 unchanged lines hidden --- |