Support structure offsets that are 512K or larger.
[deliverable/binutils-gdb.git] / gdb / findvar.c
index cfb3e382258749d82af2c8b8dcb28d6884bbf10a..c64ec06b555aa6178540841717b47ba9675b3a44 100644 (file)
@@ -835,8 +835,8 @@ void
 read_frame_register_value (struct value *value, struct frame_info *frame)
 {
   struct gdbarch *gdbarch = get_frame_arch (frame);
-  int offset = 0;
-  int reg_offset = value_offset (value);
+  LONGEST offset = 0;
+  LONGEST reg_offset = value_offset (value);
   int regnum = VALUE_REGNUM (value);
   int len = type_length_units (check_typedef (value_type (value)));
 
This page took 0.026794 seconds and 4 git commands to generate.