diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-11-08 23:28:36 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-11-08 23:28:36 +0000 |
commit | 64f9bb983bf2f9e36670b6196b7d102adc800d74 (patch) | |
tree | c637fe94993a7a23c04fa93c95f5ca665cc4510b | |
parent | a525240841d5fecaa9e12202e3ba2b6efc60a28e (diff) | |
download | gdb-64f9bb983bf2f9e36670b6196b7d102adc800d74.zip gdb-64f9bb983bf2f9e36670b6196b7d102adc800d74.tar.gz gdb-64f9bb983bf2f9e36670b6196b7d102adc800d74.tar.bz2 |
* s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and
got_load_len, to placate compiler.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/s390-tdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ceec2f5..7a54716 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-11-08 Jim Blandy <jimb@redhat.com> + + * s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and + got_load_len, to placate compiler. + 2001-11-08 Mark Kettenis <kettenis@gnu.org> * i386-tdep.c (i386_gdbarch_init): Fix typo. diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index f0f9501..97e65d9 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -229,7 +229,7 @@ s390_get_frame_info (CORE_ADDR pc, struct frame_extra_info *fextra_info, load instruction, and got_load_len is the length of that instruction. */ int got_state; - CORE_ADDR got_load_addr, got_load_len; + CORE_ADDR got_load_addr = 0, got_load_len = 0; const_pool_state = save_link_state = got_state = varargs_state = 0; frame_pointer_found = 0; |