mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-01 16:35:04 +00:00
Allow BREAKPOINT to be overridden by -D (for Adobe).
This commit is contained in:
parent
8bcd7db26c
commit
c47793da96
@ -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,
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user