aboutsummaryrefslogtreecommitdiff
path: root/gdb/m32r-rom.c
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2001-06-10 16:25:51 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2001-06-10 16:25:51 +0000
commit0b6a968ee62c0e94758b5996f10509741731ec10 (patch)
treeaa9dbf9dbbbcc91bf5c727772567e2f805f844b9 /gdb/m32r-rom.c
parent5dd0794dca6376164c29977156282afc59b16388 (diff)
downloadgdb-0b6a968ee62c0e94758b5996f10509741731ec10.zip
gdb-0b6a968ee62c0e94758b5996f10509741731ec10.tar.gz
gdb-0b6a968ee62c0e94758b5996f10509741731ec10.tar.bz2
* gnu-regex.c: Eliminate obsolete check for _MSC_VER.
* utils.c (notice_quit): Remove dummy function only used for _MSC_VER. * values.c (unpack_double): Remove obsolete check for _MSC_VER. * defs.h: Ditto. * m32r-rom.c: Ditto. * p-exp.y: Ditto. * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for faster compilation. (get_ds_base): Remove _MSC_VER version of this function. * nindy-share/ttyflush.c: Ditto. X * rdi-share/host.h: Ditto. X * ser-go32.c (dos_readchar): Remove call to obsolete function. * remote-sim.c (gdb_os_poll_quit): Ditto. * remote-e7000.c (expect): Remove obsolete #if 0'ed code. * main.c (captured_main): Eliminate special Cygwin checks. * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
Diffstat (limited to 'gdb/m32r-rom.c')
-rw-r--r--gdb/m32r-rom.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gdb/m32r-rom.c b/gdb/m32r-rom.c
index ff9f5b5..b4bfefd 100644
--- a/gdb/m32r-rom.c
+++ b/gdb/m32r-rom.c
@@ -42,7 +42,6 @@
extern void report_transfer_performance (unsigned long, time_t, time_t);
-#ifndef _MSC_VER
/*
* All this stuff just to get my host computer's IP address!
*/
@@ -52,7 +51,6 @@ extern void report_transfer_performance (unsigned long, time_t, time_t);
#if 1
#include <arpa/inet.h> /* for inet_ntoa */
#endif
-#endif
static char *board_addr; /* user-settable IP address for M32R-EVA */
static char *server_addr; /* user-settable IP address for gdb host */
@@ -392,8 +390,6 @@ mon2000_open (char *args, int from_tty)
monitor_open (args, &mon2000_cmds, from_tty);
}
-#ifndef _MSC_VER
-
/* Function: set_board_address
Tell the BootOne monitor what it's ethernet IP address is. */
@@ -575,8 +571,6 @@ m32r_upload_command (char *args, int from_tty)
clear_symtab_users ();
}
-#endif /* ! _MSC_VER */
-
void
_initialize_m32r_rom (void)
{
@@ -604,7 +598,6 @@ Specify the serial device it is connected to (e.g. /dev/ttya).";
mon2000_ops.to_open = mon2000_open;
add_target (&mon2000_ops);
-#ifndef _MSC_VER
add_show_from_set
(add_set_cmd ("download-path", class_obscure, var_string,
(char *) &download_path,
@@ -630,5 +623,4 @@ Specify the serial device it is connected to (e.g. /dev/ttya).";
"Upload the srec file via the monitor's Ethernet upload capability.");
add_com ("tload", class_obscure, m32r_load, "test upload command.");
-#endif
}