[PATCH] libdebugger: rtems_debugger_register_tcp_remote()

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Nov 29 06:30:36 UTC 2017


On 28/11/17 23:02, Chris Johns wrote:
> On 29/11/2017 00:59, Sebastian Huber wrote:
>> Always provide rtems_debugger_register_tcp_remote().  Header files are
>> supplied by Newlib and not libnetworking.
> Does this mean the version in libbsd can be removed?

Yes, but there is an issue with the library dependencies. The debugger 
stuff is in librtemscpu.a which is present via bsp_specs. The socket() 
stuff is in libbsd. I had to use:

-Wl,--start-group -lbsd -lrtemscpu -Wl,--end-group

libbsd.a defines strong _Watchdog_Ticks_since_boot alias. So, this 
library must be first.

Maybe we should add a libdebugger.a.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list