Share parts of gdb/gdbthread.h with gdbserver
authorSergio Durigan Junior <sergiodj@redhat.com>
Thu, 22 Dec 2016 18:30:42 +0000 (13:30 -0500)
committerSergio Durigan Junior <sergiodj@redhat.com>
Wed, 7 Jun 2017 23:56:01 +0000 (19:56 -0400)
commit043a49349c713dc329a2dfc413b082c3826ecdb8
tree3c4c07e3fe64b479579a21ae40bd71723639857c
parent156525114c1cbbace0dec223494b842ffc60d52e
Share parts of gdb/gdbthread.h with gdbserver

GDB and gdbserver now share 'switch_to_thread' because of
fork_inferior.  To make things clear, I created a new file name
common/common-gdbthread.h, and left the implementation specific to
each part.

gdb/ChangeLog:
2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>

* Makefile.in (HFILES_NO_SRCDIR): Add "common/common-gdbthread.h".
* common/common-gdbthread.h: New file, with parts from
"gdb/gdbthread.h".
* gdbthread.h: Include "common-gdbthread.h".
(switch_to_thread): Moved to "common/common-gdbthread.h".

gdb/gdbserver/ChangeLog:
2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>

* inferiors.c (switch_to_thread): New function.
gdb/ChangeLog
gdb/Makefile.in
gdb/common/common-gdbthread.h [new file with mode: 0644]
gdb/gdbserver/ChangeLog
gdb/gdbserver/inferiors.c
gdb/gdbthread.h
This page took 0.026611 seconds and 4 git commands to generate.