aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-12-12 21:21:10 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-12-12 21:21:10 +0000
commitc676d8274d8cea8f3eb8a35ef8def259f82b723d (patch)
tree3480d6b0b41251b43c49673d4a5d03080d772699 /gdb/f-lang.c
parent746d1df4a9f64da38da324be849beb5fd389135b (diff)
downloadgdb-c676d8274d8cea8f3eb8a35ef8def259f82b723d.zip
gdb-c676d8274d8cea8f3eb8a35ef8def259f82b723d.tar.gz
gdb-c676d8274d8cea8f3eb8a35ef8def259f82b723d.tar.bz2
* 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.
Diffstat (limited to 'gdb/f-lang.c')
-rw-r--r--gdb/f-lang.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/f-lang.c b/gdb/f-lang.c
index 77dce4f..7a1f714 100644
--- a/gdb/f-lang.c
+++ b/gdb/f-lang.c
@@ -373,10 +373,10 @@ static const struct op_print f_op_print_tab[] = {
{ NULL, 0, 0, 0 }
};
-/* 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,