aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-opcode.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1991-04-29 05:27:04 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1991-04-29 05:27:04 +0000
commit122ad9abf278d8b86f00d33ff6c1c2e450d4ffc3 (patch)
tree124d4f1459660d8e78aedef7c0d503c0119ea7ac /gdb/mips-opcode.h
parent5d98a45f63af922fd05cb62ea4092fa4bf223b04 (diff)
downloadgdb-122ad9abf278d8b86f00d33ff6c1c2e450d4ffc3.zip
gdb-122ad9abf278d8b86f00d33ff6c1c2e450d4ffc3.tar.gz
gdb-122ad9abf278d8b86f00d33ff6c1c2e450d4ffc3.tar.bz2
* param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined
or not defined. Don't define it based on TARGET_BYTE_ORDER if it's already defined (in the tm.h file). mips-opcode.h (BIT_FIELDS_*), values.c (modify_field, unpack_field_as_long): Use #if BITS_BIG_ENDIAN not #ifdef BITS_BIG_ENDIAN.
Diffstat (limited to 'gdb/mips-opcode.h')
-rwxr-xr-xgdb/mips-opcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-opcode.h b/gdb/mips-opcode.h
index fd92c78..a65678a 100755
--- a/gdb/mips-opcode.h
+++ b/gdb/mips-opcode.h
@@ -21,7 +21,7 @@ You should have received a copy of the GNU General Public License
along with GDB; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
-#ifdef BITS_BIG_ENDIAN
+#if BITS_BIG_ENDIAN
#define BIT_FIELDS_2(a,b) a;b;
#define BIT_FIELDS_4(a,b,c,d) a;b;c;d;
#define BIT_FIELDS_6(a,b,c,d,e,f) a;b;c;d;e;f;