This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] Replace strsave() with xstrdup()
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: Re: [rfc] Replace strsave() with xstrdup()
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Tue, 30 Jan 2001 17:16:35 -0800
- References: <3A6658B9.3B5FD07F@cygnus.com>
Andrew Cagney wrote:
FYI, I'm checking this in (plus (C) and TODO file tweeks).
> Thu Jan 18 13:22:51 2001 Andrew Cagney <cagney@b1.cygnus.com>
>
> * defs.h (strsave): Delete declaration.
> * utils.c (strsave): Delete definition.
>
> * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
> * sparcl-tdep.c (sparclite_open): Ditto.
> * mips-tdep.c (mips_set_processor_type_command): Ditto.
> (_initialize_mips_tdep): Ditto.
> * solib.c (solib_open): Ditto.
> * symfile.c (add_filename_language): Ditto.
> (set_ext_lang_command): Ditto.
> * source.c (init_source_path): Ditto.
> (mod_path): Ditto.
> * sh3-rom.c (sh3_open): Ditto.
> (sh3e_open): Ditto.
> * serial.c (serial_open): Ditto.
> * remote-mips.c (common_open): Ditto.
> * monitor.c (monitor_open): Ditto.
> * m32r-rom.c (m32r_upload_command): Ditto.
> * infcmd.c (path_command): Ditto.
> * f-exp.y (parse_number): Ditto.
> * breakpoint.c (create_longjmp_breakpoint): Ditto.
> (create_thread_event_breakpoint): Ditto.
> * arc-tdep.c (arc_set_cpu_type_command): Ditto.
> (_initialize_arc_tdep): Ditto.