Hi,
We are experimenting with enabling the symbols and line numbers proxy implementations
(ENABLE_SymbolsProxy and ENABLE_LineNumbersProxy), but since Mux is enabled,
the proxy functions should fail in a nice way when called without a cache channel.
I have made modifications for this to work in symbols_proxy.c and linenumbers_proxy.c,
Basically failing the public functions by returning -1 and setting errno to ERR_SYM_NOT_FOUND
if cache_channel() returned zero.
- Does this sound like a workable setup, to adapt proxy implementations to
gracefully fail if there is no cache channel. - Can this change (which I will provide) be added permanently.
I have a pretty clean patch that I can provide.
Best regards,
Claes Lilliesköld
----------------------------------------------------------------------
Intel Sweden AB
Registered Office: Isafjordsgatan 30B, 164 40 Kista, Stockholm, Sweden
Registration Number: 556189-6027
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
|