aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/paread.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d2ddcaf..68a6585 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+Fri Mar 25 10:14:03 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
+
+ * paread.c (read_unwind_info): Fix off-by-one error.
+
Fri Mar 25 08:33:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
* main.c (complete_command): Deal with it if arg is NULL.
diff --git a/gdb/paread.c b/gdb/paread.c
index 1afe3b5..fab2e4d 100644
--- a/gdb/paread.c
+++ b/gdb/paread.c
@@ -394,8 +394,8 @@ read_unwind_info (objfile)
(bfd_byte *) buf);
buf += 2;
ui->table[index].region_end
- = ui->table[index].region_start + 4 * bfd_get_16 (objfile->obfd,
- (bfd_byte *) buf);
+ = ui->table[index].region_start + 4 *
+ (bfd_get_16 (objfile->obfd, (bfd_byte *) buf) - 1);
buf += 2;
}