diff options
author | Tom Tromey <tromey@redhat.com> | 2010-07-13 20:07:44 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-07-13 20:07:44 +0000 |
commit | 0f5238edfdd060ff07a15df61aafdfe21fb6427f (patch) | |
tree | adfbbce9ef20143b41a4b028e22ffdca16fb20fe /gdb/symtab.h | |
parent | 131687b4ade7fdff127269e3b92b01ec3d0872c7 (diff) | |
download | binutils-gdb-0f5238edfdd060ff07a15df61aafdfe21fb6427f.tar.gz |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index bedc10a7392..5f676bf3163 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, |