Home | History | Annotate | Download | only in lib

Lines Matching refs:portnum

148 	gdb_persistent_global portnum
151 if { ![info exists portnum] } {
152 set portnum $initial_portnum
156 set res $portnum
157 incr portnum
162 with_lock portnum.lock {
163 # Keep portnum file alongside the lock that guards it.
164 set portnum_file [lock_dir]/portnum
168 set portnum [read $fd]
171 set portnum [string trim $portnum]
174 set portnum $initial_portnum
177 set next_portnum [expr $portnum + 1]
184 return $portnum
305 set portnum [get_portnum]
393 if { $portnum != "" } {
397 append gdbserver_command "[$get_comm_port $portnum]"
420 verbose -log "Port $portnum is already in use."
422 if { $other_portnum != $portnum } {
425 set portnum $other_portnum
442 return [list $protocol [$get_remote_address $debughost $portnum]]