aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-07-14 15:12:05 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-07-14 15:12:05 +0000
commit5af4f5f6f13163c6d9a516fc7cf7383d824d14b4 (patch)
treeb126a6a9fc89606345b6c1fb61b41425b2e7cb2b /gdb/config/m68k
parentb2eed00fa9d4dbee676d1f96dda1fce088eee5bf (diff)
downloadgdb-5af4f5f6f13163c6d9a516fc7cf7383d824d14b4.zip
gdb-5af4f5f6f13163c6d9a516fc7cf7383d824d14b4.tar.gz
gdb-5af4f5f6f13163c6d9a516fc7cf7383d824d14b4.tar.bz2
Tue Jul 13 14:03:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* stabsread.c (define_symbol): Make the caddr_t hack apply to `function returning foo' as well as `pointer to foo'. * remote.c [REMOTE_BREAKPOINT]: Use for breakpoint insn if defined. * config/m68k/tm-m68k.h: Define it. * mem-break.c, breakpoint.c: Improve comments. Tue Jul 13 13:35:31 1993 Frederic Pierresteguy (F.Pierresteguy@frcl.bull.fr) * config/m68k/tm-dpx2.h: Replace "tm-68k.h" with "m68k/tm-m68k.h". * config/m68k/xm-dpx2.h: Define HAVE_TERMIOS not HAVE_TERMIO.
Diffstat (limited to 'gdb/config/m68k')
-rw-r--r--gdb/config/m68k/tm-dpx2.h2
-rw-r--r--gdb/config/m68k/tm-m68k.h5
-rw-r--r--gdb/config/m68k/xm-dpx2.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gdb/config/m68k/tm-dpx2.h b/gdb/config/m68k/tm-dpx2.h
index 1483026..026723f 100644
--- a/gdb/config/m68k/tm-dpx2.h
+++ b/gdb/config/m68k/tm-dpx2.h
@@ -29,4 +29,4 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define FUNCTION_EPILOGUE_SIZE 4
#include <sys/types.h>
-#include "tm-68k.h"
+#include "m68k/tm-68k.h"
diff --git a/gdb/config/m68k/tm-m68k.h b/gdb/config/m68k/tm-m68k.h
index f78fbce..c6d90db 100644
--- a/gdb/config/m68k/tm-m68k.h
+++ b/gdb/config/m68k/tm-m68k.h
@@ -65,6 +65,11 @@ read_memory_integer (read_register (SP_REGNUM), 4)
#define BREAKPOINT {0x4e, (0x40 | BPT_VECTOR)}
#endif
+/* We always use vector 1 for the "remote" target. This is hardcoded in
+ m68k-stub.c. */
+#define REMOTE_BPT_VECTOR 1
+#define REMOTE_BREAKPOINT {0x4e, (0x40 | REMOTE_BPT_VECTOR)}
+
/* If your kernel resets the pc after the trap happens you may need to
define this before including this file. */
diff --git a/gdb/config/m68k/xm-dpx2.h b/gdb/config/m68k/xm-dpx2.h
index f533cd9..60c0649 100644
--- a/gdb/config/m68k/xm-dpx2.h
+++ b/gdb/config/m68k/xm-dpx2.h
@@ -19,7 +19,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HOST_BYTE_ORDER BIG_ENDIAN
-#define HAVE_TERMIO
+#define HAVE_TERMIOS
#define USG
/* Avoid redefinition errors */