For some reason, when I attempt to use GDB on my windows machine under cygwin, even after compiling it from the latest source, it won't let me do a:
target remote localhost:1234
Instead, when I try that, it says:
localhost:1234: Operation not permitted.
However, the same command works just fine on my Arch Linux VM and my OSX 10.5.8 computer. Which, AFAIK, are using older versions of gdb. "i586-pc-elf-gdb -v" reports:
GNU gdb (GDB) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin --target=i586-pc-elf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.