From 7fd5097f9fb26871e9f0b329f1cf5554495ed589 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Fri, 15 Dec 2000 01:01:51 +0000 Subject: Replace free() with xfree(). --- gdb/remote-mips.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/remote-mips.c') diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index 82eccd57df3..1905c613b8d 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -1576,9 +1576,9 @@ device is attached to the target board (e.g., /dev/ttya).\n" the user didn't specify a local name, assume it's the same as the part of the remote name after the "host:". */ if (tftp_name) - free (tftp_name); + xfree (tftp_name); if (tftp_localname) - free (tftp_localname); + xfree (tftp_localname); if (local_name == NULL) if ((local_name = strchr (remote_name, ':')) != NULL) local_name++; /* skip over the colon */ @@ -1624,7 +1624,7 @@ device is attached to the target board (e.g., /dev/ttya).\n" set_current_frame (create_new_frame (read_fp (), stop_pc)); select_frame (get_current_frame (), 0); print_stack_frame (selected_frame, -1, 1); - free (serial_port_name); + xfree (serial_port_name); } static void @@ -3230,7 +3230,7 @@ pmon_end_download (int final, int bintotal) strcat (cmd, tftp_name); strcat (cmd, "\r"); mips_send_command (cmd, 0); - free (cmd); + xfree (cmd); if (!mips_expect_download ("Downloading from ")) return; if (!mips_expect_download (tftp_name)) -- cgit v1.2.1