diff options
author | Joel Brobecker <brobecker@gnat.com> | 2004-03-10 20:06:08 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2004-03-10 20:06:08 +0000 |
commit | c76fb5a27c1ecb9d8b7a69f9126204681aa0d356 (patch) | |
tree | 2284498ca10fd553eb2ffb9da6e1df626cd04337 | |
parent | fd9f0aad46c9deb53e8541d4a139183ddb3eb174 (diff) | |
download | gdb-c76fb5a27c1ecb9d8b7a69f9126204681aa0d356.zip gdb-c76fb5a27c1ecb9d8b7a69f9126204681aa0d356.tar.gz gdb-c76fb5a27c1ecb9d8b7a69f9126204681aa0d356.tar.bz2 |
* hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 39067ef..d7fdb75 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-03-10 J. Brobecker <brobecker@gnat.com> + + * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value. + 2004-03-10 Kei Sakamoto <sakamoto.kei@renesas.com> * remote-m32r-sdi.c: Support hardware watchpoint. diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index ccbdcba..549a811 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -4617,7 +4617,7 @@ hppa_frame_cache (struct frame_info *next_frame, void **this_cache) /* Yow! */ u = find_unwind_entry (frame_func_unwind (next_frame)); if (!u) - return; + return (*this_cache); /* Turn the Entry_GR field into a bitmask. */ saved_gr_mask = 0; |