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 3/4] GDB: Fix documentation for invoking GDBSERVER


On Fri, Oct 19, 2018 at 04:45:14PM -0400, Sergio Durigan Junior wrote:

     The check needs to implemented on gdbserver/remote-utils.c:remote_open,
     and gdbserver needs to error out if "hint.ai_protocol == IPPROTO_UDP".
     And "parse_connection_spec_without_prefix" could be merged with
     "parse_connection_spec".
     
A quick test shows that this is not necessary.  Any attempt to start
gdbserver with udp: will never get to remote_open because remote_prepare
will fail when it gets to listen:
 
  "Can't listen on socket: Operation no supported."

(listen is for connection orientated protocols only).


J'



-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.


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