From 4e0df2df38910d592cdc9b81a02e4b1976077ed9 Mon Sep 17 00:00:00 2001 From: Martin Hunt Date: Fri, 27 Sep 2002 00:49:01 +0000 Subject: 2002-09-26Martin M. Hunt * mips-tdep.c (find_proc_desc): Initialize startaddr. --- gdb/ChangeLog | 5 +++++ gdb/mips-tdep.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9d17e40..939e0a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-09-26Martin M. Hunt + + * mips-tdep.c (find_proc_desc): Initialize startaddr. + + 2002-09-26 Andrew Cagney * rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index f54f19c..95b288c 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -2336,7 +2336,7 @@ static mips_extra_func_info_t find_proc_desc (CORE_ADDR pc, struct frame_info *next_frame, int cur_frame) { mips_extra_func_info_t proc_desc; - CORE_ADDR startaddr; + CORE_ADDR startaddr = 0; proc_desc = non_heuristic_proc_desc (pc, &startaddr); -- cgit v1.1