aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorMartin Hunt <hunt@redhat.com>2002-09-27 00:49:01 +0000
committerMartin Hunt <hunt@redhat.com>2002-09-27 00:49:01 +0000
commit4e0df2df38910d592cdc9b81a02e4b1976077ed9 (patch)
tree3475c93e85306f656bcc756d7ca5c3eff286e19c /gdb/mips-tdep.c
parent1b29edd56e534c0e99a80d0dda622461685b0ca4 (diff)
downloadgdb-4e0df2df38910d592cdc9b81a02e4b1976077ed9.zip
gdb-4e0df2df38910d592cdc9b81a02e4b1976077ed9.tar.gz
gdb-4e0df2df38910d592cdc9b81a02e4b1976077ed9.tar.bz2
2002-09-26Martin M. Hunt <hunt@redhat.com>
* mips-tdep.c (find_proc_desc): Initialize startaddr.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c2
1 files changed, 1 insertions, 1 deletions
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);