summaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2002-06-19 16:55:28 +0000
committerDaniel Jacobowitz <dan@debian.org>2002-06-19 16:55:28 +0000
commit6f33da58175597105951322aaac3f7efc2e8b82a (patch)
treee5f9884d76ed051ac7359592c7e9d659deb7f752 /gdb/ada-lang.c
parent3ec6a8d10d1f184acb92c06ac933215a6a25dfcd (diff)
downloadgdb-6f33da58175597105951322aaac3f7efc2e8b82a.tar.gz
2002-06-19 Daniel Jacobowitz <drow@mvista.com>
* ada-lang.c (fill_in_ada_prototype): Update comment.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 2c4f1d94d41..db1d7d4f185 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)