aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-06-19 16:55:28 +0000
committerDaniel Jacobowitz <drow@false.org>2002-06-19 16:55:28 +0000
commit170911c7665011a378856316caa5650532b594c4 (patch)
tree01ac57db6b38489cce6e151a096907f7c758f9ba
parent2e4ebe70e5300e6b03f115098e8bd299b67e7f9c (diff)
downloadfsf-binutils-gdb-170911c7665011a378856316caa5650532b594c4.zip
fsf-binutils-gdb-170911c7665011a378856316caa5650532b594c4.tar.gz
fsf-binutils-gdb-170911c7665011a378856316caa5650532b594c4.tar.bz2
2002-06-19 Daniel Jacobowitz <drow@mvista.com>
* ada-lang.c (fill_in_ada_prototype): Update comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ada-lang.c10
2 files changed, 5 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7580a57..88432f1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2002-06-19 Daniel Jacobowitz <drow@mvista.com>
+ * ada-lang.c (fill_in_ada_prototype): Update comment.
+
+2002-06-19 Daniel Jacobowitz <drow@mvista.com>
+
* mips-tdep.c (enum mips_abi): Explicitly start at 0. Add
MIPS_ABI_LAST.
(mips_abi_string, mips_abi_strings): New.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 2c4f1d9..db1d7d4 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -4280,15 +4280,7 @@ ada_add_block_symbols (block, name, namespace, objfile, wild)
/* Function Types */
/* Assuming that SYM is the symbol for a function, fill in its type
- with prototype information, if it is not already there.
-
- Why is there provision in struct type for BOTH an array of argument
- types (TYPE_ARG_TYPES) and for an array of typed fields, whose
- comment suggests it may also represent argument types? I presume
- this is some attempt to save space. The problem is that argument
- names in Ada are significant. Therefore, for Ada we use the
- (apparently older) TYPE_FIELD_* stuff to store argument types. */
-
+ with prototype information, if it is not already there. */
static void
fill_in_ada_prototype (func)