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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [gdb/] [config/] [powerpc/] [tm-solaris.h] - Blame information for rev 1774

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

Line No. Rev Author Line
1 578 markom
/* OBSOLETE /* Macro definitions for GDB for a PowerPC running Solaris 2 */
2
/* OBSOLETE    Copyright 1996, 2000 Free Software Foundation, Inc. */
3
/* OBSOLETE  */
4
/* OBSOLETE    This file is part of GDB. */
5
/* OBSOLETE  */
6
/* OBSOLETE    This program is free software; you can redistribute it and/or modify */
7
/* OBSOLETE    it under the terms of the GNU General Public License as published by */
8
/* OBSOLETE    the Free Software Foundation; either version 2 of the License, or */
9
/* OBSOLETE    (at your option) any later version. */
10
/* OBSOLETE  */
11
/* OBSOLETE    This program is distributed in the hope that it will be useful, */
12
/* OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of */
13
/* OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the */
14
/* OBSOLETE    GNU General Public License for more details. */
15
/* OBSOLETE  */
16
/* OBSOLETE    You should have received a copy of the GNU General Public License */
17
/* OBSOLETE    along with this program; if not, write to the Free Software */
18
/* OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330, */
19
/* OBSOLETE    Boston, MA 02111-1307, USA.  */ */
20
/* OBSOLETE  */
21
/* OBSOLETE #include "powerpc/tm-ppc-eabi.h" */
22
/* OBSOLETE  */
23
/* OBSOLETE /* There are two different signal handler trampolines in Solaris2.  */ */
24
/* OBSOLETE #define IN_SIGTRAMP(pc, name) \ */
25
/* OBSOLETE   ((name) \ */
26
/* OBSOLETE    && (STREQ ("sigacthandler", name) || STREQ ("ucbsigvechandler", name))) */
27
/* OBSOLETE  */
28
/* OBSOLETE /* The signal handler gets a pointer to an ucontext as third argument */
29
/* OBSOLETE    if it is called from sigacthandler.  This is the offset to the saved */
30
/* OBSOLETE    PC within it.  sparc_frame_saved_pc knows how to deal with */
31
/* OBSOLETE    ucbsigvechandler.  */ */
32
/* OBSOLETE #define SIGCONTEXT_PC_OFFSET 44 */
33
/* OBSOLETE  */
34
/* OBSOLETE #if 0                               /* FIXME Setjmp/longjmp are not as well doc'd in SunOS 5.x yet */ */
35
/* OBSOLETE  */
36
/* OBSOLETE /* Offsets into jmp_buf.  Not defined by Sun, but at least documented in a */
37
/* OBSOLETE    comment in <machine/setjmp.h>! */ */
38
/* OBSOLETE  */
39
/* OBSOLETE #define JB_ELEMENT_SIZE 4   /* Size of each element in jmp_buf */ */
40
/* OBSOLETE  */
41
/* OBSOLETE #define JB_ONSSTACK 0 */
42
/* OBSOLETE #define JB_SIGMASK 1 */
43
/* OBSOLETE #define JB_SP 2 */
44
/* OBSOLETE #define JB_PC 3 */
45
/* OBSOLETE #define JB_NPC 4 */
46
/* OBSOLETE #define JB_PSR 5 */
47
/* OBSOLETE #define JB_G1 6 */
48
/* OBSOLETE #define JB_O0 7 */
49
/* OBSOLETE #define JB_WBCNT 8 */
50
/* OBSOLETE  */
51
/* OBSOLETE /* Figure out where the longjmp will land.  We expect that we have just entered */
52
/* OBSOLETE    longjmp and haven't yet setup the stack frame, so the args are still in the */
53
/* OBSOLETE    output regs.  %o0 (O0_REGNUM) points at the jmp_buf structure from which we */
54
/* OBSOLETE    extract the pc (JB_PC) that we will land at.  The pc is copied into ADDR. */
55
/* OBSOLETE    This routine returns true on success */ */
56
/* OBSOLETE  */
57
/* OBSOLETE extern int get_longjmp_target (CORE_ADDR *); */
58
/* OBSOLETE  */
59
/* OBSOLETE #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) */
60
/* OBSOLETE #endif /* 0 */ */
61
/* OBSOLETE  */
62
/* OBSOLETE /* The SunPRO compiler puts out 0 instead of the address in N_SO symbols, */
63
/* OBSOLETE    and for SunPRO 3.0, N_FUN symbols too.  */ */
64
/* OBSOLETE #define SOFUN_ADDRESS_MAYBE_MISSING */
65
/* OBSOLETE  */
66
/* OBSOLETE #if 0 */
67
/* OBSOLETE extern char *sunpro_static_transform_name (char *); */
68
/* OBSOLETE #define STATIC_TRANSFORM_NAME(x) sunpro_static_transform_name (x) */
69
/* OBSOLETE #endif */
70
/* OBSOLETE  */
71
/* OBSOLETE #define FAULTED_USE_SIGINFO */
72
/* OBSOLETE  */
73
/* OBSOLETE /* Enable handling of shared libraries for a.out executables.  */ */
74
/* OBSOLETE #define HANDLE_SVR4_EXEC_EMULATORS */

powered by: WebSVN 2.1.0

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