merged multi-auth branch back into trunk

This commit is contained in:
Martin Willi
2009-04-14 10:34:24 +00:00
parent 6e5c8d9413
commit a44bb9345f
230 changed files with 6163 additions and 4193 deletions
+10 -2
View File
@@ -121,7 +121,7 @@ starter_stop_pluto (void)
}
int
starter_start_pluto (starter_config_t *cfg, bool no_fork)
starter_start_pluto (starter_config_t *cfg, bool no_fork, bool attach_gdb)
{
struct stat stb;
int i;
@@ -137,7 +137,15 @@ starter_start_pluto (starter_config_t *cfg, bool no_fork)
};
printf ("starter_start_pluto entered\n");
if (attach_gdb)
{
argc = 0;
arg[argc++] = "/usr/bin/gdb";
arg[argc++] = "--args";
arg[argc++] = PLUTO_CMD;
arg[argc++] = "--nofork";
}
if (cfg->setup.plutostderrlog || no_fork)
{
arg[argc++] = "--stderrlog";