aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/m68k/tm-sun3.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-11-10 19:32:22 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-11-10 19:32:22 +0000
commit56756a5a286a45a23fcad02c47a63b1d2a9abf93 (patch)
tree9441e75313472cf35c623ef9a881f516f8c5ae38 /gdb/config/m68k/tm-sun3.h
parent447bc3edebb9be6d08b929fd2014911fa1082646 (diff)
downloadfsf-binutils-gdb-56756a5a286a45a23fcad02c47a63b1d2a9abf93.zip
fsf-binutils-gdb-56756a5a286a45a23fcad02c47a63b1d2a9abf93.tar.gz
fsf-binutils-gdb-56756a5a286a45a23fcad02c47a63b1d2a9abf93.tar.bz2
* config/m68k/tm-m68k.h: Clean up CALL_DUMMY comment.
* config/m68k/{tm-hp300bsd.h,tm-hp300hpux.h,tm-m68k-em.h, tm-monitor.h,tm-sun3.h,tm-vx68.h}, config/sparc/tm-sparc.h: Define BELIEVE_PCC_PROMOTION.
Diffstat (limited to 'gdb/config/m68k/tm-sun3.h')
-rw-r--r--gdb/config/m68k/tm-sun3.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/config/m68k/tm-sun3.h b/gdb/config/m68k/tm-sun3.h
index 2d0432b..716b194 100644
--- a/gdb/config/m68k/tm-sun3.h
+++ b/gdb/config/m68k/tm-sun3.h
@@ -64,8 +64,12 @@ extern CORE_ADDR m68k_saved_pc_after_call PARAMS ((struct frame_info *));
#define SAVED_PC_AFTER_CALL(frame) \
m68k_saved_pc_after_call(frame)
-/* If sun3 pcc says that a parameter is a short, it's a short. */
-#define BELIEVE_PCC_PROMOTION_TYPE
+/* Sun /bin/cc gets this right as of SunOS 4.1.x. We need to define
+ BELIEVE_PCC_PROMOTION to get this right now that the code which
+ detects gcc2_compiled. is broken. This loses for SunOS 4.0.x and
+ earlier. */
+
+#define BELIEVE_PCC_PROMOTION 1
/* The code which tries to deal with this bug is never harmful on a sun3. */
#define SUN_FIXED_LBRAC_BUG (0)