diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-08-25 11:38:29 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-08-25 11:39:14 +0100 |
commit | db3cb7cb3e51e5eb834412adbf90e81bb76846c6 (patch) | |
tree | 7523d968e5775db256e5ccf76ee193fbe48c40bf /gdb/nat/aarch64-linux.h | |
parent | f6011a1c84b1bd616617bfde84dca63f250c950d (diff) | |
download | gdb-db3cb7cb3e51e5eb834412adbf90e81bb76846c6.zip gdb-db3cb7cb3e51e5eb834412adbf90e81bb76846c6.tar.gz gdb-db3cb7cb3e51e5eb834412adbf90e81bb76846c6.tar.bz2 |
Move aarch64_linux_prepare_to_resume to nat/aarch64-linux.c
gdb:
2015-08-25 Yao Qi <yao.qi@linaro.org>
* Makefile.in (aarch64-liunx.o): New rule.
(HFILES_NO_SRCDIR): Add aarch64-linux.h.
* config/aarch64/linux.mh (NAT_FILE): Add aarch64-linux.o.
* aarch64-linux-nat.c: Include nat/aarch64-linux.h.
* aarch64-linux-nat.c (aarch64_get_debug_reg_state): Make it
extern.
(aarch64_linux_prepare_to_resume): Move it nat/aarch64-linux.c.
* nat/aarch64-linux-hw-point.h (aarch64_debug_reg_state): Declare
* nat/aarch64-linux.c: New file.
* nat/aarch64-linux.h: New file.
gdb/gdbserver:
2015-08-25 Yao Qi <yao.qi@linaro.org>
* Makefile.in (aarch64-linux.o): New rule.
* configure.srv (aarch64*-*-linux*): Append aarch64-linux.o to
srv_tgtobj.
* linux-aarch64-low.c: Include nat/aarch64-linux.h.
(aarch64_init_debug_reg_state): Make it extern.
(aarch64_linux_prepare_to_resume): Remove.
Diffstat (limited to 'gdb/nat/aarch64-linux.h')
-rw-r--r-- | gdb/nat/aarch64-linux.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gdb/nat/aarch64-linux.h b/gdb/nat/aarch64-linux.h new file mode 100644 index 0000000..cf4e468 --- /dev/null +++ b/gdb/nat/aarch64-linux.h @@ -0,0 +1,24 @@ +/* Copyright (C) 2009-2015 Free Software Foundation, Inc. + Contributed by ARM Ltd. + + This file is part of GDB. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +#ifndef AARCH64_LINUX_H +#define AARCH64_LINUX_H 1 + +void aarch64_linux_prepare_to_resume (struct lwp_info *lwp); + +#endif /* AARCH64_LINUX_H */ |