This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/gdbserver server.c
- From: rsandifo at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 2 Aug 2006 17:40:19 -0000
- Subject: src/gdb/gdbserver server.c
CVSROOT: /cvs/src
Module name: src
Branch: gdb-csl-20060226-branch
Changes by: rsandifo@sourceware.org 2006-08-02 17:40:19
Modified files:
gdb/gdbserver : server.c
Log message:
gdb/gdbserver/
* server.c (terminal_fd): New variable.
(old_foreground_pgrp): Likewise.
(restore_old_foreground_pgrp): New function.
(start_inferior): Record the terminal file descriptor in terminal_fd
and its original foreground group in old_foreground_pgrp. Register
restore_old_foreground_pgrp with atexit().
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/server.c.diff?cvsroot=src&only_with_tag=gdb-csl-20060226-branch&r1=1.32.2.1&r2=1.32.2.2