1 /* 2 * This file and its contents are supplied under the terms of the 3 * Common Development and Distribution License ("CDDL"), version 1.0. 4 * You may only use this file in accordance with the terms of version 5 * 1.0 of the CDDL. 6 * 7 * A full copy of the text of the CDDL should have accompanied this 8 * source. A copy of the CDDL is also available via the Internet at 9 * http://www.illumos.org/license/CDDL. 10 */ 11 /* 12 * Copyright (c) 2013 by Delphix. All rights reserved. 13 */ 14 15 /* 16 * ::gcore is not supported on sparc, so these functions are not 17 * implemented. 18 */ 19 20 #ifndef _KMDB 21 22 #include <mdb/mdb_gcore.h> 23 24 /* ARGSUSED */ 25 uintptr_t 26 gcore_prgetstackbase(mdb_proc_t *p) 27 { 28 return (0); 29 } 30 31 /* ARGSUSED */ 32 int 33 gcore_prfetchinstr(mdb_klwp_t *lwp, ulong_t *ip) 34 { 35 return (0); 36 } 37 38 /* ARGSUSED */ 39 int 40 gcore_prisstep(mdb_klwp_t *lwp) 41 { 42 return (0); 43 } 44 45 /* ARGSUSED */ 46 void 47 gcore_getgregs(mdb_klwp_t *lwp, gregset_t grp) 48 { 49 } 50 51 /* ARGSUSED */ 52 int 53 gcore_prgetrvals(mdb_klwp_t *lwp, long *rval1, long *rval2) 54 { 55 return (0); 56 } 57 58 #endif /* _KMDB */ 59