aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sh
diff options
context:
space:
mode:
authorMark Alexander <marka@cygnus>1999-02-15 02:23:56 +0000
committerMark Alexander <marka@cygnus>1999-02-15 02:23:56 +0000
commit1730ec6b1848f0f32154277f788fb29f88d8475b (patch)
tree303c743631736973fbe7ac52ea6745c7af1760f4 /gdb/config/sh
parent8a71fa4e1e76ca6ea84e990859bb28341cfeda97 (diff)
downloadgdb-1730ec6b1848f0f32154277f788fb29f88d8475b.zip
gdb-1730ec6b1848f0f32154277f788fb29f88d8475b.tar.gz
gdb-1730ec6b1848f0f32154277f788fb29f88d8475b.tar.bz2
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
coffread.c will correctly handle char or short function parameters.
Diffstat (limited to 'gdb/config/sh')
-rw-r--r--gdb/config/sh/tm-sh.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h
index 22e60a8..2177909 100644
--- a/gdb/config/sh/tm-sh.h
+++ b/gdb/config/sh/tm-sh.h
@@ -275,5 +275,7 @@ extern void sh_pop_frame PARAMS ((void));
#define COERCE_FLOAT_TO_DOUBLE 1
+#define BELIEVE_PCC_PROMOTION 1
+
/* Need this for WinGDB. See gdb/mswin/{regdoc.h, gdbwin.c, gui.cpp}. */
#define TARGET_SH