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: [PATCH] sim: dv-sockser: pass up connected state


> A few ports rely on internal dv-sockser state in order to detect whether
> a connection has been made (look for 'extern sockser_addr').  Rather than
> continuing that tradition, extend the existing status function to return
> the socket connection status.
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> 
> 2010-03-31  Mike Frysinger  <vapier@gentoo.org>
> 
> 	* dv-sockser.h (DV_SOCKSER_DISCONNECTED): Define.
> 	* dv-sockser.c (dv_sockser_status): Set DV_SOCKSER_DISCONNECTED
> 	initially.

This looks OK to me. Are you going to fix these ports next?

-- 
Joel


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