diff options
author | Tom Tromey <tromey@redhat.com> | 2013-01-21 18:13:14 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-01-21 18:13:14 +0000 |
commit | 10f0c4bbfa440916bce5d7407fd2b7447db31ef6 (patch) | |
tree | 7c5ef827541308d1d7876de8ff93fdd280b694e1 /gdb/symfile.h | |
parent | * dwarf2read.c (fixup_go_packaging): Save package name (diff) | |
download | binutils-gdb-10f0c4bbfa440916bce5d7407fd2b7447db31ef6.tar.gz binutils-gdb-10f0c4bbfa440916bce5d7407fd2b7447db31ef6.tar.bz2 binutils-gdb-10f0c4bbfa440916bce5d7407fd2b7447db31ef6.zip |
* 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.h | 6 |
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 *) |