OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [gdb/] [config/] [i960/] [tm-nindy960.h] - Blame information for rev 1181

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1181 sfurman
// OBSOLETE /* Parameters for Intel 960 running NINDY monitor, for GDB, the GNU debugger.
2
// OBSOLETE    Copyright 1990, 1991, 1996, 1999, 2000 Free Software Foundation, Inc.
3
// OBSOLETE    Contributed by Intel Corporation and Cygnus Support.
4
// OBSOLETE 
5
// OBSOLETE    This file is part of GDB.
6
// OBSOLETE 
7
// OBSOLETE    This program is free software; you can redistribute it and/or modify
8
// OBSOLETE    it under the terms of the GNU General Public License as published by
9
// OBSOLETE    the Free Software Foundation; either version 2 of the License, or
10
// OBSOLETE    (at your option) any later version.
11
// OBSOLETE 
12
// OBSOLETE    This program is distributed in the hope that it will be useful,
13
// OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
// OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
// OBSOLETE    GNU General Public License for more details.
16
// OBSOLETE 
17
// OBSOLETE    You should have received a copy of the GNU General Public License
18
// OBSOLETE    along with this program; if not, write to the Free Software
19
// OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330,
20
// OBSOLETE    Boston, MA 02111-1307, USA.  */
21
// OBSOLETE 
22
// OBSOLETE /*****************************************************************************
23
// OBSOLETE  * Definitions to target GDB to an i960 debugged over a serial line.
24
// OBSOLETE  ******************************************************************************/
25
// OBSOLETE 
26
// OBSOLETE #include "i960/tm-i960.h"
27
// OBSOLETE 
28
// OBSOLETE /* forward declarations */
29
// OBSOLETE struct frame_info;
30
// OBSOLETE 
31
// OBSOLETE /* Override the standard gdb prompt when compiled for this target.  */
32
// OBSOLETE 
33
// OBSOLETE #define     DEFAULT_PROMPT  "(gdb960) "
34
// OBSOLETE 
35
// OBSOLETE /* Additional command line options accepted by nindy gdb's, for handling
36
// OBSOLETE    the remote-nindy.c interface.  These should really be target-specific
37
// OBSOLETE    rather than architecture-specific.  */
38
// OBSOLETE 
39
// OBSOLETE extern int nindy_old_protocol;      /* nonzero if old NINDY serial protocol */
40
// OBSOLETE extern int nindy_initial_brk;       /* Send a BREAK to reset board first */
41
// OBSOLETE extern char *nindy_ttyname; /* Name of serial port to talk to nindy */
42
// OBSOLETE 
43
// OBSOLETE #define     ADDITIONAL_OPTIONS \
44
// OBSOLETE     {"O", no_argument, &nindy_old_protocol, 1},     \
45
// OBSOLETE     {"brk", no_argument, &nindy_initial_brk, 1},    \
46
// OBSOLETE     {"ser", required_argument, 0, 1004},    /* 1004 is magic cookie for ADDL_CASES */
47
// OBSOLETE 
48
// OBSOLETE #define     ADDITIONAL_OPTION_CASES \
49
// OBSOLETE     case 1004:      /* -ser option:  remote nindy auto-start */     \
50
// OBSOLETE       nindy_ttyname = optarg;       \
51
// OBSOLETE       break;
52
// OBSOLETE 
53
// OBSOLETE #define     ADDITIONAL_OPTION_HELP \
54
// OBSOLETE     "\
55
// OBSOLETE   -O                Use old protocol to talk to a Nindy target\n\
56
// OBSOLETE   -brk              Send a break to a Nindy target to reset it.\n\
57
// OBSOLETE   -ser SERIAL       Open remote Nindy session to SERIAL port.\n\
58
// OBSOLETE "
59
// OBSOLETE 
60
// OBSOLETE /* If specified on the command line, open tty for talking to nindy,
61
// OBSOLETE    and download the executable file if one was specified.  */
62
// OBSOLETE 
63
// OBSOLETE extern void nindy_open (char *name, int from_tty);
64
// OBSOLETE #define     ADDITIONAL_OPTION_HANDLER                                       \
65
// OBSOLETE     if (nindy_ttyname != NULL)                                      \
66
// OBSOLETE           {                                                         \
67
// OBSOLETE             if (catch_command_errors (nindy_open, nindy_ttyname,    \
68
// OBSOLETE                                   !batch, RETURN_MASK_ALL))         \
69
// OBSOLETE           {                                                         \
70
// OBSOLETE                 if (execarg != NULL)                                        \
71
// OBSOLETE                   catch_command_errors (target_load, execarg, !batch,       \
72
// OBSOLETE                                     RETURN_MASK_ALL);               \
73
// OBSOLETE           }                                                         \
74
// OBSOLETE       }
75
// OBSOLETE 
76
// OBSOLETE /* If configured for i960 target, we take control before main loop
77
// OBSOLETE    and demand that we configure for a nindy target.  */
78
// OBSOLETE 
79
// OBSOLETE #define     BEFORE_MAIN_LOOP_HOOK   \
80
// OBSOLETE   nindy_before_main_loop();
81
// OBSOLETE 
82
// OBSOLETE extern void
83
// OBSOLETE   nindy_before_main_loop ();        /* In remote-nindy.c */
84
// OBSOLETE 
85
// OBSOLETE /* FRAME_CHAIN_VALID returns zero if the given frame is the outermost one
86
// OBSOLETE    and has no caller.
87
// OBSOLETE 
88
// OBSOLETE    On the i960, each various target system type defines FRAME_CHAIN_VALID,
89
// OBSOLETE    since it differs between NINDY and VxWorks, the two currently supported
90
// OBSOLETE    targets types.  */
91
// OBSOLETE 
92
// OBSOLETE extern int nindy_frame_chain_valid (CORE_ADDR, struct frame_info *);
93
// OBSOLETE #define     FRAME_CHAIN_VALID(chain, thisframe) nindy_frame_chain_valid (chain, thisframe)
94
// OBSOLETE 
95
// OBSOLETE extern int
96
// OBSOLETE   nindy_frame_chain_valid ();       /* See nindy-tdep.c */
97
// OBSOLETE 
98
// OBSOLETE /* Sequence of bytes for breakpoint instruction */
99
// OBSOLETE 
100
// OBSOLETE #define BREAKPOINT {0x00, 0x3e, 0x00, 0x66}
101
// OBSOLETE 
102
// OBSOLETE /* Amount ip must be decremented by after a breakpoint.
103
// OBSOLETE  * This is often the number of bytes in BREAKPOINT but not always.
104
// OBSOLETE  */
105
// OBSOLETE 
106
// OBSOLETE #define DECR_PC_AFTER_BREAK 0

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.