diff options
author | 2001-04-08 18:26:03 +0000 | |
---|---|---|
committer | 2001-04-08 18:26:03 +0000 | |
commit | 7700434b5c52c609453111e16e49a2708d699041 (patch) | |
tree | c635673fdda578fb20e674128e03d44cf21d4332 /gdb/ser-pipe.c | |
parent | Use cleanup machinery to invoke ui_out_list_end(). (diff) | |
download | binutils-gdb-7700434b5c52c609453111e16e49a2708d699041.tar.gz binutils-gdb-7700434b5c52c609453111e16e49a2708d699041.tar.bz2 binutils-gdb-7700434b5c52c609453111e16e49a2708d699041.zip |
Add comments noting that vfork might be defined to be fork.
Diffstat (limited to 'gdb/ser-pipe.c')
-rw-r--r-- | gdb/ser-pipe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ser-pipe.c b/gdb/ser-pipe.c index 652d7743afa..3e232872301 100644 --- a/gdb/ser-pipe.c +++ b/gdb/ser-pipe.c @@ -65,6 +65,10 @@ pipe_open (serial_t scb, const char *name) if (socketpair (AF_UNIX, SOCK_STREAM, 0, pdes) < 0) return -1; + /* Create the child process to run the command in. Note that the + apparent call to vfork() below *might* actually be a call to + fork() due to the fact that autoconf will ``#define vfork fork'' + on certain platforms. */ pid = vfork (); /* Error. */ |