Community
Participate
Working Groups
There are few places in the TCF Agent code that uses 32 as the maximum numbers of signals. This hard-coded limitation must be removed to support real-time signals.
Created attachment 231094 [details] Patch proposal
Yes, the agent has limit of 32 signals, and this needs to be fixed. There are some issues with the patch: 1. The patch does not address the root cause of 32 signals limit: integer type is used throughout the code to represent collections of signals as bitsets. 2. Designated initializers is feature of C99, which is not available in C89 and C++. We cannot use the feature, the code must be buildable with C89 and C++ compilers. I'm considering changing the code to use some generic signal set implementation instead of int bitset. Without such changes, it is not possible to support more than 32 signals.
I have added code to support unlimited number signals. The changes are not 100% backward compatible, so new code can be disabled with ENABLE_UnlimitedSignals=0. Fixed. Thanks!
https://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/commit/?h=1.1&id=962a045efe4176923cc4de502de06b80bbfc9cb8