From 7bb5e831919bf6dc8db3aabfaa2345fbc07eb195 Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Sat, 18 Nov 1995 00:25:35 +0000 Subject: * configure.in: Change "idt" config to a generic "embed" config for all mips*-*-ecoff or elf configurations. * configure: Regenerate using autoconf 2.4. * config/mips/{idt*.mt,tm-idt*.h}: Rename to "idt" part of the name to "embed". Build remote-array.o along with IDT protocols. * remote-array.c: Nuke setting the serial port to 4800 baud. --- gdb/config/mips/.Sanitize | 16 ++++++------ gdb/config/mips/embed.mt | 3 +++ gdb/config/mips/embed64.mt | 3 +++ gdb/config/mips/embedl.mt | 3 +++ gdb/config/mips/embedl64.mt | 3 +++ gdb/config/mips/idt.mt | 3 --- gdb/config/mips/idt64.mt | 3 --- gdb/config/mips/idtl.mt | 3 --- gdb/config/mips/idtl64.mt | 3 --- gdb/config/mips/tm-embed.h | 60 +++++++++++++++++++++++++++++++++++++++++++ gdb/config/mips/tm-embed64.h | 21 +++++++++++++++ gdb/config/mips/tm-embedl.h | 21 +++++++++++++++ gdb/config/mips/tm-embedl64.h | 21 +++++++++++++++ gdb/config/mips/tm-idt.h | 60 ------------------------------------------- gdb/config/mips/tm-idt64.h | 21 --------------- gdb/config/mips/tm-idtl.h | 21 --------------- gdb/config/mips/tm-idtl64.h | 21 --------------- 17 files changed, 143 insertions(+), 143 deletions(-) create mode 100644 gdb/config/mips/embed.mt create mode 100644 gdb/config/mips/embed64.mt create mode 100644 gdb/config/mips/embedl.mt create mode 100644 gdb/config/mips/embedl64.mt delete mode 100644 gdb/config/mips/idt.mt delete mode 100644 gdb/config/mips/idt64.mt delete mode 100644 gdb/config/mips/idtl.mt delete mode 100644 gdb/config/mips/idtl64.mt create mode 100644 gdb/config/mips/tm-embed.h create mode 100644 gdb/config/mips/tm-embed64.h create mode 100644 gdb/config/mips/tm-embedl.h create mode 100644 gdb/config/mips/tm-embedl64.h delete mode 100644 gdb/config/mips/tm-idt.h delete mode 100644 gdb/config/mips/tm-idt64.h delete mode 100644 gdb/config/mips/tm-idtl.h delete mode 100644 gdb/config/mips/tm-idtl64.h (limited to 'gdb/config') diff --git a/gdb/config/mips/.Sanitize b/gdb/config/mips/.Sanitize index c4c5bd2..07216cb 100644 --- a/gdb/config/mips/.Sanitize +++ b/gdb/config/mips/.Sanitize @@ -27,10 +27,10 @@ bigmips.mt bigmips64.mt decstation.mh decstation.mt -idt.mt -idt64.mt -idtl.mt -idtl64.mt +embed.mt +embed64.mt +embedl.mt +embedl64.mt irix3.mh irix3.mt irix4.mh @@ -55,10 +55,10 @@ nm-sysv4.h riscos.mh tm-bigmips.h tm-bigmips64.h -tm-idt.h -tm-idt64.h -tm-idtl.h -tm-idtl64.h +tm-embed.h +tm-embed64.h +tm-embedl.h +tm-embedl64.h tm-irix3.h tm-irix5.h tm-mips.h diff --git a/gdb/config/mips/embed.mt b/gdb/config/mips/embed.mt new file mode 100644 index 0000000..7f57a48 --- /dev/null +++ b/gdb/config/mips/embed.mt @@ -0,0 +1,3 @@ +# Target: Big-endian mips board, typically an IDT. +TDEPFILES= mips-tdep.o remote-mips.o remote-array.o +TM_FILE= tm-embed.h diff --git a/gdb/config/mips/embed64.mt b/gdb/config/mips/embed64.mt new file mode 100644 index 0000000..273d33b --- /dev/null +++ b/gdb/config/mips/embed64.mt @@ -0,0 +1,3 @@ +# Target: Big-endian mips board, typically an IDT. +TDEPFILES= mips-tdep.o remote-mips.o remote-array.o +TM_FILE= tm-embed64.h diff --git a/gdb/config/mips/embedl.mt b/gdb/config/mips/embedl.mt new file mode 100644 index 0000000..867b1fe --- /dev/null +++ b/gdb/config/mips/embedl.mt @@ -0,0 +1,3 @@ +# Target: Big-endian mips board, typically an IDT. +TDEPFILES= mips-tdep.o remote-mips.o remote-array.o +TM_FILE= tm-embedl.h diff --git a/gdb/config/mips/embedl64.mt b/gdb/config/mips/embedl64.mt new file mode 100644 index 0000000..89e3f93 --- /dev/null +++ b/gdb/config/mips/embedl64.mt @@ -0,0 +1,3 @@ +# Target: Big-endian mips board, typically an IDT. +TDEPFILES= mips-tdep.o remote-mips.o remote-array.o +TM_FILE= tm-embedl64.h diff --git a/gdb/config/mips/idt.mt b/gdb/config/mips/idt.mt deleted file mode 100644 index 0f11645..0000000 --- a/gdb/config/mips/idt.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Big-endian IDT board. -TDEPFILES= mips-tdep.o remote-mips.o -TM_FILE= tm-idt.h diff --git a/gdb/config/mips/idt64.mt b/gdb/config/mips/idt64.mt deleted file mode 100644 index b177f07..0000000 --- a/gdb/config/mips/idt64.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Big-endian IDT board. -TDEPFILES= mips-tdep.o remote-mips.o -TM_FILE= tm-idt64.h diff --git a/gdb/config/mips/idtl.mt b/gdb/config/mips/idtl.mt deleted file mode 100644 index 7dc0637..0000000 --- a/gdb/config/mips/idtl.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Big-endian IDT board. -TDEPFILES= mips-tdep.o remote-mips.o -TM_FILE= tm-idtl.h diff --git a/gdb/config/mips/idtl64.mt b/gdb/config/mips/idtl64.mt deleted file mode 100644 index 8391e5d..0000000 --- a/gdb/config/mips/idtl64.mt +++ /dev/null @@ -1,3 +0,0 @@ -# Target: Big-endian IDT board. -TDEPFILES= mips-tdep.o remote-mips.o -TM_FILE= tm-idtl64.h diff --git a/gdb/config/mips/tm-embed.h b/gdb/config/mips/tm-embed.h new file mode 100644 index 0000000..f3d2cc8 --- /dev/null +++ b/gdb/config/mips/tm-embed.h @@ -0,0 +1,60 @@ +/* Copyright (C) 1993 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 TARGET_BYTE_ORDER_SELECTABLE + +#include "mips/tm-bigmips.h" + +#undef DEFAULT_MIPS_TYPE +#define DEFAULT_MIPS_TYPE "r3051" + +/* start-sanitize-gm */ +#ifdef GENERAL_MAGIC + +#include "tm-magic.h" /* Include generic stuff */ + +/* For some reason GM can't hack this... */ + +#undef GET_LONGJMP_TARGET + +/* Watchpoint support */ + +#define TARGET_HAS_HARDWARE_WATCHPOINTS + +#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \ + (1 == 1) /* We allow all types of hardware watchpoints */ + +/* Use these macros for watchpoint insertion/deletion. */ +/* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */ + +#define target_insert_watchpoint(addr, len, type) \ + remote_mips_set_watchpoint (addr, len, type) + +#define target_remove_watchpoint(addr, len, type) \ + remote_mips_remove_watchpoint (addr, len, type) + +/* We need to remove watchpoints when stepping, else we hit them again! */ + +#define HAVE_NONSTEPPABLE_WATCHPOINT + +#define STOPPED_BY_WATCHPOINT(w) remote_mips_stopped_by_watchpoint () + +#define FLUSH_CACHED_MEMORY() flush_cached_memory() + +#endif /* GENERAL_MAGIC */ +/* end-sanitize-gm */ diff --git a/gdb/config/mips/tm-embed64.h b/gdb/config/mips/tm-embed64.h new file mode 100644 index 0000000..63296bb --- /dev/null +++ b/gdb/config/mips/tm-embed64.h @@ -0,0 +1,21 @@ +/* Copyright (C) 1993 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 TARGET_BYTE_ORDER_SELECTABLE + +#include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-embedl.h b/gdb/config/mips/tm-embedl.h new file mode 100644 index 0000000..361c9f9 --- /dev/null +++ b/gdb/config/mips/tm-embedl.h @@ -0,0 +1,21 @@ +/* Copyright (C) 1993 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 TARGET_BYTE_ORDER_SELECTABLE + +#include "mips/tm-mips.h" diff --git a/gdb/config/mips/tm-embedl64.h b/gdb/config/mips/tm-embedl64.h new file mode 100644 index 0000000..112ddd4 --- /dev/null +++ b/gdb/config/mips/tm-embedl64.h @@ -0,0 +1,21 @@ +/* Copyright (C) 1993 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 TARGET_BYTE_ORDER_SELECTABLE + +#include "mips/tm-mips64.h" diff --git a/gdb/config/mips/tm-idt.h b/gdb/config/mips/tm-idt.h deleted file mode 100644 index f3d2cc8..0000000 --- a/gdb/config/mips/tm-idt.h +++ /dev/null @@ -1,60 +0,0 @@ -/* Copyright (C) 1993 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 TARGET_BYTE_ORDER_SELECTABLE - -#include "mips/tm-bigmips.h" - -#undef DEFAULT_MIPS_TYPE -#define DEFAULT_MIPS_TYPE "r3051" - -/* start-sanitize-gm */ -#ifdef GENERAL_MAGIC - -#include "tm-magic.h" /* Include generic stuff */ - -/* For some reason GM can't hack this... */ - -#undef GET_LONGJMP_TARGET - -/* Watchpoint support */ - -#define TARGET_HAS_HARDWARE_WATCHPOINTS - -#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \ - (1 == 1) /* We allow all types of hardware watchpoints */ - -/* Use these macros for watchpoint insertion/deletion. */ -/* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */ - -#define target_insert_watchpoint(addr, len, type) \ - remote_mips_set_watchpoint (addr, len, type) - -#define target_remove_watchpoint(addr, len, type) \ - remote_mips_remove_watchpoint (addr, len, type) - -/* We need to remove watchpoints when stepping, else we hit them again! */ - -#define HAVE_NONSTEPPABLE_WATCHPOINT - -#define STOPPED_BY_WATCHPOINT(w) remote_mips_stopped_by_watchpoint () - -#define FLUSH_CACHED_MEMORY() flush_cached_memory() - -#endif /* GENERAL_MAGIC */ -/* end-sanitize-gm */ diff --git a/gdb/config/mips/tm-idt64.h b/gdb/config/mips/tm-idt64.h deleted file mode 100644 index 63296bb..0000000 --- a/gdb/config/mips/tm-idt64.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 1993 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 TARGET_BYTE_ORDER_SELECTABLE - -#include "mips/tm-bigmips64.h" diff --git a/gdb/config/mips/tm-idtl.h b/gdb/config/mips/tm-idtl.h deleted file mode 100644 index 361c9f9..0000000 --- a/gdb/config/mips/tm-idtl.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 1993 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 TARGET_BYTE_ORDER_SELECTABLE - -#include "mips/tm-mips.h" diff --git a/gdb/config/mips/tm-idtl64.h b/gdb/config/mips/tm-idtl64.h deleted file mode 100644 index 112ddd4..0000000 --- a/gdb/config/mips/tm-idtl64.h +++ /dev/null @@ -1,21 +0,0 @@ -/* Copyright (C) 1993 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 TARGET_BYTE_ORDER_SELECTABLE - -#include "mips/tm-mips64.h" -- cgit v1.1