kdb-start.c 409 B

12345678910111213141516171819202122
  1. #include "defs.h"
  2. #include "param.h"
  3. static char *args[] = {"kdb", "kdb-symbols", 0};
  4. static char *environment[] = {0};
  5. char **environ;
  6. start ()
  7. {
  8. #ifdef NAMES_HAVE_UNDERSCORE
  9. INIT_STACK (_kdb_stack_beg, _kdb_stack_end);
  10. #else /* not NAMES_HAVE_UNDERSCORE */
  11. INIT_STACK (kdb_stack_beg, kdb_stack_end);
  12. #endif /* not NAMES_HAVE_UNDERSCORE */
  13. environ = environment;
  14. main (2, args, environment);
  15. }