kmdb_stubs.c (c7bf3205) | kmdb_stubs.c (edb432dd) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 9 unchanged lines hidden (view full) --- 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25 | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 9 unchanged lines hidden (view full) --- 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25 |
26#pragma ident "%Z%%M% %I% %E% SMI" 27 | |
28/* 29 * Stubs for basic system services otherwise unavailable to the debugger. 30 */ 31 32#include <stdlib.h> 33#include <unistd.h> 34#include <libproc.h> 35#include <sys/time.h> | 26/* 27 * Stubs for basic system services otherwise unavailable to the debugger. 28 */ 29 30#include <stdlib.h> 31#include <unistd.h> 32#include <libproc.h> 33#include <sys/time.h> |
36#include <sys/utsname.h> | |
37 38#include <kmdb/kmdb_dpi.h> 39#include <kmdb/kmdb_promif.h> 40#include <kmdb/kmdb_io.h> 41#include <mdb/mdb_debug.h> 42#include <mdb/mdb_signal.h> 43#include <mdb/mdb_io_impl.h> 44#include <mdb/mdb.h> --- 129 unchanged lines hidden (view full) --- 174 mdb_iob_clearlines(mdb.m_out); 175 176 (void) kmdb_getchar(); 177 } 178 179 kmdb_dpi_reboot(); 180#endif 181} | 34 35#include <kmdb/kmdb_dpi.h> 36#include <kmdb/kmdb_promif.h> 37#include <kmdb/kmdb_io.h> 38#include <mdb/mdb_debug.h> 39#include <mdb/mdb_signal.h> 40#include <mdb/mdb_io_impl.h> 41#include <mdb/mdb.h> --- 129 unchanged lines hidden (view full) --- 171 mdb_iob_clearlines(mdb.m_out); 172 173 (void) kmdb_getchar(); 174 } 175 176 kmdb_dpi_reboot(); 177#endif 178} |
182 183#if defined(__i386) && !defined(__amd64) 184/*ARGSUSED*/ 185int 186_nuname(struct utsname *buf) 187{ 188 return (-1); 189} 190#endif | |