* f-lang.c: Remove duplicate declaration of
authorJim Kingdon <jkingdon@engr.sgi.com>
Mon, 12 Dec 1994 21:21:10 +0000 (21:21 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Mon, 12 Dec 1994 21:21:10 +0000 (21:21 +0000)
builtin_type_f_integer, and only include it in the f_builtin_types
once.

* somread.c (som_symfile_read): Just assign to objfile->obj_private,
not OBJ_UNWIND_INFO.  Assigning to a cast is a GCC-ism which
the HP compiler doesn't like.

gdb/ChangeLog
gdb/f-lang.c
gdb/somread.c

index 6a157f631d584a99074ae5c53bdc8cc3c1faa66b..1bb15ab354bf349c6b490d42061799cfa6c8dd68 100644 (file)
@@ -1,3 +1,13 @@
+Mon Dec 12 13:06:59 1994  Jim Kingdon  <kingdon@deneb.cygnus.com>
+
+       * f-lang.c: Remove duplicate declaration of
+       builtin_type_f_integer, and only include it in the f_builtin_types
+       once.
+
+       * somread.c (som_symfile_read): Just assign to objfile->obj_private,
+       not OBJ_UNWIND_INFO.  Assigning to a cast is a GCC-ism which
+       the HP compiler doesn't like.
+
 Mon Dec 12 12:22:21 1994  Stu Grossman  (grossman@cygnus.com)
 
        * gdbtk.c:  New tcl commands:  gdb_fetch_registers,
index 77dce4f51797722fba40d2f6563e2db8ffb8917c..7a1f7142b6f6735f850034ea5169e8dd72fc4329 100644 (file)
@@ -373,10 +373,10 @@ static const struct op_print f_op_print_tab[] = {
   { NULL,    0, 0, 0 }
 };
 \f
-/* The built-in types of F77.  */
+/* The built-in types of F77.  FIXME: integer*4 is missing, plain
+   logical is missing (builtin_type_logical is logical*4).  */
 
 struct type *builtin_type_f_character;
-struct type *builtin_type_f_integer;
 struct type *builtin_type_f_logical;
 struct type *builtin_type_f_logical_s1;
 struct type *builtin_type_f_logical_s2;
@@ -393,7 +393,6 @@ struct type *builtin_type_f_void;
 struct type ** const (f_builtin_types[]) = 
 {
   &builtin_type_f_character,
-  &builtin_type_f_integer,
   &builtin_type_f_logical,
   &builtin_type_f_logical_s1,
   &builtin_type_f_logical_s2,
index d6d877f4d3f1c0c95e6d4f17aff6031422df55c3..afb7642e9cff99ca59d1db8d189d8a5b1ead57c2 100644 (file)
@@ -349,7 +349,7 @@ som_symfile_read (objfile, section_offsets, mainline)
   install_minimal_symbols (objfile);
 
   /* Force hppa-tdep.c to re-read the unwind descriptors.  */
-  OBJ_UNWIND_INFO (objfile) = NULL;
+  objfile->obj_private = NULL;
   do_cleanups (back_to);
 }
 
This page took 0.028137 seconds and 4 git commands to generate.