Explicit locations: introduce new struct event_location-based API
authorKeith Seitz <keiths@redhat.com>
Wed, 12 Aug 2015 00:09:35 +0000 (17:09 -0700)
committerKeith Seitz <keiths@redhat.com>
Wed, 12 Aug 2015 00:09:35 +0000 (17:09 -0700)
commitc7c1b3e998a77eb077ac3c08c88a97d2e11dfef0
treeb096b0ee0c2de1ab36dd9215c6a20e75534d0175
parent5f700d83f7f3ea422d789c51a25f04818bf788d7
Explicit locations: introduce new struct event_location-based API

This patch introduces the new breakpoint/"linespec" API based on
a new struct event_location.  This API currently only supports
traditional linespecs, maintaining the status quo of the code base.
Future patches will add additional functionality for other location
types such as address locations.

gdb/ChangeLog:

* Makefile.in (SFILES): Add location.c.
(HFILES_NO_SRCDIR): Add location.h.
(COMMON_OBS): Add location.o.
* linespec.c (linespec_lex_to_end): New function.
* linespec.h (linespec_lex_to_end): Declare.
* location.c: New file.
* location.h: New file.
gdb/ChangeLog
gdb/Makefile.in
gdb/linespec.c
gdb/linespec.h
gdb/location.c [new file with mode: 0644]
gdb/location.h [new file with mode: 0644]
This page took 0.025238 seconds and 4 git commands to generate.