diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-03-29 22:58:55 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-03-29 22:58:55 +0000 |
commit | f4267320e53ab3885d2b509099528472cc1fef9a (patch) | |
tree | a617b6b58965b92d02e2aceda913a85ae66ae8b0 /gdb/nlm/prelude.c | |
parent | 698ba9341ed2a509079635b532aa3593d86aa047 (diff) | |
download | gdb-f4267320e53ab3885d2b509099528472cc1fef9a.zip gdb-f4267320e53ab3885d2b509099528472cc1fef9a.tar.gz gdb-f4267320e53ab3885d2b509099528472cc1fef9a.tar.bz2 |
2006-03-29 Daniel Jacobowitz <dan@codesourcery.com>
* NEWS: Mention the removal of NLM.
2006-03-29 Steve Ellcey <sje@cup.hp.com>
* Makefile.in (nlm): Remove target.
* configure.tgt (i[34567]86-*-netware*): Do not set build_nlm.
* configure.ac: Remove AC_CONFIG_SUBDIRS of nlm.
* configure: Regenerate.
* doc/gdb.texinfo: Remove gdbserve.nlm documentation.
* nlm: Remove directory.
Diffstat (limited to 'gdb/nlm/prelude.c')
-rw-r--r-- | gdb/nlm/prelude.c | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/gdb/nlm/prelude.c b/gdb/nlm/prelude.c deleted file mode 100644 index 37e12c8..0000000 --- a/gdb/nlm/prelude.c +++ /dev/null @@ -1,67 +0,0 @@ -/*=========================================================================== -= Novell Standard C Library for NetWare Loadable Modules -= -= Unpublished Copyright (C) 1993 by Novell, Inc. All rights reserved. -= -= No part of this file may be duplicated, revised, translated, localized or -= modified in any manner or compiled, linked or uploaded or downloaded to or -= from any computer system without the prior written consent of Novell, Inc. -============================================================================== -= The object produced by compiling this file is for use by the client of this -= library and is not linked in; Prelude.Obj is therefore one of the files to -= be distributed with CLib.NLM and its headers. -============================================================================== -*/ - -#include <stddef.h> -#if defined(__netware__) && defined(__i386__) -#define TERMINATE_BY_UNLOAD 5 -#else -#include <nwpre.h> -#endif -/*#include "libhooks.h"*/ - -extern int main (int, char **); - -static int NLMID; - - -void _Stop( void ) -{ - _TerminateNLM(NLMID, NULL, TERMINATE_BY_UNLOAD); -} - -int _cstart_( void ) -{ - return _SetupArgv(main); -} - -int _Prelude -( - int NLMHandle, - int initErrorScreenID, - char *commandLine, - char *loadDirectoryPath, - int uninitializedDataLength, - int NLMFileHandle, - int (*readRoutineP)(), - int customDataOffset, - int customDataSize -) -{ - int rc; - - rc = _StartNLM(NLMHandle, - initErrorScreenID, - commandLine, - loadDirectoryPath, - uninitializedDataLength, - NLMFileHandle, - readRoutineP, - customDataOffset, - customDataSize, - &NLMID, - _cstart_); - - return rc; -} |