diff options
author | Tom Tromey <tromey@adacore.com> | 2020-10-07 12:07:55 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-10-07 12:07:55 -0600 |
commit | 4a72de73660810536e9bb416d41dc8a6128f91da (patch) | |
tree | 4ada40b22e18b0ab7b64494c58d45c1492a76187 /gdbsupport/Makefile.am | |
parent | e86efb3310cf3aa9515cca07d0835b7e8af79b38 (diff) | |
download | gdb-4a72de73660810536e9bb416d41dc8a6128f91da.zip gdb-4a72de73660810536e9bb416d41dc8a6128f91da.tar.gz gdb-4a72de73660810536e9bb416d41dc8a6128f91da.tar.bz2 |
Move simple_search_memory to gdbsupport/search.cc
This moves the simple_search_memory function to a new file,
gdbsupport/search.cc. The API is slightly changed to make it more
general. This generality is useful for wiring it to gdbserver, and
also for unit testing.
gdb/ChangeLog
2020-10-07 Tom Tromey <tromey@adacore.com>
* target.h (simple_search_memory): Don't declare.
* target.c (simple_search_memory): Move to gdbsupport.
(default_search_memory): Update.
* remote.c (remote_target::search_memory): Update.
gdbsupport/ChangeLog
2020-10-07 Tom Tromey <tromey@adacore.com>
* Makefile.in: Rebuild.
* Makefile.am (libgdbsupport_a_SOURCES): Add search.cc.
* search.h: New file.
* search.cc: New file.
Diffstat (limited to 'gdbsupport/Makefile.am')
-rw-r--r-- | gdbsupport/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdbsupport/Makefile.am b/gdbsupport/Makefile.am index 9763c96..9f4ec93 100644 --- a/gdbsupport/Makefile.am +++ b/gdbsupport/Makefile.am @@ -65,6 +65,7 @@ libgdbsupport_a_SOURCES = \ run-time-clock.cc \ safe-strerror.cc \ scoped_mmap.cc \ + search.cc \ signals.cc \ signals-state-save-restore.cc \ tdesc.cc \ |