]>
Commit | Line | Data |
---|---|---|
0fa91a0a | 1 | /* |
2 | * $Source$ | |
3 | * $Author$ | |
4 | * $Header$ | |
5 | * | |
6 | * Copyright (C) 1987 by the Massachusetts Institute of Technology | |
babbc197 | 7 | * For copying and distribution information, please see the file |
8 | * <mit-copyright.h>. | |
0fa91a0a | 9 | */ |
10 | ||
11 | #ifndef lint | |
12 | static char *rcsid_sms_init_c = "$Header$"; | |
13 | #endif lint | |
14 | ||
babbc197 | 15 | #include <mit-copyright.h> |
0fa91a0a | 16 | #include "sms_private.h" |
17 | ||
18 | int sms_inited = 0; | |
19 | ||
00fe263a | 20 | /* the reference to link_against_the_moira_version_of_gdb is to make |
21 | * sure that this is built with the proper libraries. | |
22 | */ | |
0fa91a0a | 23 | sms_init() |
24 | { | |
00fe263a | 25 | extern int link_against_the_moira_version_of_gdb; |
0fa91a0a | 26 | if (sms_inited) return; |
27 | ||
28 | gdb_init(); | |
3ebfd545 | 29 | initialize_sms_error_table(); |
30 | initialize_krb_error_table(); | |
00fe263a | 31 | link_against_the_moira_version_of_gdb = 0; |
0fa91a0a | 32 | sms_inited=1; |
33 | } |