aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-09-29 00:14:01 +0000
committerSteve Chamberlain <sac@cygnus>1995-09-29 00:14:01 +0000
commitdedcc91de6ec2cbcec9c14341dd4b27e39856ca0 (patch)
tree92c5eb107e36e9fca6ec8d2d36715681eed62bfc /gdb/config/i386
parentb91537be6193d1f7d9347eade8b18b0f4414a022 (diff)
downloadgdb-dedcc91de6ec2cbcec9c14341dd4b27e39856ca0.zip
gdb-dedcc91de6ec2cbcec9c14341dd4b27e39856ca0.tar.gz
gdb-dedcc91de6ec2cbcec9c14341dd4b27e39856ca0.tar.bz2
Thu Sep 28 14:32:11 1995 steve chamberlain <sac@slash.cygnus.com>
* callback.[ch]: New files. * remote-rdp.c: Support for the ARM RDP monitor. * Makefile: Update. * arm-tdep.c (arm_othernames): New. (_initialize_arm_tdep): install 'othernames' command. (arm_nullified_insn, shifted_reg_val, arm_get_next_pc): New. * configure.in: Check for termios.h, termio.h and sgtty.h. (i[345]86-*-win32*): New host. * configure: Regenerated. * inflow.c: Clean up inclusions. * main.c (main): Check for WINGDB, not WIN32. * printcmd.c (do_examine): Put QUIT test in loop. * remote-hms.c (e7000_load): Delete. (hms_ops): Point to generic_load instead. * remote-hms.c (hms_ops): Point to generic_load. * remote-sim.c (sim_callback_write_stdout): Becomes gdbsim_write_stdout. (gdbsim_load): Call generic_load. * remote-utils.c (gr_load_image): Delete. * ser-unix.c (terminal.h): Include instead of havig own #if tree. (hardwire_flush_input): Reset input buffer too. * source.c (openp): If WIN32 then open file in binary mode. * terminal.h: Configure IO mechanism using autoconf defines if available and not overriden. * utils.c (quit, pollquit, notice_quit): WIN32 check becomes WINGDB check. * config/arm/arm.mt (TDEPFILES): Add remote-rdp.o * config/arm/tm-arm.h (TARGET_BYTE_ORDER): becomes TARGET_BYTE_ORDER_SELECTABLE. (ADDR_BITS_REMOVE): New. (ORIGINAL_REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES): New. (INST_xx): New (FRAME_FIND_SAVED_REGS): Pass the right argument. (arm_get_next_pc): Declare. * mswin/prebuilt/*/bfdtarget.h (SELECT_ARCHITECTURES): Need leading &.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/.Sanitize2
-rw-r--r--gdb/config/i386/i386win32.mh6
-rw-r--r--gdb/config/i386/xm-i386win32.h39
3 files changed, 47 insertions, 0 deletions
diff --git a/gdb/config/i386/.Sanitize b/gdb/config/i386/.Sanitize
index 3d87565..37dac98 100644
--- a/gdb/config/i386/.Sanitize
+++ b/gdb/config/i386/.Sanitize
@@ -50,6 +50,7 @@ i386v.mt
i386v32.mh
i386v4.mh
i386v4.mt
+i386win32.mh
linux.mh
linux.mt
nbsd.mh
@@ -105,6 +106,7 @@ xm-i386sco.h
xm-i386v.h
xm-i386v32.h
xm-i386v4.h
+xm-i386win32.h
xm-linux.h
xm-nbsd.h
xm-ptx.h
diff --git a/gdb/config/i386/i386win32.mh b/gdb/config/i386/i386win32.mh
new file mode 100644
index 0000000..c6047cc
--- /dev/null
+++ b/gdb/config/i386/i386win32.mh
@@ -0,0 +1,6 @@
+MH_CFLAGS=
+XDEPFILES=
+XM_FILE=xm-i386win32.h
+TERMCAP=
+
+
diff --git a/gdb/config/i386/xm-i386win32.h b/gdb/config/i386/xm-i386win32.h
new file mode 100644
index 0000000..8ba5bb2
--- /dev/null
+++ b/gdb/config/i386/xm-i386win32.h
@@ -0,0 +1,39 @@
+/* Definitions for hosting on WIN32, for GDB.
+ Copyright 1995 Free Software Foundation, Inc.
+
+This file is part of GDB.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+
+#define HOST_BYTE_ORDER LITTLE_ENDIAN
+
+#include "fopen-bin.h"
+
+#define CANT_FORK
+
+
+#define GDBINIT_FILENAME "gdb.ini"
+
+#define SLASH_P(X) ((X)=='\\' || (X) == '/')
+#define ROOTED_P(X) ((SLASH_P((X)[0]))|| ((X)[1] ==':'))
+#define SLASH_CHAR '/'
+#define SLASH_STRING "/"
+
+/* If we longjmp out of the signal handler we never get another one.
+ So disable immediate_quit inside request_quit */
+#define REQUEST_QUIT
+
+
+