aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-07-13 20:07:44 +0000
committerTom Tromey <tromey@redhat.com>2010-07-13 20:07:44 +0000
commit0f5238edfdd060ff07a15df61aafdfe21fb6427f (patch)
treeadfbbce9ef20143b41a4b028e22ffdca16fb20fe /gdb/symtab.h
parent131687b4ade7fdff127269e3b92b01ec3d0872c7 (diff)
downloadgdb-0f5238edfdd060ff07a15df61aafdfe21fb6427f.zip
gdb-0f5238edfdd060ff07a15df61aafdfe21fb6427f.tar.gz
gdb-0f5238edfdd060ff07a15df61aafdfe21fb6427f.tar.bz2
gdb
PR breakpoints/8357: * symtab.h (domain_enum_tag) <LABEL_DOMAIN>: Update comment. * linespec.c (decode_line_1): Update comment. Call decode_label. (decode_label): New function. (symbol_found): Handle LOC_LABEL. * dwarf2read.c (new_symbol) <DW_TAG_label>: Set symbol's type and domain. Call add_symbol_to_list. gdb/doc * gdb.texinfo (Specify Location): Document labels. gdb/testsuite * gdb.base/label.exp: New file. * gdb.base/label.c: New file.
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index bedc10a..5f676bf 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -377,8 +377,7 @@ typedef enum domain_enum_tag
STRUCT_DOMAIN,
- /* LABEL_DOMAIN may be used for names of labels (for gotos);
- currently it is not used and labels are not recorded at all. */
+ /* LABEL_DOMAIN may be used for names of labels (for gotos). */
LABEL_DOMAIN,