* TODO: Add item suggesting an "info bfd" command.
[deliverable/binutils-gdb.git] / gdb / kdb-start.c
CommitLineData
7d9884b9 1/* Main loop for the standalone kernel debugger, for GDB, the GNU Debugger.
de9bef49 2 Copyright 1989, 1991, 1992 Free Software Foundation, Inc.
dd3b648e
RP
3
4This file is part of GDB.
5
99a7de40 6This program is free software; you can redistribute it and/or modify
dd3b648e 7it under the terms of the GNU General Public License as published by
99a7de40
JG
8the Free Software Foundation; either version 2 of the License, or
9(at your option) any later version.
dd3b648e 10
99a7de40 11This program is distributed in the hope that it will be useful,
dd3b648e
RP
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
99a7de40 17along with this program; if not, write to the Free Software
6c9638b4 18Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
dd3b648e
RP
19
20#include "defs.h"
dd3b648e
RP
21
22static char *args[] = {"kdb", "kdb-symbols", 0};
23
24static char *environment[] = {0};
25
26char **environ;
27
28start ()
29{
dd3b648e 30 INIT_STACK (kdb_stack_beg, kdb_stack_end);
dd3b648e
RP
31
32 environ = environment;
33
34 main (2, args, environment);
35}
This page took 0.308023 seconds and 4 git commands to generate.