Hi all, This patch converts the send_signal function in target_ops to use enum target_signal instead of the real target number. I originally needed this for the WinCE gdbserver port. Windows CE doesn't have signals support, and doesn't define SIGINT in any header. Because of that, remote-utils.c wouldn't compile. I still want to have support of stopping a debuggee - this patch paves the way to that, with minimal interface changes. I will handle TARGET_SIGNAL_INT in the send_signal handler on the target side. Ok? Cheers, Pedro Alves --- gdb/gdbserver/ChangeLog: 2007-02-24 Pedro Alves * target.h (target_ops): Change parameter of send_signal from int to enum target_signal. * linux-low.c (linux_send_signal): Change parameter from int to enum target_signal. * spu-low.c (spu_send_signal): Likewise. * remote-utils.c (putpkt_binary): Pass TARGET_SIGNAL_INT instead of SIGINT. (input_interrupt): Likewise.