summaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-01-21 18:13:10 +0000
committerTom Tromey <tromey@redhat.com>2013-01-21 18:13:10 +0000
commite33ba1936882d0d5ccae19c8358fa03bb3c62c03 (patch)
tree7a6fb27d36be8e0ef815e4f38e2e0eb519e06a53 /gdb/symfile.h
parent8c35b787fc999a2d05e584eb41afe3c02292f0e3 (diff)
downloadgdb-e33ba1936882d0d5ccae19c8358fa03bb3c62c03.tar.gz
* 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 81492d22c37..ad9a4e27c8b 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 *)