aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/v850
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1996-10-24 17:31:45 +0000
committerStu Grossman <grossman@cygnus>1996-10-24 17:31:45 +0000
commit139e2c0f92e06fcca01a815614c46a53e93a2f55 (patch)
tree6318f9da44ac4db47a0cf4bed71ee6b03e82d545 /gdb/config/v850
parentb9dfd325cd8d0f5da5a9a899094e7a93dfc061e4 (diff)
downloadgdb-139e2c0f92e06fcca01a815614c46a53e93a2f55.zip
gdb-139e2c0f92e06fcca01a815614c46a53e93a2f55.tar.gz
gdb-139e2c0f92e06fcca01a815614c46a53e93a2f55.tar.bz2
* dbxread.c: Don't swap symbols in place, since internal and
external forms may have different sizes. Don't assume that an internal_nlist has the same layout as an external_nlist. Create symbol for n_strx element so to hide specifics of nlist from partial-stab.h. * partial-stab.h: Don't reference dbxread symbols directly. Use CUR_SYMBOL_STRX instead. * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP. * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for MSVC builds. * mswin/gdbwin.c (reg_order): Define register order for V850. * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for V850. * mswin/regdoc.h: Define MAXREGS for V850.
Diffstat (limited to 'gdb/config/v850')
-rw-r--r--gdb/config/v850/tm-v850.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/v850/tm-v850.h b/gdb/config/v850/tm-v850.h
index 6820ba5..eec0911 100644
--- a/gdb/config/v850/tm-v850.h
+++ b/gdb/config/v850/tm-v850.h
@@ -46,6 +46,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define V1_REGNUM 11
#define FP_REGNUM 29
#define RP_REGNUM 31
+#define PS_REGNUM 37
#define PC_REGNUM 64
#define REGISTER_VIRTUAL_TYPE(REG) builtin_type_int
@@ -141,3 +142,7 @@ extern int v850_pc_in_call_dummy PARAMS ((CORE_ADDR pc));
#define USE_STRUCT_CONVENTION(GCC_P, TYPE) \
(TYPE_NFIELDS (TYPE) > 1 || TYPE_LENGTH (TYPE) > 4)
+
+/* Define this for Wingdb */
+
+#define TARGET_V850