From 78934ba843ef5112d122f82e1801a4888eedcb04 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 12 Oct 1993 14:05:22 +0000 Subject: [PATCH] * stabsread.c: Fix comment about gcc 2.3.3 stab for long long int. --- gdb/ChangeLog | 4 ++++ gdb/stabsread.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9d88f1fbe0a..405eee165e3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Tue Oct 12 08:59:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * stabsread.c: Fix comment about gcc 2.3.3 stab for long long int. + Mon Oct 11 14:27:25 1993 Jim Kingdon (kingdon@lioth.cygnus.com) * m3-nat.c, config/nm-m3.h: Add a target_ops struct and other diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 6a019d84d8f..5731e69f7c1 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -3274,8 +3274,8 @@ read_range_type (pp, typenums, objfile) else if (n2 == 0 && n3 == -1) { /* It is unsigned int or unsigned long. */ - /* GCC sometimes uses this for long long too. We could - distinguish it by the name, but we don't. */ + /* GCC 2.3.3 uses this for long long too, but that is just a GDB 3.5 + compatibility hack. */ return init_type (TYPE_CODE_INT, TARGET_INT_BIT / TARGET_CHAR_BIT, TYPE_FLAG_UNSIGNED, NULL, objfile); } -- 2.30.2