Initial Linux ELF support.

This commit is contained in:
Michael Meissner
1995-04-06 21:08:05 +00:00
parent 84ccb88752
commit 77a8995732
3 changed files with 38 additions and 1 deletions

View File

@@ -1117,9 +1117,11 @@ gdbtk_init ()
if (ioctl (x_fd, FIOASYNC, &i))
perror_with_name ("gdbtk_init: ioctl FIOASYNC failed");
#ifdef SIOCSPGRP
i = getpid();
if (ioctl (x_fd, SIOCSPGRP, &i))
perror_with_name ("gdbtk_init: ioctl SIOCSPGRP failed");
#endif
#else
if (ioctl (x_fd, I_SETSIG, S_INPUT|S_RDNORM) < 0)
perror_with_name ("gdbtk_init: ioctl I_SETSIG failed");