From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20175 invoked by alias); 17 Oct 2014 17:39:01 -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 20103 invoked by uid 89); 17 Oct 2014 17:39:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 17 Oct 2014 17:38:59 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9HHctBC014568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 17 Oct 2014 13:38:56 -0400 Received: from host2.jankratochvil.net (ovpn-116-79.ams2.redhat.com [10.36.116.79]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9HHcpYL024174 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Fri, 17 Oct 2014 13:38:54 -0400 Date: Fri, 17 Oct 2014 17:39:00 -0000 From: Jan Kratochvil To: Doug Evans Cc: Daniel Gutson , gdb Subject: Re: Breakpoint commands compiler Message-ID: <20141017173851.GA14909@host2.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00081.txt.bz2 On Fri, 17 Oct 2014 18:57:33 +0200, Doug Evans wrote: > For reference sake a patch has been submitted by Red Hat to add a > "compile" command. https://sourceware.org/gdb/wiki/GCCCompileAndExecute as written primarily by Phil recently mentions Currently the project does not “patch in” the newly compiled bytes at the program counter. That might be a viable solution in the future, perhaps as we explore other avenues for this project (like “fast” breakpoints). There are such plans intended as fast breakpoint conditions evaluation similar to current agent expressions but more general. What Daniel Gutson mentions is IMO "fix-and-continue", this was implemented by Apple in GDB-6.3 - Googled now its announcement: https://www.sourceware.org/ml/gdb/2003-06/msg00500.html It is one of the possible future goals of the "compile" project above although currently it is considered as pretty far goal. Jan