forked from Imagelibrary/binutils-gdb
Move gdb_regex to gdbsupport
This moves the gdb_regex convenience class to gdbsupport.
This commit is contained in:
@@ -1074,7 +1074,6 @@ COMMON_SFILES = \
|
|||||||
gcore.c \
|
gcore.c \
|
||||||
gdb-demangle.c \
|
gdb-demangle.c \
|
||||||
gdb_bfd.c \
|
gdb_bfd.c \
|
||||||
gdb_regex.c \
|
|
||||||
gdbtypes.c \
|
gdbtypes.c \
|
||||||
gmp-utils.c \
|
gmp-utils.c \
|
||||||
gnu-v2-abi.c \
|
gnu-v2-abi.c \
|
||||||
@@ -1316,7 +1315,6 @@ HFILES_NO_SRCDIR = \
|
|||||||
gdb_curses.h \
|
gdb_curses.h \
|
||||||
gdb_expat.h \
|
gdb_expat.h \
|
||||||
gdb_proc_service.h \
|
gdb_proc_service.h \
|
||||||
gdb_regex.h \
|
|
||||||
gdb_select.h \
|
gdb_select.h \
|
||||||
gdb-stabs.h \
|
gdb-stabs.h \
|
||||||
gdb_vfork.h \
|
gdb_vfork.h \
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include "gdbtypes.h"
|
#include "gdbtypes.h"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "auto-load.h"
|
#include "auto-load.h"
|
||||||
#include "progspace.h"
|
#include "progspace.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "ui-out.h"
|
#include "ui-out.h"
|
||||||
#include "filenames.h"
|
#include "filenames.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "probe.h"
|
#include "probe.h"
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
#include "cp-abi.h"
|
#include "cp-abi.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "cp-support.h"
|
#include "cp-support.h"
|
||||||
#include "location.h"
|
#include "location.h"
|
||||||
#include "cli/cli-decode.h"
|
#include "cli/cli-decode.h"
|
||||||
|
|||||||
@@ -56,7 +56,7 @@
|
|||||||
#include "valprint.h"
|
#include "valprint.h"
|
||||||
#include "jit.h"
|
#include "jit.h"
|
||||||
#include "parser-defs.h"
|
#include "parser-defs.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "probe.h"
|
#include "probe.h"
|
||||||
#include "cli/cli-utils.h"
|
#include "cli/cli-utils.h"
|
||||||
#include "stack.h"
|
#include "stack.h"
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
#include "target.h" /* For baud_rate, remote_debug and remote_timeout. */
|
#include "target.h" /* For baud_rate, remote_debug and remote_timeout. */
|
||||||
#include "gdbsupport/gdb_wait.h" /* For shell escape implementation. */
|
#include "gdbsupport/gdb_wait.h" /* For shell escape implementation. */
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "gdb_regex.h" /* Used by apropos_command. */
|
#include "gdbsupport/gdb_regex.h" /* Used by apropos_command. */
|
||||||
#include "gdb_vfork.h"
|
#include "gdb_vfork.h"
|
||||||
#include "linespec.h"
|
#include "linespec.h"
|
||||||
#include "expression.h"
|
#include "expression.h"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "symtab.h"
|
#include "symtab.h"
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "completer.h"
|
#include "completer.h"
|
||||||
#include "ui-out.h"
|
#include "ui-out.h"
|
||||||
#include "cli/cli-cmds.h"
|
#include "cli/cli-cmds.h"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
/* Include the public interfaces. */
|
/* Include the public interfaces. */
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "cli-script.h"
|
#include "cli-script.h"
|
||||||
#include "completer.h"
|
#include "completer.h"
|
||||||
#include "gdbsupport/intrusive_list.h"
|
#include "gdbsupport/intrusive_list.h"
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
#include "infcall.h"
|
#include "infcall.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "gdbsupport/enum-flags.h"
|
#include "gdbsupport/enum-flags.h"
|
||||||
#include "gdbsupport/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
#include "gcore.h"
|
#include "gcore.h"
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
#include "psymtab.h"
|
#include "psymtab.h"
|
||||||
#include "solib.h"
|
#include "solib.h"
|
||||||
#include "solist.h"
|
#include "solist.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
|
|
||||||
/* Return to the client the absolute path and line number of the
|
/* Return to the client the absolute path and line number of the
|
||||||
current file being executed. */
|
current file being executed. */
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
#include "gdbcore.h"
|
#include "gdbcore.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "regcache.h"
|
#include "regcache.h"
|
||||||
#include "block.h"
|
#include "block.h"
|
||||||
#include "infcall.h"
|
#include "infcall.h"
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
#include "progspace.h"
|
#include "progspace.h"
|
||||||
#include "filenames.h"
|
#include "filenames.h"
|
||||||
#include "linespec.h"
|
#include "linespec.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
#include "arch-utils.h"
|
#include "arch-utils.h"
|
||||||
#include "value.h"
|
#include "value.h"
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "producer.h"
|
#include "producer.h"
|
||||||
#include "gdbsupport/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
|
|
||||||
/* See producer.h. */
|
/* See producer.h. */
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#include "ui-out.h"
|
#include "ui-out.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include "readline/tilde.h"
|
#include "readline/tilde.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "dictionary.h"
|
#include "dictionary.h"
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "cp-support.h"
|
#include "cp-support.h"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#include "charset.h"
|
#include "charset.h"
|
||||||
#include "cp-support.h"
|
#include "cp-support.h"
|
||||||
#include "gdbsupport/gdb_obstack.h"
|
#include "gdbsupport/gdb_obstack.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "rust-lang.h"
|
#include "rust-lang.h"
|
||||||
#include "parser-defs.h"
|
#include "parser-defs.h"
|
||||||
#include "gdbsupport/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "source.h"
|
#include "source.h"
|
||||||
#include "filenames.h"
|
#include "filenames.h"
|
||||||
#include "fnmatch.h"
|
#include "fnmatch.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "gdbsupport/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
#include <list>
|
#include <list>
|
||||||
#include "cli/cli-style.h"
|
#include "cli/cli-style.h"
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
#include "command.h"
|
#include "command.h"
|
||||||
#include "target.h"
|
#include "target.h"
|
||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "inferior.h"
|
#include "inferior.h"
|
||||||
#include "gdbsupport/environ.h"
|
#include "gdbsupport/environ.h"
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include "gdbcore.h"
|
#include "gdbcore.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "symfile.h"
|
#include "symfile.h"
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
#include "annotate.h"
|
#include "annotate.h"
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "bcache.h"
|
#include "bcache.h"
|
||||||
#include "block.h"
|
#include "block.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include "dictionary.h"
|
#include "dictionary.h"
|
||||||
#include "typeprint.h"
|
#include "typeprint.h"
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
#include "symfile.h"
|
#include "symfile.h"
|
||||||
#include "objfiles.h"
|
#include "objfiles.h"
|
||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "expression.h"
|
#include "expression.h"
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
#include "demangle.h"
|
#include "demangle.h"
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
#include "gdbsupport/gdb_vecs.h"
|
#include "gdbsupport/gdb_vecs.h"
|
||||||
#include "gdbtypes.h"
|
#include "gdbtypes.h"
|
||||||
#include "gdbsupport/gdb_obstack.h"
|
#include "gdbsupport/gdb_obstack.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "gdbsupport/enum-flags.h"
|
#include "gdbsupport/enum-flags.h"
|
||||||
#include "gdbsupport/function-view.h"
|
#include "gdbsupport/function-view.h"
|
||||||
#include "gdbsupport/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
|
|||||||
@@ -40,7 +40,7 @@
|
|||||||
#include "annotate.h"
|
#include "annotate.h"
|
||||||
#include "cli/cli-decode.h"
|
#include "cli/cli-decode.h"
|
||||||
#include "cli/cli-option.h"
|
#include "cli/cli-option.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "cli/cli-utils.h"
|
#include "cli/cli-utils.h"
|
||||||
#include "thread-fsm.h"
|
#include "thread-fsm.h"
|
||||||
#include "tid-parse.h"
|
#include "tid-parse.h"
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include "defs.h"
|
#include "defs.h"
|
||||||
#include "ui-style.h"
|
#include "ui-style.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
|
|
||||||
/* A regular expression that is used for matching ANSI terminal escape
|
/* A regular expression that is used for matching ANSI terminal escape
|
||||||
sequences. */
|
sequences. */
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
#include "interps.h"
|
#include "interps.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
#include "gdbsupport/job-control.h"
|
#include "gdbsupport/job-control.h"
|
||||||
#include "gdbsupport/selftest.h"
|
#include "gdbsupport/selftest.h"
|
||||||
#include "gdbsupport/gdb_optional.h"
|
#include "gdbsupport/gdb_optional.h"
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#include "gdbcmd.h"
|
#include "gdbcmd.h"
|
||||||
#include "block.h"
|
#include "block.h"
|
||||||
#include "valprint.h"
|
#include "valprint.h"
|
||||||
#include "gdb_regex.h"
|
#include "gdbsupport/gdb_regex.h"
|
||||||
|
|
||||||
#include "varobj.h"
|
#include "varobj.h"
|
||||||
#include "gdbthread.h"
|
#include "gdbthread.h"
|
||||||
|
|||||||
@@ -54,6 +54,7 @@ libgdbsupport_a_SOURCES = \
|
|||||||
gdb-dlfcn.cc \
|
gdb-dlfcn.cc \
|
||||||
gdb-hashtab.cc \
|
gdb-hashtab.cc \
|
||||||
gdb_obstack.cc \
|
gdb_obstack.cc \
|
||||||
|
gdb_regex.cc \
|
||||||
gdb_tilde_expand.cc \
|
gdb_tilde_expand.cc \
|
||||||
gdb_wait.cc \
|
gdb_wait.cc \
|
||||||
gdb_vecs.cc \
|
gdb_vecs.cc \
|
||||||
|
|||||||
@@ -152,14 +152,15 @@ am_libgdbsupport_a_OBJECTS = agent.$(OBJEXT) btrace-common.$(OBJEXT) \
|
|||||||
environ.$(OBJEXT) errors.$(OBJEXT) event-loop.$(OBJEXT) \
|
environ.$(OBJEXT) errors.$(OBJEXT) event-loop.$(OBJEXT) \
|
||||||
fileio.$(OBJEXT) filestuff.$(OBJEXT) format.$(OBJEXT) \
|
fileio.$(OBJEXT) filestuff.$(OBJEXT) format.$(OBJEXT) \
|
||||||
gdb-dlfcn.$(OBJEXT) gdb-hashtab.$(OBJEXT) \
|
gdb-dlfcn.$(OBJEXT) gdb-hashtab.$(OBJEXT) \
|
||||||
gdb_obstack.$(OBJEXT) gdb_tilde_expand.$(OBJEXT) \
|
gdb_obstack.$(OBJEXT) gdb_regex.$(OBJEXT) \
|
||||||
gdb_wait.$(OBJEXT) gdb_vecs.$(OBJEXT) job-control.$(OBJEXT) \
|
gdb_tilde_expand.$(OBJEXT) gdb_wait.$(OBJEXT) \
|
||||||
netstuff.$(OBJEXT) new-op.$(OBJEXT) pathstuff.$(OBJEXT) \
|
gdb_vecs.$(OBJEXT) job-control.$(OBJEXT) netstuff.$(OBJEXT) \
|
||||||
print-utils.$(OBJEXT) ptid.$(OBJEXT) rsp-low.$(OBJEXT) \
|
new-op.$(OBJEXT) pathstuff.$(OBJEXT) print-utils.$(OBJEXT) \
|
||||||
run-time-clock.$(OBJEXT) safe-strerror.$(OBJEXT) \
|
ptid.$(OBJEXT) rsp-low.$(OBJEXT) run-time-clock.$(OBJEXT) \
|
||||||
scoped_mmap.$(OBJEXT) search.$(OBJEXT) signals.$(OBJEXT) \
|
safe-strerror.$(OBJEXT) scoped_mmap.$(OBJEXT) search.$(OBJEXT) \
|
||||||
signals-state-save-restore.$(OBJEXT) tdesc.$(OBJEXT) \
|
signals.$(OBJEXT) signals-state-save-restore.$(OBJEXT) \
|
||||||
thread-pool.$(OBJEXT) xml-utils.$(OBJEXT) $(am__objects_1)
|
tdesc.$(OBJEXT) thread-pool.$(OBJEXT) xml-utils.$(OBJEXT) \
|
||||||
|
$(am__objects_1)
|
||||||
libgdbsupport_a_OBJECTS = $(am_libgdbsupport_a_OBJECTS)
|
libgdbsupport_a_OBJECTS = $(am_libgdbsupport_a_OBJECTS)
|
||||||
AM_V_P = $(am__v_P_@AM_V@)
|
AM_V_P = $(am__v_P_@AM_V@)
|
||||||
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
|
||||||
@@ -379,6 +380,7 @@ libgdbsupport_a_SOURCES = \
|
|||||||
gdb-dlfcn.cc \
|
gdb-dlfcn.cc \
|
||||||
gdb-hashtab.cc \
|
gdb-hashtab.cc \
|
||||||
gdb_obstack.cc \
|
gdb_obstack.cc \
|
||||||
|
gdb_regex.cc \
|
||||||
gdb_tilde_expand.cc \
|
gdb_tilde_expand.cc \
|
||||||
gdb_wait.cc \
|
gdb_wait.cc \
|
||||||
gdb_vecs.cc \
|
gdb_vecs.cc \
|
||||||
@@ -486,6 +488,7 @@ distclean-compile:
|
|||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-dlfcn.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-dlfcn.Po@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-hashtab.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb-hashtab.Po@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_obstack.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_obstack.Po@am__quote@
|
||||||
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_regex.Po@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_tilde_expand.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_tilde_expand.Po@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_vecs.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_vecs.Po@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_wait.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/gdb_wait.Po@am__quote@
|
||||||
|
|||||||
Reference in New Issue
Block a user