Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tcf-dev] Using symbols and line numbers proxy with and without a cache channel
  • From: "Lillieskold, Claes" <claes.lillieskold@xxxxxxxxx>
  • Date: Fri, 21 Feb 2020 06:40:39 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R8EKgFU7r0swnO7WkbEsU+bhybflXE1GCZ0AlDaDjnk=; b=bZk2sOFhD8gYGt9BFs0RcEMy/+8A/W/hxO72jcw9uoWx0sPDpTnmNzq8gEx2SHnH6+NBwbzW/gO3f6Oalt1RsnOCpMWyLTB7hUYq9fqA9S98jmS9rnPUPmnrPTV5gZaW1f9KDk4jmXTb1tQ3XBIXZWmmXXOJLIlsaZYR8KKccLgsrWWc2lmtwOBO7IHbt/HtAwJQDo9veeiuUwLY1/zDLh2eZ/si9hyPJoXW4fX1ukJbUYS2mgbLVdh8X5dFUZhkHDtfZRmuzzyNQ2mjcMdjgtECCADYyTzvJrcfmcMQ2PuPxCp0NGzaPUwvs+LgdCz/2kwBwNE6YBKmcjfDLPW2QQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JGzc+ccQtDvfqn9Opw1j17a4KNM5r0upJqXRZ4TZnc1sBCJeFG0qgI5lZBLT+Wg27Js7mbnTaWvmpxDz8xveKXRdr3vlIGhQD+QE5xPt8x3cyalh2ViznVDOm2RfDZeP3rzL6ZW7ibvkBf5KSPmXfsr9S0q43ja1dJXxfPJsXUSC2CJ/Gw3MAdGvIXoO7BkmvtTSaMCHydD9LSz2xl8iPif0U40Rn1UT+iBiPW8M4eRsFk0r2iBISkR76I6QwDSvVp7HZO2eZ0FXHUFRALPYsZl7j320aiuCcgu/Ps/8GMz2WHO929lIuYBR/Rg761fFvWpXcRc0l6xZ/suauWJVhw==
  • Delivered-to: tcf-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tcf-dev>
  • List-help: <mailto:tcf-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tcf-dev>, <mailto:tcf-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tcf-dev>, <mailto:tcf-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHV6H3aGXeazU3eNUuN7/O5yxrb7g==
  • Thread-topic: Using symbols and line numbers proxy with and without a cache channel

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.

 

  1. Does this sound like a workable setup, to adapt proxy implementations to
    gracefully fail if there is no cache channel.
  2. 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.


Back to the top