Remove declaration of set_register_cache from regdef.h
authorYao Qi <yao.qi@linaro.org>
Tue, 6 Jun 2017 15:42:45 +0000 (16:42 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 6 Jun 2017 15:42:45 +0000 (16:42 +0100)
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.

gdb/ChangeLog
gdb/regformats/regdef.h

index 27e56c368d7b9b93e2216a46d73331c912c47355..666540af8a6f0b010ed0ddc3ec1bc3de89697e9c 100644 (file)
@@ -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
index 3960a459d1fe4ab8854dab2c360621e17252f7b2..de7a010ec7558d92b97a5f020c0c3685b76b865c 100644 (file)
@@ -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 */