aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2012-06-29 22:46:46 +0000
committerDoug Evans <dje@google.com>2012-06-29 22:46:46 +0000
commit39cf75f7e02e5d3e0080a7862cde324e378c69ea (patch)
tree697a7c162edb5232330ca08193e6d3ff9d11e29a /gdb/symtab.h
parenta040981f6272e74d8157108e1677bc4d13425cd0 (diff)
downloadgdb-39cf75f7e02e5d3e0080a7862cde324e378c69ea.zip
gdb-39cf75f7e02e5d3e0080a7862cde324e378c69ea.tar.gz
gdb-39cf75f7e02e5d3e0080a7862cde324e378c69ea.tar.bz2
* linespec.c: #include "stack.h".
(decode_line_with_current_source): Moved here from symtab.c and renamed from decode_line_spec. All callers updated. (decode_line_with_last_displayed): Moved here from breakpoint.c and renamed from decode_line_spec_1. All callers updated. * linespec.h (decode_line_with_current_source): Move declaration here from symtab.h and renamed from decode_line_spec. (decode_line_with_last_displayed): Move declaration here from symtab.h and renamed from decode_line_spec_1. * macrocmd.c: #include "linespec.h". * symtab.c: Remove #include "linespec.h".
Diffstat (limited to 'gdb/symtab.h')
-rw-r--r--gdb/symtab.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h
index 57f618d..76120a3 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -1113,13 +1113,6 @@ extern int find_line_pc_range (struct symtab_and_line, CORE_ADDR *,
extern void resolve_sal_pc (struct symtab_and_line *);
-/* Given a string, return the line specified by it. For commands like "list"
- and "breakpoint". */
-
-extern struct symtabs_and_lines decode_line_spec (char *, int);
-
-extern struct symtabs_and_lines decode_line_spec_1 (char *, int);
-
/* Symmisc.c */
void maintenance_print_symbols (char *, int);