mapfile_skel revision cd3e933325e68e23516a196a8fea7f49b1e497c3
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens/*
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * CDDL HEADER START
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens *
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * The contents of this file are subject to the terms of the
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * Common Development and Distribution License (the "License").
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * You may not use this file except in compliance with the License.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens *
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * or http://www.opensolaris.org/os/licensing.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * See the License for the specific language governing permissions
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * and limitations under the License.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens *
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * When distributing Covered Code, include this CDDL HEADER in each
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * If applicable, add the following below this CDDL HEADER, with the
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * fields enclosed by brackets "[]" replaced with your own identifying
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * information: Portions Copyright [yyyy] [name of copyright owner]
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens *
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * CDDL HEADER END
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens */
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens/* BEGIN PROLOGUE */
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens/*
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens */
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens/*
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * This file is used to limit the symbols that are to be exported from the
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * debugger. This ensures that dmods follow the module API.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens *
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * There is a special rule for generating the mapfile. If the symbol
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * is not a function then the symbol, in the mapfile, must have the
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * the token "variable" as the third symbol on the line - see the
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * entries for __ctype and errno below.
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens */
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens$mapfile_version 2
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew AhrensSYMBOL_SCOPE {
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens global:
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens/* END PROLOGUE */
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens/* BEGIN EPILOGUE */
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens /*
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens * Secret additions to the module API
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens */
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens /* Implementation detail of the ctype macros */
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens __ctype; /* variable */
148434217c040ea38dc844384f6ba68d9b325906Matthew Ahrens /* There should be only one - ours */
errno; /* variable */
/* <sys/utsname.h> implictly references this on x86 */
#if defined(__i386) && !defined(__amd64)
_nuname;
#endif
mdb_tgt_aread;
mdb_dis_create;
mdb_dis_destroy;
local:
*;
};
/* END EPILOGUE */