Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12600 Discussions

Please fix nios2-gdb-server-wrapped

Altera_Forum
Honored Contributor II
1,098 Views

Would the authors of nios2-gdb-server-wrapped, _please_ set the SO_REUSE_ADDR option on the server socket before calling bind()? I'm getting really tired of sitting on my hands waiting while the gdb-server tells me it's unable to bind with an EADDRINUSE error. Everytime gdb-server dies or aborts, I can't do anything for TIME_WAIT seconds because I can't start a new gdb-server. 

 

Better yet, point me to the source code so I can fix it myself and submit a patch. 

 

"Using proprietary tools is like swimming in handcuffs."
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
378 Views

 

--- Quote Start ---  

originally posted by grante@Nov 6 2006, 04:36 AM 

would the authors of nios2-gdb-server-wrapped, _please_ set the so_reuse_addr option on the server socket before calling bind()?  i'm getting really tired of sitting on my hands waiting while the gdb-server tells me it's unable to bind with an eaddrinuse error.  everytime gdb-server dies or aborts, i can't do anything for time_wait seconds because i can't start a new gdb-server. 

 

better yet, point me to the source code so i can fix it myself and submit a patch. 

 

  "using proprietary tools is like swimming in handcuffs." 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19192) 

--- quote end ---  

 

--- Quote End ---  

 

Maybe you should file a service request, 

https://mysupport.altera.com/eservice/ (https://mysupport.altera.com/eservice/)
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

 

--- Quote Start ---  

originally posted by hippo@Nov 7 2006, 12:55 AM 

maybe you should file a service request, 

https://mysupport.altera.com/eservice/ (https://mysupport.altera.com/eservice/

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=19241) 

--- quote end ---  

 

--- Quote End ---  

 

Done.
0 Kudos
Altera_Forum
Honored Contributor II
378 Views

pleaeeeeeeeese, fix this :-)

0 Kudos
Altera_Forum
Honored Contributor II
378 Views

This is still an (annoying) problem that could be easily fixed by altera.

0 Kudos
Reply