Commit Graph
6 Commits
Author SHA1 Message Date
Robert Schmidt ed89498c4f Use standard C initializer list syntax
Fix clang warning

  warning: use of GNU old-style field designator extension [-Wgnu-designator]
2024-04-18 14:16:09 +02:00
Robert Schmidt f099ff59eb Rename T files to avoid name clashes
There is already common/utils/config.h. This file(name) is hardcoded as
it is included into asn1c, and cannot be renamed. To avoid a name clash
and confusing, we rename T's config.h/c to configuration.h/c.
2023-08-01 13:49:25 +02:00
Cedric Roux 52cf61de97 T tracer: don't depend on T_BUFFER_MAX anymore in the tracers
Whenever the value T_BUFFER_MAX changes, the tracers had to
be recompiled. The only reason why it was needed is because we
used some fixed size buffers to read events. This commit removes
this restriction.

Also, with the basic simulator, this value T_BUFFER_MAX now comes
with an #ifdef which would have required some special hackish-level
tricks in the tracers, which is not good.

Let's just allocate memory when needed.
2018-05-02 12:11:34 +02:00
Cedric Roux aea2da5e4f minor compilation warning fix 2016-07-08 12:57:33 +02:00
Cedric Roux 1a6c20cf76 bugfix: record.c did not manage ctrl+c and ctrl+z correctly
ctrl+c did not work when the program was not connected yet.
It also didn't work if no event was received.
2016-06-23 14:48:25 +02:00
Cedric Roux 97d1dcbccd add a 'record' tracer 2016-06-17 15:16:19 +02:00