Move duplicated code to common/gdb_proc_service.h
authorGary Benson <gbenson@redhat.com>
Mon, 1 Oct 2018 09:37:39 +0000 (10:37 +0100)
committerGary Benson <gbenson@redhat.com>
Mon, 1 Oct 2018 09:37:39 +0000 (10:37 +0100)
commit7c619dbdae11bead6f85863b7ce25f8b8610c59d
tree4eb914f12b0ac1de2c6537d79c505c436429a749
parent358ffcf28cf6e7c23311e91869ada4c480527d93
Move duplicated code to common/gdb_proc_service.h

This commit moves now-identical code from gdb/gdb_proc_service.h
and gdb/gdbserver/gdb_proc_service.h into the new shared file
gdb/common/gdb_proc_service.h.

gdb/ChangeLog:

* common/gdb_proc_service.h: New file, factored out from...
* gdb_proc_service.h: Moved common code to the above file.
* Makefile.in (HFILES_NO_SRCDIR): Add the above new file.

gdb/gdbserver/ChangeLog:

* gdb_proc_service.h: Moved common code to
common/gdb_proc_service.h.
gdb/ChangeLog
gdb/Makefile.in
gdb/common/gdb_proc_service.h [new file with mode: 0644]
gdb/gdb_proc_service.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/gdb_proc_service.h