This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [kettenis@delius.kettenis.nl: Fixes for gnu-nat.c]



Mark Kettenis <kettenis@wins.uva.nl> writes:
> Here are some patches that brings the machine-specific code for the
> Hurd up to date.  About including <bits/waitflags.h> and defining
> _SYS_WAIT_H: yes I know what I'm doing.  It's a gross hack but it is
> what Miles Bader intended.

Should be committed shortly.

1999-03-08  Jim Blandy  <jimb@zwingli.cygnus.com>

	Another HURD fix from Mark Kettenis:
	* gnu-nat.c: Include <string.h>.  Remove declaration of strerror.
	Include <bits/waitflags.h> instead of <waitflags.h> and define
	_SYS_WAIT_H to prevent the warning that we should not include it.
	(gnu_create_inferior): Change return type of attach_to_child to
	void.  Do not return INFERIOR_PID.
	(gnu_pid_to_exec_file): Change return type to char *.
	Return NULL.