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/dbxread.c | |
parent | 86f62fd71f25a7f64ff0f7747df29c3488269116 (diff) | |
download | gdb-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/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 5857e33..fcd4d82 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -1706,8 +1706,8 @@ read_dbx_symtab (struct objfile *objfile) if (new_name != NULL) { sym_len = strlen (new_name); - sym_name = obsavestring (new_name, sym_len, - &objfile->objfile_obstack); + sym_name = obstack_copy0 (&objfile->objfile_obstack, + new_name, sym_len); xfree (new_name); } xfree (name); |