From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8720 invoked by alias); 8 May 2014 17:56:01 -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 8707 invoked by uid 89); 8 May 2014 17:56:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 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 ESMTP; Thu, 08 May 2014 17:55:59 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s48HtwEA022362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 8 May 2014 13:55:58 -0400 Received: from valrhona.uglyboxes.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s48HtvP8012266 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Thu, 8 May 2014 13:55:58 -0400 Message-ID: <536BC52D.80800@redhat.com> Date: Thu, 08 May 2014 17:56:00 -0000 From: Keith Seitz User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: "gdb-patches@sourceware.org ml" Subject: [RFA 0/9] Explicit locations v2 - Introduction Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00084.txt.bz2 Hi, I would like to resurrect this project from last year. This patch series introduces "explicit" locations, which allow users to explicitly specify location attributes when setting breakpoints. This feature can be especially handy, for example, when an application defines multiple functions of the same name: (gdb) break -source file1.c -function multiple_symbols_with_this_name In this case, gdb will only attempt to set a breakpoint in the given source file. If the given symbol is not defined in the file, gdb will do the usual pending breakpoint query. This revision is largely the same as the one I posted last year with one notable change: I have implemented probe locations. Consequently, this API change now supports the following "event locations": linespec, address (formerly "*EXPR"), explicit, and probe. I have attempted to break up the patch to assist review. The intent is to apply all patches approved. Nonetheless, each patch may be applied sequentially and should not cause any build failures or introduce any test suite regressions. I have tested each patch on both x86_64 native and native-gdbserver. Keith