forked from Imagelibrary/binutils-gdb
* 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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user