Another Useful GCC Attribute

This week I came across a strange issue. In a process running on an embedded device, one of the threads, at some point, remained stuck. Since the gdbserver was not immediately available for that particular target, I tried to add some printf() but wit… (read more)

GCC Is Your Friend

A couple of years ago, I wanted to put some functions to write logs into a C library (shared object). My idea was to have something that was easy to use in every situation. Since, most of the times, variables must be printed, I decided to create a fu… (read more)