CARP: --enable-build-warnings=-Werror: Fix problems stopping GDB being

canadian-crossed to host i386-cygwin.
This commit is contained in:
Andrew Cagney
1998-11-25 22:13:53 +00:00
parent a6a5d34927
commit c8623080cb
17 changed files with 157 additions and 132 deletions

View File

@@ -480,7 +480,7 @@ or: target sparclite udp host");
{
remote_desc = open_tty (p);
old_chain = make_cleanup (close_tty, 0);
old_chain = make_cleanup ((make_cleanup_func) close_tty, 0);
c = send_resp (remote_desc, 0x00);
@@ -613,7 +613,7 @@ download (target_name, args, from_tty, write_routine, start_routine)
perror_with_name (filename);
return;
}
old_chain = make_cleanup (bfd_close, pbfd);
old_chain = make_cleanup ((make_cleanup_func) bfd_close, pbfd);
if (!bfd_check_format (pbfd, bfd_object))
error ("\"%s\" is not an object file: %s", filename,