This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Remove declaration of set_register_cache from regdef.h


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f4a6504277d861057aedd2b88369493d644935c6

commit f4a6504277d861057aedd2b88369493d644935c6
Author: Yao Qi <yao.qi@linaro.org>
Date:   Tue Jun 6 16:42:45 2017 +0100

    Remove declaration of set_register_cache from regdef.h
    
    Function set_register_cache was removed by 3aee891821f538cfb4e0a08a26196c70127f1474
    ([GDBserver] Multi-process + multi-arch), so this patch removes the
    declaration too.
    
    gdb:
    
    2017-06-06  Yao Qi  <yao.qi@linaro.org>
    
    	* regformats/regdef.h (set_register_cache): Remove the
    	declaration.

Diff:
---
 gdb/ChangeLog           | 5 +++++
 gdb/regformats/regdef.h | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 27e56c3..666540a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2017-06-06  Yao Qi  <yao.qi@linaro.org>
+
+	* regformats/regdef.h (set_register_cache): Remove the
+	declaration.
+
 2017-06-06 Alan Hayward  <alan.hayward@arm.com>
 
 	* frame.c (frame_unwind_register_signed): Use
diff --git a/gdb/regformats/regdef.h b/gdb/regformats/regdef.h
index 3960a45..de7a010 100644
--- a/gdb/regformats/regdef.h
+++ b/gdb/regformats/regdef.h
@@ -36,9 +36,4 @@ struct reg
   int size;
 };
 
-/* Set the current remote protocol and register cache according to the array
-   ``regs'', with ``n'' elements.  */
-
-void set_register_cache (struct reg *regs, int n);
-
 #endif /* REGDEF_H */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]