From 431df2ebacd5349884e9cb4b116bc193f59717a6 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Mon, 23 Dec 1991 03:43:48 +0000 Subject: * solib.c (locate_base): Fix uninitialized variable that was causing return of random value to callee. * config/mh-amix, config/mh-i386v4: Change to find alloca by compiling and linking alloca.c, even when it is not strictly required. Also arrange to link with -ltermlib rather than -ltermcap. * Makefile.in: Move TERMCAP definition to prior to inclusion of host makefile fragments so it can be overridden. --- gdb/solib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/solib.c') diff --git a/gdb/solib.c b/gdb/solib.c index b1c78a4..1c6717b 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -301,7 +301,7 @@ FIXME static CORE_ADDR locate_base () { - CORE_ADDR address; + CORE_ADDR address = 0; #ifdef sun -- cgit v1.1