From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id MGLnEK7R9Won3AQAWB0awg (envelope-from ) for ; Thu, 12 Nov 2026 09:48:14 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AQ3d/cOb; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=selector1 header.b=boxij9dF; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 2EF861E0BC; Thu, 12 Nov 2026 09:48:14 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 071861E087 for ; Thu, 12 Nov 2026 09:48:12 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C7B2D4BA2E2F for ; Thu, 12 Nov 2026 14:48:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7B2D4BA2E2F Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AQ3d/cOb; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=selector1 header.b=boxij9dF Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by sourceware.org (Postfix) with ESMTPS id 613604BA2E05 for ; Thu, 12 Nov 2026 14:47:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 613604BA2E05 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 613604BA2E05 Authentication-Results: sourceware.org; arc=fail smtp.remote-ip=192.198.163.7 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1794494858; cv=fail; b=wHhXSA3jcaIUS1mmRCbjyS+Tb/b3+cCsgixK7otB6IML31SB3Dw7u7H4r11FW14HqES57zJPbuXPG0Fhkhy9SMcEpwgivLyIuZCdxSZQB15zYd24+q8UZXW2xnuFWtg6HFroyvPgtj5yy5Zg1UmYTGgPtcIDsXOy6Ky2hsG7kFw= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1794494858; c=relaxed/simple; bh=SRRMBWM0Ss4wxYqwkf/IHHiiR4vYZpNRUImt0diHfrU=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=azOepA70Ut3RmON2e9XzOsz7Ow15xz+36xZ8l/8rE7nGM8RuCMCmZpfuvBkfQQ6Tb0RpdwM1VoPj0oZpETR09/UcaV5gnBNsixIky5F3Oh8zZM3vd/t5XHWHnDZ6vSFB5VyqPIeQWQ79TZnsnULzJ6rMeh1D+dgZlcBbKm5zoIs= ARC-Authentication-Results: i=2; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AQ3d/cOb; dkim=fail (1024-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=selector1 header.b=boxij9dF reason="signature verification failed" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 613604BA2E05 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1794494858; x=1826030858; h=from:to:cc:subject:date:message-id:mime-version; bh=SRRMBWM0Ss4wxYqwkf/IHHiiR4vYZpNRUImt0diHfrU=; b=AQ3d/cObOfabpLtmT3/DzyeZ3jCECfiRMe5vyG6ArAeCSmS6OvBuYHQC TFbvYqpbpmat7Nz00Nm/ok5fJ3Rj1s6B0Pj74YxXehByJSURri5kM+iCp chFEQfFoFUtzKktqaQECJ7Eg1h8n8xt3TVvyt2CNadIgGxmTqN3JB0DIf 86eiZ1ITrnWY8zrAu9M6Vr92C0ZdjRBsXXH1HojjJ8p+Jm1iCeOSvLN84 Jg8bgSqh/pCXqrw887Y2FhBqm/k3RkBFfTWSQvyjTIWIob/s7uocwm6mD P9UXjDAL+//nnDHiYuZhRzNCao9V+ifI33mKgUog38p+200LYQ45uWSKq Q==; X-CSE-ConnectionGUID: ddkQxmlGS1W+7KjDeYAcuw== X-CSE-MsgGUID: lUXqzE/OQQODItoiaJsvdw== X-IronPort-AV: E=McAfee;i="6800,10657,11964"; a="3151982" X-IronPort-AV: E=Sophos;i="6.27,209,1787036400"; d="scan'208,217";a="3151982" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2026 06:47:36 -0800 X-CSE-ConnectionGUID: dA95V06OR42lKkARexTTZQ== X-CSE-MsgGUID: wn/nDkKOSlqKil5q1penyA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,209,1787036400"; d="scan'208,217";a="8597613" Received: from orsmsx903.amr.corp.intel.com ([10.22.229.25]) by orviesa007.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Nov 2026 06:47:36 -0800 Received: from ORSMSX902.amr.corp.intel.com (10.22.229.24) by ORSMSX903.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Thu, 12 Nov 2026 06:47:35 -0800 Received: from ORSEDG903.ED.cps.intel.com (10.7.248.13) by ORSMSX902.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56 via Frontend Transport; Thu, 12 Nov 2026 06:47:35 -0800 Received: from SJ2PR03CU001.outbound.protection.outlook.com (52.101.43.50) by edgegateway.intel.com (134.134.137.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Thu, 12 Nov 2026 06:47:35 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yUfUvTYIWZ16EILPNVYsKTOM51upXp3lWZvTsaIctN0ATPYWAsyFMKe4CLKFHpd6FdjgmXjBmieNAgp7O5nOH+eOeBnhJ17cmQctgoASRjCwDJ9a7ucHzYtLoC2W9WUlUW7y3tSgFdhg6Q51xsxnCg28a3cKFcRl0PqtlRl1/8Ukk0YgFpcdSMDTibRMp+qfKmUIkT+Y0wr09u+9XT4CzGrNbqES9mg0DxCzIXBYWiIblXw1Og1agKPRxvuEVLWLP7jPFDkpby3gA63AAzKTgL3itG41ETkbxa/S8VLMlbku75RSsygTmY50YJh1OkUf2G/aONtc53qrE5SOAi+8vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=froIlUjZB+dOQ4yMGmYmbbsfmKXsBia34Ki5lkd5FiQ=; b=H58td1yIJplPIclU/KFU58ff4iycFuGyaDcodxCsCD219Hh7Isr2F+06YvdMPn9UmocAI3e/UZpKp3WBA1T8rILJqho0jH+PjkgYM1jwvGLw79rA4xmi5IGci1RSrt8mcemaD4hnkvfFePW3EGgEUg7yoZylB8jmVP8K5KdVH/nOM97IhEGbSU0L1b2cWAsuoFvJYKlE1C6I/b/U4HwsQz2kP+U/PYYpQI5UHBJAcwYHL1vMZNFNFfPquXeCh+WII8dIjLA1R4QKJgQoE3qvyvdvOTdaKnhbO0r7m41gK13L/c+BMJMLrq7xY0CkY2BCLXzbHhSfDTc1D6fnnk+S9Q== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=froIlUjZB+dOQ4yMGmYmbbsfmKXsBia34Ki5lkd5FiQ=; b=boxij9dFP9sE1o2ur/M0YFXJrRoniNRzEE9UQCTAJ78Nh9fvsVDRuv2uJ8exKG6WOA2UFicoGAGAaPve444/DyXjXI7gQCPGQNI2uSWlfUJiUwDHtXNVyxfj/ZF4IONyh5qqcgFWxFXNkNA8XH1933RSn1SR9cCtxEKCVK3kI+8= Received: from SA1PR11MB6968.namprd11.prod.outlook.com (2603:10b6:806:2be::22) by DS7PR11MB6272.namprd11.prod.outlook.com (2603:10b6:8:94::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.9; Thu, 12 Nov 2026 14:47:33 +0000 Received: from SA1PR11MB6968.namprd11.prod.outlook.com ([fe80::ab18:2ee7:3448:d71a]) by SA1PR11MB6968.namprd11.prod.outlook.com ([fe80::ab18:2ee7:3448:d71a%6]) with mapi id 15.21.0615.009; Thu, 12 Nov 2026 14:47:32 +0000 From: "Bouhaouel, Mohamed" To: "Bouhaouel, Mohamed" , "gdb-patches@sourceware.org" CC: "Bouhaouel, Mohamed" Subject: [PING 4][PATCH 1/1] gdb, infcall, breakpoint: Handle cycles in conditional expr evaluation Thread-Topic: [PING 4][PATCH 1/1] gdb, infcall, breakpoint: Handle cycles in conditional expr evaluation Thread-Index: AQHdcrSzwI57zh3tPkys/nHqPE0bhA== Date: Thu, 12 Nov 2026 14:47:32 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR11MB6968:EE_|DS7PR11MB6272:EE_ x-ms-office365-filtering-correlation-id: 9243f78c-48c8-4b90-25df-08df40cbe249 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|23010399003|6133799003|261009223027099003|18002099003|8096899003|261022105027099003|261021121427099003|261022075727099003|261026121527099003|261028144727099003|261026140227099003|261102123227099003|56012099006|10067099003|11063799006|38070700021; x-microsoft-antispam-message-info: PoSuf+TaguaTvT0ZTVQgveO/REeqjE0pQcRHC5XFpuLWRr6p7A3v1qhTzE/cHu/9nuYvm7NaFkETX09gx6B9elu2Ck/7zAOx8TVRaJS0NrAvTCj9BMhhMpCUXSJJ3GEYMJ0+EjWM3YkPczEMVM7zA8OynMtqjgT/bs7kuYhhpKlwBavNvbxLGqW2lGxegCpUpjUO5KEB42OxKr0+/PLUYbaZGJDGmF1aSbpjwKkMZHfIzWMvKK5IFKCXuvEl1OuOaxkMKS6lHxBodi3NvrlOZHCs783EMdyRtBH6/6fKkt9YPzgxqYVJmhWN+n/qcKffoyNPUahzJAXHD0W1+d4hwSLoGSHepNT+YIDhi+eQBv1CCPYy4o9ox0yU+qGyIFnYKjmxS4Q8yby0tqWLeH6L3Czgt6B4/WTlvFItfLUK1k2CVk9VjDQrEn0bxvfaC/K4XK2gQibrNudjML9TL8GaZ4Nt2uB2SJDoD2CZyOFhujahjh7nL431ccTo+gNFW8FVsFzVZbonm649ChycYaxH3q8NEzDQZh/4F/WbHXEYOo7yZq1SMl3aiApLtWn8jd1j5BNUvYAxD6FkQ/4XJ8DdodOLECdaue5iZe52VGtb4isEW2kavsZ8ldHfXbhxYzMN8ad5yStcKxd020t5TUSvaRq8xqQOTMCBHj8GGWP8UeorQRGTpg0WvFAxWqGMK3GL6y5fJJ9ZrCAMV+WrBFaiq9zwqXIqLjnXwGjvWTcu2vI= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR11MB6968.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(23010399003)(6133799003)(261009223027099003)(18002099003)(8096899003)(261022105027099003)(261021121427099003)(261022075727099003)(261026121527099003)(261028144727099003)(261026140227099003)(261102123227099003)(56012099006)(10067099003)(11063799006)(38070700021); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?pyyhgTLGeqGQs4yogzvfBJqt1H4fD2DIoaJUOfuVX52BHmQsja9blAFnF8?= =?iso-8859-1?Q?BmB2392DCjXSl13hYGJOC2QCHPDK/1/tYfsYqb8gV6joiO7vQPRaroIdQs?= =?iso-8859-1?Q?qneHejtuPYE4Ip3HqpD5y5uKBm+tBYHAX4RjbHStDyBShzPMoWK7ZRMv/C?= =?iso-8859-1?Q?YBxAG0fAKocicK9Oc47JdPxRZdfXVpO4TU7KQlydZFMKAGb1+Skh3IKqiO?= =?iso-8859-1?Q?YILI9B5M2hbpvmVry6CHSuIrCXtF9uj3kx4ur7vX0VKA17KnPQ+qWLLEhP?= =?iso-8859-1?Q?9QcaiklXvicDEvYGq+EEwPZZn+OQv38uSBdUXnv/avGS5cIJWNRt3zwrxL?= =?iso-8859-1?Q?YRMsdYFHgW0tgSHN6GOejBWBvQ1/4uHwWFaRGppzCyzrU8iU3fAp3Np3xq?= =?iso-8859-1?Q?m5RlBttxoqurjU5/GIEdGmBo/z61/ZuL/w1O8TFB55Zr8c8HVJlkRTSO9I?= =?iso-8859-1?Q?RkqnXYhcGtWYhdxWSaSDRTDTYLW9+79hdx564WP2gENBoSvYJYxODjurQo?= =?iso-8859-1?Q?p2T4DmGD/DYqDKxTIL8pBNcrcrBdJlg4YhFsVpKV3cfFL/KN3sxMbbjCkX?= =?iso-8859-1?Q?CzxCZctV6Bre/AhkEJm9jnfVJjKA6tpAUYLWneeuyhMAU7vWapjrDkETXU?= =?iso-8859-1?Q?Rd6fF4xjwCqzmwrNQqS+Fdwoqr93M7oUiuTLy4OOfTXrVkn0XD9QyP5a5G?= =?iso-8859-1?Q?lA+HC8MfS4qd1xxBU9NTmvKWzG03akUSPBk8YuAcTsiK/puCny/Z7DGBB7?= =?iso-8859-1?Q?qL6DDOvmJRJ4WSwgHFBTDreVy0Hhp8YICzTU5keQ8ZA0Gz6U96DD33cjrp?= =?iso-8859-1?Q?CoccYudLj7TatnlpVwmC64MNbhShlT0tB9rorIVwQqNmn+4G0EJBEyeZ4k?= =?iso-8859-1?Q?HBdhYK8rHGEMY3znHXs+xogf0jsRv2IuaLFWbttnDXcx1dyWxkqLlHOS6f?= =?iso-8859-1?Q?WaLNwQVXPEbtieqfpjvv4OeXK7czEaecgvjO+Pccmw43IfhhvXeOubTyDF?= =?iso-8859-1?Q?czYj/sPPdwvhhuTPtgaMuIATxq9YB9Jks6pLUQqbntfDaPQyfnksnLyLpt?= =?iso-8859-1?Q?ZSLgYN9ezA1WC9CMWoSMlAgIG23DifV1j8VEDZThQ11BSEYjCKo18DMMyA?= =?iso-8859-1?Q?SCtIp64HGIlnzldfgUVQqpaJRdvZAvwbomo0Kq11Kse4QtEEuVNNIV59n5?= =?iso-8859-1?Q?C7c/ojYtdKr/2GLWP3+LxCpFd5s9IFyMep6XuvNDTwk+WYP4249CH+pMDN?= =?iso-8859-1?Q?nKfKLO3FUOz+Z9SIVf9wMh5dZ8C1ItpnmSDncF8kX+vELjQnmpuRLXbtYg?= =?iso-8859-1?Q?GcXWFO5f3DQpSs/DrLsdyx6blGZTMJsLtq6ss97JGsh1mHzJ6RKJNlqGPC?= =?iso-8859-1?Q?LXDDInyD8yqsAj4ZkagrHvsdk9JzbdMtQJIqQzWAbWGcnd5BA2LjceyqaS?= =?iso-8859-1?Q?V7XlovGrZ3xRLiDUj0n4J1V9yLvagWhmrbX/dWU4pMXqsL8u9zyaJnLP8F?= =?iso-8859-1?Q?4woIPUI291z0abeCU6TSZ+vCljivhNGYENBlUQpj1APVnJaAoOqI+v/dU1?= =?iso-8859-1?Q?Qz5IxF5RDbUf1UFTRI41X8G0cNWd65gFUUHzvlYlygft1V4IgHDXpfgjdU?= =?iso-8859-1?Q?XUwJ8uR3uOKH7VBC3BMet92uvTaAwpc8EdMQxn0iBAzEoazmWP2VIpTAtM?= =?iso-8859-1?Q?MKl9ChW7fMLKW1Fp2mOC8lNAlcULR/omNF4AnJzxFryxmmbMppgAnaadi6?= =?iso-8859-1?Q?NQISug+3PnIN7knwz++XFbHm443z1Da0IFsQSt5KoMv9F8qW7HenFuv9KU?= =?iso-8859-1?Q?dZJ7XIF8jg=3D=3D?= Content-Type: multipart/alternative; boundary="_000_SA1PR11MB69686B3ED463CF95B2E91008E4702SA1PR11MB6968namp_" MIME-Version: 1.0 X-Exchange-RoutingPolicyChecked: LCKZkYjT2fuFvy1Fg8p1ZfxzIzteQq4keInyMVpgW4ETQHaOr561boRWVrWHR0FYBSyj1hXNAXU2eGQmMaChICS+XPil4EtNgc0ndL/CVGLNGv5LsCKOuFNZ2P275XQMe9q9sZtkaVRMjT15giWqeRQ+cYnUljUiEFaFcmFgmenieyZSdoEDWM0Qk4kwLZfTdDRNlSMVdbvHy8fxwegUpgbCWA8t8HKUMiEW98yqXNBjok3+FJdq7I3Cf9vRaOp4yr6oAZVjIEtqsVxEriodoCNVwN4MWgk4xmUzoYCDDkzVbrJc6Vvz2lCnhMjFgDqDKM3ZTW05T8bNTgN9TLurvQ== X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR11MB6968.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9243f78c-48c8-4b90-25df-08df40cbe249 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Nov 2026 14:47:32.8216 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 54OC3a+t09388Q+HSHaaDm7PsAIZ+xrMTUpvIG+Qqxr7zdqVLuq0nbb6DOi8I0+yFbOPRTHHXlLOmq90DtlHnJrWl2MlrXrqchk6PZRvfQQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR11MB6272 X-OriginatorOrg: intel.com X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org --_000_SA1PR11MB69686B3ED463CF95B2E91008E4702SA1PR11MB6968namp_ Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Kindly pinging! Thanks, --Mohamed ________________________________ From: Mohamed Bouhaouel Sent: Friday, October 2, 2026 4:35 PM To: gdb-patches@sourceware.org Cc: abdul.b.ijaz@intel.com; mohamed.bouhaouel@intel.com Subject: Re: [PATCH 1/1] gdb, infcall, breakpoint: Handle cycles in conditi= onal expr evaluation Take the following scenario: (gdb) break foo if foo (1) =3D=3D 2 (gdb) run = The program stops at 'foo', then GDB tries to evaluate the condition. The c= ondition triggers an inferior call of 'foo', which causes a stop at 'foo' a= gain, and GDB is stuck in this infinite cycle. The same issue exists also f= or indirect cycles, e.g., (gdb) break foo if bar (1) (gdb) break bar if foo= (1) (gdb) run To avoid this, check for cycles just before evaluating a bre= akpoint condition. If a breakpoint is hit again while its own condition is = being evaluated, the evaluation of that condition is aborted with an error = message. With the patch, the behavior becomes: (gdb) break foo if foo (1) = =3D=3D 2 Breakpoint 2 at 0x55555555514c: file infcall-from-bp-cond-cycle.c,= line 27. (gdb) continue Continuing. Error in testing condition for breakpo= int 2: Aborting expression evaluation for the conditional bp: A cycle was d= etected during the evaluation. Breakpoint 2, foo (a=3D1) at infcall-from-bp= -cond-cycle.c:27 27 return a + add_one (a); Error in testing condition for = breakpoint 2: The program being debugged stopped while in a function called= from GDB. Evaluation of the expression containing the function (foo) will = be abandoned. When the function is done executing, GDB will silently stop. = (gdb) backtrace #0 foo (a=3D1) at infcall-from-bp-cond-cycle.c:27 #1 ________________________________________ Intel Deutschland GmbH = Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany = Tel: +49 (89) 99143-0 = www.intel.de = Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitar= aman Chairperson of the Supervisory Board: Sonja Pierer Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928 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. --_000_SA1PR11MB69686B3ED463CF95B2E91008E4702SA1PR11MB6968namp_ Content-Type: text/html; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
Kindly pinging!

Thanks,

--Mohame= d

 



From: Mohamed Bouhaouel
Sent: Friday, October 2, 2026 4:35 PM
To: gdb-patches@sourceware.org
Cc: abdul.b.ijaz@intel.com; mohamed.bouhaouel@intel.com
Subject: Re: [PATCH 1/1] gdb, infcall, breakpoint: Handle cycles in = conditional expr evaluation

Take the following scenario: (gdb) break foo if foo (1) =3D=3D 2 (gdb) run = The program stops at 'foo', then GDB tries to evaluate the condition. The c= ondition triggers an inferior call of 'foo', which causes a stop at 'foo' a= gain, and GDB is stuck in this infinite cycle. The same issue exists also for indirect cycles, e.g., (gdb) break f= oo if bar (1) (gdb) break bar if foo (1) (gdb) run To avoid this, check for= cycles just before evaluating a breakpoint condition. If a breakpoint is h= it again while its own condition is being evaluated, the evaluation of that condition is aborted with an er= ror message. With the patch, the behavior becomes: (gdb) break foo if foo (= 1) =3D=3D 2 Breakpoint 2 at 0x55555555514c: file infcall-from-bp-cond-cycle= .c, line 27. (gdb) continue Continuing. Error in testing condition for breakpoint 2: Aborting expression evaluatio= n for the conditional bp: A cycle was detected during the evaluation. Break= point 2, foo (a=3D1) at infcall-from-bp-cond-cycle.c:27 27 return a + add_o= ne (a); Error in testing condition for breakpoint 2: The program being debugged stopped while in a function c= alled from GDB. Evaluation of the expression containing the function (foo) = will be abandoned. When the function is done executing, GDB will silently s= top. (gdb) backtrace #0 foo (a=3D1) at infcall-from-bp-cond-cycle.c:27 #1

____________= ____________________________

Intel Deutsc= hland GmbH

Registered A= ddress: Dornacher Strasse 1, 85622 Feldkirchen, Germany

Tel: +49 (89) 99143-0 =

= www.intel.de

Managing Directors: Candice Moore= , Jeffrey Schneiderman, Ramachandran Sitaraman

Chairperson of the Supervisory Bo= ard: Sonja Pierer

Registered S= eat: Munich Commercial Register B: Amtsgericht Munich HRB 186928

This e-mail and any attachments m= ay 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.

--_000_SA1PR11MB69686B3ED463CF95B2E91008E4702SA1PR11MB6968namp_--