From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68792 invoked by alias); 19 Sep 2016 15:25:59 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 68670 invoked by uid 89); 19 Sep 2016 15:25:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HX-Envelope-From:sk:Stephen, H*r:FAIL, colleague, attractive X-HELO: esa8.dell-outbound.iphmx.com Received: from Unknown (HELO esa8.dell-outbound.iphmx.com) (68.232.149.218) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Sep 2016 15:25:48 +0000 Received: from esa3.dell-outbound2.iphmx.com ([68.232.154.63]) by esa8.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2016 10:25:41 -0500 From: "Flynn, Stephen" Received: from mailuogwhop.emc.com ([168.159.213.141]) by esa3.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Sep 2016 21:25:40 +0600 Received: from maildlpprd05.lss.emc.com (maildlpprd05.lss.emc.com [10.253.24.37]) by mailuogwprd01.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id u8JFPdB0026146 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 19 Sep 2016 11:25:40 -0400 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd01.lss.emc.com u8JFPdB0026146 X-DKIM: OpenDKIM Filter v2.4.3 mailuogwprd01.lss.emc.com u8JFPdB0026146 Received: from mailusrhubprd01.lss.emc.com (mailusrhubprd01.lss.emc.com [10.253.24.19]) by maildlpprd05.lss.emc.com (RSA Interceptor) for ; Mon, 19 Sep 2016 11:23:37 -0400 Received: from MXHUB106.corp.emc.com (MXHUB106.corp.emc.com [10.253.58.23]) by mailusrhubprd01.lss.emc.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.0) with ESMTP id u8JFPRxv025517 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 19 Sep 2016 11:25:28 -0400 Received: from MX203CL01.corp.emc.com ([fe80::54db:f716:6b50:7e5f]) by MXHUB106.corp.emc.com ([10.253.58.23]) with mapi id 14.03.0266.001; Mon, 19 Sep 2016 11:25:27 -0400 To: "'gdb@sourceware.org'" Subject: -var-create outside of a suspended context Date: Mon, 19 Sep 2016 15:25:00 -0000 Message-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Sentrion-Hostname: mailusrhubprd01.lss.emc.com X-RSA-Classifications: public X-SW-Source: 2016-09/txt/msg00057.txt.bz2 I am hoping to get some feedback for a couple feature enhancements to gdb I= am proposing to my colleagues. The first enhancement is making the MI command -var-create usable outside o= f a suspended context for local variables and function arguments by identif= ying where these expressions exist. This would be similar to my colleague = David Taylor's proposed changes to ptype, whatis, and macro expand, which a= dds the -at flag. The second enhancement is when creating a variable object on a function, to= make the arguments to a function children of the created variable object.= =20=20 My motivation here is two-fold: Through the MI interface, examine a structu= re to calculate its 0x00-based offset and resolve the functions arguments i= n order to create in-memory objects that may be referenced when executing a= function call. Hopefully other uses may be found, making it a more attrac= tive addition to gdb. Thanks, Stephen Flynn