diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-11-25 22:13:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-11-25 22:13:53 +0000 |
commit | c8623080cb217735f4f7460186e9a1ad910b4a3b (patch) | |
tree | 595d432ebb57f79ae1d3f69802ea5236beb77b29 /gdb/remote-sim.c | |
parent | a6a5d3492796f75b03b92f86226b2741ee468f0d (diff) | |
download | gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.zip gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.gz gdb-c8623080cb217735f4f7460186e9a1ad910b4a3b.tar.bz2 |
CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being
canadian-crossed to host i386-cygwin.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r-- | gdb/remote-sim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index ccc1bdb..f763753 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -478,7 +478,7 @@ gdbsim_create_inferior (exec_file, args, env) strcat (arg_buf, " "); strcat (arg_buf, args); argv = buildargv (arg_buf); - make_cleanup (freeargv, (char *) argv); + make_cleanup ((make_cleanup_func) freeargv, argv); } else argv = NULL; @@ -560,7 +560,7 @@ gdbsim_open (args, from_tty) argv = buildargv (arg_buf); if (argv == NULL) error ("Insufficient memory available to allocate simulator arg list."); - make_cleanup (freeargv, (char *) argv); + make_cleanup ((make_cleanup_func) freeargv, argv); init_callbacks (); gdbsim_desc = sim_open (SIM_OPEN_DEBUG, &gdb_callback, exec_bfd, argv); |