* s390-tdep.c (s390_get_frame_info): Initialize got_load_addr and

got_load_len, to placate compiler.
This commit is contained in:
Jim Blandy 2001-11-08 23:28:36 +00:00
parent a525240841
commit 64f9bb983b
2 changed files with 6 additions and 1 deletions

View File

@ -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> 2001-11-08 Mark Kettenis <kettenis@gnu.org>
* i386-tdep.c (i386_gdbarch_init): Fix typo. * i386-tdep.c (i386_gdbarch_init): Fix typo.

View File

@ -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 load instruction, and got_load_len is the length of that
instruction. */ instruction. */
int got_state; 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; const_pool_state = save_link_state = got_state = varargs_state = 0;
frame_pointer_found = 0; frame_pointer_found = 0;