Improve doc of GDB config macros.
[deliverable/binutils-gdb.git] / gdb / remote-vx.c
index 3ba3b88c6809818606de5386f82d070d27028588..635ffe3aa783d28d709618e31a26e308d0a601aa 100644 (file)
@@ -37,9 +37,11 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <sys/socket.h>
 #define malloc bogon_malloc    /* Sun claims "char *malloc()" not void * */
 #define free bogon_free                /* Sun claims "int free()" not void */
+#define realloc bogon_realloc  /* Sun claims "char *realloc()", not void * */
 #include <rpc/rpc.h>
 #undef malloc
 #undef free
+#undef realloc
 #include <sys/time.h>          /* UTek's <rpc/rpc.h> doesn't #incl this */
 #include <netdb.h>
 #include "vx-share/ptrace.h"
@@ -474,7 +476,8 @@ vx_read_register (regno)
 static void
 vx_prepare_to_store ()
 {
-  vx_read_register (-1);
+  /* Fetch all registers, if any of them are not yet fetched.  */
+  read_register_bytes (0, NULL, REGISTER_BYTES);
 }
 
 
This page took 0.022691 seconds and 4 git commands to generate.