diff options
author | Martin Hunt <hunt@redhat.com> | 2002-03-21 02:13:05 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2002-03-21 02:13:05 +0000 |
commit | bdbe574731e474b9e2e4a9ff69357542527a87cc (patch) | |
tree | fa3ce146db5ddfc4d17237d77af36bf074482b75 | |
parent | 373fe97f7f01a3b0bafb289ccc08020873a00b55 (diff) | |
download | gdb-bdbe574731e474b9e2e4a9ff69357542527a87cc.zip gdb-bdbe574731e474b9e2e4a9ff69357542527a87cc.tar.gz gdb-bdbe574731e474b9e2e4a9ff69357542527a87cc.tar.bz2 |
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.
-rw-r--r-- | gdb/ChangeLog | 13 | ||||
-rw-r--r-- | gdb/regcache.c | 2 |
2 files changed, 13 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 310e689..ff43639 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/regcache.c b/gdb/regcache.c index 2885904..3c2737c 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); |