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.
This commit is contained in:
Martin Hunt 2002-03-21 02:13:05 +00:00
parent 373fe97f7f
commit bdbe574731
2 changed files with 13 additions and 2 deletions

View 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.

View 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);