* spawn.cc (spawn_guts): Show more of command line in strace output.
This commit is contained in:
parent
de54768d72
commit
d8ee8ca551
@ -1,3 +1,7 @@
|
|||||||
|
2003-05-18 Joe Buehler <jhpb@hekimian.com>
|
||||||
|
|
||||||
|
* spawn.cc (spawn_guts): Show more of command line in strace output.
|
||||||
|
|
||||||
2003-05-15 Thomas Pfaff <tpfaff@gmx.net>
|
2003-05-15 Thomas Pfaff <tpfaff@gmx.net>
|
||||||
|
|
||||||
* thread.h (pthread::init_mainthread): Remove function parameter.
|
* thread.h (pthread::init_mainthread): Remove function parameter.
|
||||||
@ -268,7 +272,7 @@
|
|||||||
(cygthread::operator new): Simplify. Just grab a thread structure from
|
(cygthread::operator new): Simplify. Just grab a thread structure from
|
||||||
the pool. Don't try to start the thread.
|
the pool. Don't try to start the thread.
|
||||||
(cygthread::terminate_thread): Don't close event handles. Just reuse
|
(cygthread::terminate_thread): Don't close event handles. Just reuse
|
||||||
them. Call MEM_RELEASE rather than MEM_DECOMMIT (from Joe Buehler).
|
them. Call MEM_RELEASE rather than MEM_DECOMMIT (from Joe uehler).
|
||||||
|
|
||||||
2003-04-08 Bob Cassels <bcassels@abinitio.com>
|
2003-04-08 Bob Cassels <bcassels@abinitio.com>
|
||||||
|
|
||||||
|
@ -341,7 +341,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
syscall_printf ("spawn_guts (%d, %.132s)", mode, prog_arg);
|
syscall_printf ("spawn_guts (%d, %.9500s)", mode, prog_arg);
|
||||||
|
|
||||||
if (argv == NULL)
|
if (argv == NULL)
|
||||||
{
|
{
|
||||||
@ -613,7 +613,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
|||||||
|
|
||||||
const char *runpath = null_app_name ? NULL : (const char *) real_path;
|
const char *runpath = null_app_name ? NULL : (const char *) real_path;
|
||||||
|
|
||||||
syscall_printf ("null_app_name %d (%s, %.132s)", null_app_name, runpath, one_line.buf);
|
syscall_printf ("null_app_name %d (%s, %.9500s)", null_app_name, runpath, one_line.buf);
|
||||||
|
|
||||||
void *newheap;
|
void *newheap;
|
||||||
/* Preallocated buffer for `sec_user' call */
|
/* Preallocated buffer for `sec_user' call */
|
||||||
@ -727,7 +727,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
|||||||
cygpid = myself->pid;
|
cygpid = myself->pid;
|
||||||
|
|
||||||
/* We print the original program name here so the user can see that too. */
|
/* We print the original program name here so the user can see that too. */
|
||||||
syscall_printf ("%d = spawn_guts (%s, %.132s)",
|
syscall_printf ("%d = spawn_guts (%s, %.9500s)",
|
||||||
rc ? cygpid : (unsigned int) -1, prog_arg, one_line.buf);
|
rc ? cygpid : (unsigned int) -1, prog_arg, one_line.buf);
|
||||||
|
|
||||||
/* Name the handle similarly to proc_subproc. */
|
/* Name the handle similarly to proc_subproc. */
|
||||||
|
Loading…
Reference in New Issue
Block a user