1 /* Native-dependent definitions for LynxOS.
2 Copyright 1993, 1994, 1995, 1996, 1999, 2000
3 Free Software Foundation, Inc.
5 This file is part of GDB.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
26 #include <sys/kernel.h>
27 /* sys/kernel.h should define this, but doesn't always, sigh. */
32 #include <sys/signal.h>
34 #include <sys/resource.h>
35 #include <sys/itimer.h>
38 #include "gdbthread.h"
40 /* This is the amount to subtract from u.u_ar0 to get the offset in
41 the core file of the register values. */
43 #define KERNEL_U_ADDR USRSTACK
45 #undef FLOAT_INFO /* No float info yet */
47 /* As of LynxOS 2.2.2 (beta 8/15/94), this is int. Previous versions seem to
48 have had no prototype, so I'm not sure why GDB used to define this to
50 #define PTRACE_ARG3_TYPE int
52 /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
54 #define FETCH_INFERIOR_REGISTERS
56 /* Thread ID of stopped thread. */
58 #define WIFTID(x) (((union wait *)&x)->w_tid)
60 /* Override child_wait in inftarg.c */
64 /* Override child_resume in infptrace.c */
68 /* Override child_thread_alive in intarg.c */
70 #define CHILD_THREAD_ALIVE
74 extern int child_wait (int pid
, struct target_waitstatus
*status
);
76 /* Lynx needs a special definition of this so that we can
77 print out the pid and thread number seperately. */
80 /* override child_pid_to_str in inftarg.c */
81 #define CHILD_PID_TO_STR
82 extern char *lynx_pid_to_str (int pid
);
84 #endif /* NM_LYNX_H */
This page took 0.032836 seconds and 5 git commands to generate.