diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-16 17:36:49 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-04-16 17:36:49 +0000 |
commit | 0b28c26082a87f62a8ce5a0a1ed915fb72211886 (patch) | |
tree | d1fff5da2c6c0fd942f3a4c0ff2f2f2075a41566 /gdb/symtab.c | |
parent | 987b4233ae5e582c2c5d9a0c023a3e27d8fb3a05 (diff) | |
download | gdb-0b28c26082a87f62a8ce5a0a1ed915fb72211886.zip gdb-0b28c26082a87f62a8ce5a0a1ed915fb72211886.tar.gz gdb-0b28c26082a87f62a8ce5a0a1ed915fb72211886.tar.bz2 |
* symtab.{c,h}: Doc fixes (remove symseg references, last relevant
in gdb 2.8!).
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r-- | gdb/symtab.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c index 7f74661..0de7b43 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -241,7 +241,9 @@ char *name; return (NULL); } -/* Demangle a GDB method stub type. */ +/* Demangle a GDB method stub type. + Note that this function is g++ specific. */ + char * gdb_mangle_name (type, i, j) struct type *type; @@ -460,6 +462,10 @@ found: block = BLOCK_SUPERBLOCK (block); } + /* FIXME: this code is never executed--block is always NULL at this + point. What is it trying to do, anyway? We already should have + checked the STATIC_BLOCK above (it is the superblock of top-level + blocks). Why is VAR_NAMESPACE special-cased? */ /* Don't need to mess with the psymtabs; if we have a block, that file is read in. If we don't, then we deal later with all the psymtab stuff that needs checking. */ @@ -1333,6 +1339,7 @@ operator_chars (p, end) * Put matches in SYM_ARR (which better be big enough!). * These allocations seem to define "big enough": * sym_arr = (struct symbol **) alloca(TYPE_NFN_FIELDS_TOTAL (t) * sizeof(struct symbol*)); + * Note that this function is g++ specific. */ int |