* buildsym.c (start_subfile, patch_subfile_names), demangle.c
authorJim Kingdon <jkingdon@engr.sgi.com>
Sat, 26 Mar 1994 04:26:26 +0000 (04:26 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sat, 26 Mar 1994 04:26:26 +0000 (04:26 +0000)
commitbb6247c6b2232cbe9b8b3fbe8fc202a4c502ecea
tree881c65b8922d4280a12fc35ab5767e997f155e40
parent493424b108c2461cab7192f65a8193c3ad1280dc
* buildsym.c (start_subfile, patch_subfile_names), demangle.c
(set_demangling_style, set_demangling_command): Use savestring not
strdup.  We were not dealing properly with a NULL return from
strdup, and were not declaring strdup (the system header may or
may not have it).
gdb/buildsym.c
gdb/demangle.c