From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14636 invoked by alias); 27 Mar 2015 09:16:26 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14626 invoked by uid 89); 27 Mar 2015 09:16:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD 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, 27 Mar 2015 09:16:25 +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 t2R9GNNJ031654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 27 Mar 2015 05:16:23 -0400 Received: from host1.jankratochvil.net (ovpn-116-21.ams2.redhat.com [10.36.116.21]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t2R9GIc4012206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 27 Mar 2015 05:16:21 -0400 Date: Fri, 27 Mar 2015 09:16:00 -0000 From: Jan Kratochvil To: Eli Zaretskii Cc: Phil Muldoon , gdb-patches@sourceware.org Subject: Re: [PATCH 4/4] compile: New 'compile print' Message-ID: <20150327091617.GA1488@host1.jankratochvil.net> References: <20150326205727.28223.54648.stgit@host1.jankratochvil.net> <20150326205752.28223.24230.stgit@host1.jankratochvil.net> <83iodmnc18.fsf@gnu.org> <20150327073333.GA28529@host1.jankratochvil.net> <83d23unazo.fsf@gnu.org> <55150D18.6020308@redhat.com> <838uein6un.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <838uein6un.fsf@gnu.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00886.txt.bz2 On Fri, 27 Mar 2015 10:10:40 +0100, Eli Zaretskii wrote: > Btw, what does this fact mean for what can and cannot be in the > expression? Anything that can be in the inferior code. GDB extensions are not yet implemented, except for '@' (which is not a part of this patchset). > Can it include calls to standard functions? Can it call functions from > libraries other than libc? What about functions defined by the inferior? yes, yes (as long as the library is already DT_NEEDEDed or dlopen()ed by the inferior), yes. Jan