This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 0/9] Explicit locations v2 - Introduction
- From: Keith Seitz <keiths at redhat dot com>
- To: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Thu, 08 May 2014 10:55:57 -0700
- Subject: [RFA 0/9] Explicit locations v2 - Introduction
- Authentication-results: sourceware.org; auth=none
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