Allow BREAKPOINT to be overridden by -D (for Adobe).

This commit is contained in:
John Gilmore 1992-06-30 01:34:18 +00:00
parent 8bcd7db26c
commit c47793da96
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Mon Jun 29 18:30:57 1992 John Gilmore (gnu at cygnus.com)
* tm-29k.h (BREAKPOINT): Allow it to be overridden with -D.
Mon Jun 29 16:30:25 1992 Fred Fish (fnf@cygnus.com)
* dbxread.c, i386-pinsn.c, i386-tdep.c, regex.c, solib.c, symmisc.c,

View File

@ -80,12 +80,16 @@ CORE_ADDR skip_prologue ();
/* Sequence of bytes for breakpoint instruction. */
/* ASNEQ 0x50, gr1, gr1
The trap number 0x50 is chosen arbitrarily. */
The trap number 0x50 is chosen arbitrarily.
We let the command line (or previously included files) override this
setting. */
#ifndef BREAKPOINT
#if TARGET_BYTE_ORDER == BIG_ENDIAN
#define BREAKPOINT {0x72, 0x50, 0x01, 0x01}
#else /* Target is little-endian. */
#define BREAKPOINT {0x01, 0x01, 0x50, 0x72}
#endif /* Target is little-endian. */
#endif /* BREAKPOINT */
/* Amount PC must be decremented by after a breakpoint.
This is often the number of bytes in BREAKPOINT