diff options
author | John Gilmore <gnu@cygnus> | 1992-06-30 01:34:18 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-06-30 01:34:18 +0000 |
commit | c47793da968c7420c6e7c56500d876d83a0705c7 (patch) | |
tree | 3f1e9baddf089804ffd5b86f230a9469463b0fa7 /gdb | |
parent | 8bcd7db26c7f37d4e172ca433492422fc1dd5f7a (diff) | |
download | gdb-c47793da968c7420c6e7c56500d876d83a0705c7.zip gdb-c47793da968c7420c6e7c56500d876d83a0705c7.tar.gz gdb-c47793da968c7420c6e7c56500d876d83a0705c7.tar.bz2 |
Allow BREAKPOINT to be overridden by -D (for Adobe).
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/tm-29k.h | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 75839fb..2fb16a7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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, diff --git a/gdb/tm-29k.h b/gdb/tm-29k.h index 825cf96..c1c30ca 100644 --- a/gdb/tm-29k.h +++ b/gdb/tm-29k.h @@ -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 |