From bdbe574731e474b9e2e4a9ff69357542527a87cc Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Thu, 21 Mar 2002 02:13:05 +0000 Subject: [PATCH] 2002-03-20 Martin M. Hunt * regcache.c (_initialize_regcache): No need to call build_regcache() at this time; it gets called whenever the gdbarch changes. --- gdb/ChangeLog | 13 +++++++++++++ gdb/regcache.c | 2 -- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 310e689ee5b..ff436393b6c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,16 @@ +2002-03-20 Martin M. Hunt + + * 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 + + * 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 * sparc-nat.c: Include sys/param.h where possible. diff --git a/gdb/regcache.c b/gdb/regcache.c index 28859045e5f..3c2737cc5a0 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -802,8 +802,6 @@ build_regcache (void) void _initialize_regcache (void) { - build_regcache (); - register_gdbarch_swap (®isters, sizeof (registers), NULL); register_gdbarch_swap (®ister_valid, sizeof (register_valid), NULL); register_gdbarch_swap (NULL, 0, build_regcache); -- 2.30.2