This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: some news about the x86_64-windows port...


> From: Andreas Schwab <schwab@suse.de>
> Date: Wed, 07 Jan 2009 13:21:13 +0100
> 
> Mark Kettenis <mark.kettenis@xs4all.nl> writes:
> 
> >> --- a/gdb/configure.ac
> >> +++ b/gdb/configure.ac
> >> @@ -774,7 +774,7 @@ AC_FUNC_ALLOCA
> >>  AC_FUNC_MMAP
> >>  AC_FUNC_VFORK
> >>  AC_CHECK_FUNCS([canonicalize_file_name realpath getrusage getuid \
> >> -                getgid poll pread64 sbrk setpgid setpgrp setsid \
> >> +                getgid kill poll pread64 sbrk setpgid setpgrp setsid \
> >>  		sigaction sigprocmask sigsetmask socketpair syscall \
> >>  		ttrace wborder setlocale])
> >
> > Why the hell do we need to add a check for a function defined by ISO C90?
> 
> I think you are mixing that with raise, C90 does not have kill.

Not sure what I've been smoking... Andreas is right of course.  But it
does raise the question why event-top.c isn't using raise(...) instead
of kill(getpid(), ...).


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