aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-21 18:13:14 +0000
committerTom Tromey <tromey@redhat.com>2013-01-21 18:13:14 +0000
commit10f0c4bbfa440916bce5d7407fd2b7447db31ef6 (patch)
tree7c5ef827541308d1d7876de8ff93fdd280b694e1 /gdb/symfile.h
parent86f62fd71f25a7f64ff0f7747df29c3488269116 (diff)
downloadgdb-10f0c4bbfa440916bce5d7407fd2b7447db31ef6.zip
gdb-10f0c4bbfa440916bce5d7407fd2b7447db31ef6.tar.gz
gdb-10f0c4bbfa440916bce5d7407fd2b7447db31ef6.tar.bz2
* symfile.h (obsavestring): Don't declare.
* symfile.c (obsavestring): Remove. * ada-exp.y: Use obstack_copy0, not obsavestring. * ada-lang.c: Use obstack_copy0, not obsavestring. * coffread.c: Use obstack_copy0, not obsavestring. * cp-namespace.c: Use obstack_copy0, not obsavestring. * dbxread.c: Use obstack_copy0, not obsavestring. * dwarf2read.c: Use obstack_copy0, not obsavestring. * jit.c: Use obstack_copy0, not obsavestring. * mdebugread.c: Use obstack_copy0, not obsavestring. * psymtab.c: Use obstack_copy0, not obsavestring. * stabsread.c: Use obstack_copy0, not obsavestring. * xcoffread.c: Use obstack_copy0, not obsavestring.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index 81492d2..ad9a4e2 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -506,12 +506,6 @@ extern struct section_addr_info
extern void free_section_addr_info (struct section_addr_info *);
-/* Make a copy of the string at PTR with SIZE characters in the symbol
- obstack (and add a null character at the end in the copy). Returns
- the address of the copy. */
-
-extern char *obsavestring (const char *, int, struct obstack *);
-
/* Concatenate NULL terminated variable argument list of `const char
*' strings; return the new string. Space is found in the OBSTACKP.
Argument list must be terminated by a sentinel expression `(char *)