diff options
author | Martin Hunt <hunt@redhat.com> | 2002-09-27 00:49:01 +0000 |
---|---|---|
committer | Martin Hunt <hunt@redhat.com> | 2002-09-27 00:49:01 +0000 |
commit | 4e0df2df38910d592cdc9b81a02e4b1976077ed9 (patch) | |
tree | 3475c93e85306f656bcc756d7ca5c3eff286e19c | |
parent | 1b29edd56e534c0e99a80d0dda622461685b0ca4 (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mips-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <hunt@redhat.com> + + * mips-tdep.c (find_proc_desc): Initialize startaddr. + + 2002-09-26 Andrew Cagney <ac131313@redhat.com> * 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); |