From 7b4ac7e1ed2c4616bce56d1760807798be87ac9e Mon Sep 17 00:00:00 2001 From: "gdb-2.4+.aux.coff" Date: Sat, 16 Jan 1988 04:39:57 +0000 Subject: gdb-2.4+.aux.coff --- gdb/kdb-start.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 gdb/kdb-start.c (limited to 'gdb/kdb-start.c') diff --git a/gdb/kdb-start.c b/gdb/kdb-start.c new file mode 100644 index 0000000..bdbc272 --- /dev/null +++ b/gdb/kdb-start.c @@ -0,0 +1,21 @@ +#include "defs.h" +#include "param.h" + +static char *args[] = {"kdb", "kdb-symbols", 0}; + +static char *environment[] = {0}; + +char **environ; + +start () +{ +#ifdef NAMES_HAVE_UNDERSCORE + INIT_STACK (_kdb_stack_beg, _kdb_stack_end); +#else /* not NAMES_HAVE_UNDERSCORE */ + INIT_STACK (kdb_stack_beg, kdb_stack_end); +#endif /* not NAMES_HAVE_UNDERSCORE */ + + environ = environment; + + main (2, args, environment); +} -- cgit v1.1