2002-03-20 Martin M. Hunt <hunt@redhat.com>
authorMartin Hunt <hunt@redhat.com>
Thu, 21 Mar 2002 02:13:05 +0000 (02:13 +0000)
committerMartin Hunt <hunt@redhat.com>
Thu, 21 Mar 2002 02:13:05 +0000 (02:13 +0000)
* regcache.c (_initialize_regcache): No need to call
build_regcache() at this time; it gets called whenever
the gdbarch changes.

gdb/ChangeLog
gdb/regcache.c

index 310e689ee5b2c1f1da3f2e6df9ad9e8afdba8c6c..ff436393b6c251ebabc8546eabfcaf608348a833 100644 (file)
@@ -1,3 +1,16 @@
+2002-03-20  Martin M. Hunt  <hunt@redhat.com>
+
+       * gdbserver/remote-utils.c (remote_open): Don't call
+       getprotobyname, we're all using TCP here so just use
+       IPPROTO_TCP.
+       * gdbserver/gdbreplay.c (remote_open): Ditto.   
+
+2002-03-20  Martin M. Hunt  <hunt@redhat.com>
+       
+       * regcache.c (_initialize_regcache): No need to call
+       build_regcache() at this time; it gets called whenever
+       the gdbarch changes.
+
 2002-03-20  David O'Brien  <obrien@FreeBSD.org>
 
        * sparc-nat.c:  Include sys/param.h where possible.
index 28859045e5fe87d8ecc8fd423708f7635eea17c3..3c2737cc5a053e5a2da524079c54201d2f3e5aee 100644 (file)
@@ -802,8 +802,6 @@ build_regcache (void)
 void
 _initialize_regcache (void)
 {
-  build_regcache ();
-
   register_gdbarch_swap (&registers, sizeof (registers), NULL);
   register_gdbarch_swap (&register_valid, sizeof (register_valid), NULL);
   register_gdbarch_swap (NULL, 0, build_regcache);