home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / GDB / GDB-4.13 / GDB-4 / gdb-4.13 / gdb / config / i386 / nm-symmetry.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-21  |  1.5 KB  |  44 lines

  1. /* Definitions to make GDB run on a Sequent Symmetry under dynix 3.0,
  2.    with Weitek 1167 and i387 support.
  3.    Copyright 1986, 1987, 1989, 1992  Free Software Foundation, Inc.
  4.  
  5. This file is part of GDB.
  6.  
  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.
  11.  
  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.
  16.  
  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., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. /* Override copies of {fetch,store}_inferior_registers in infptrace.c.  */
  22.  
  23. #define FETCH_INFERIOR_REGISTERS
  24.  
  25. #ifdef _SEQUENT_
  26. #define CHILD_WAIT
  27. extern int child_wait PARAMS ((int, struct target_waitstatus *));
  28. #endif
  29.  
  30. /* This is the amount to subtract from u.u_ar0
  31.    to get the offset in the core file of the register values.  */
  32.  
  33. #ifdef _SEQUENT_
  34. #include <sys/param.h>
  35. #include <sys/user.h>
  36. #include <sys/mc_vmparam.h>
  37. /* VA_UAREA is defined in <sys/mc_vmparam.h>, and is dependant upon 
  38.    sizeof(struct user) */
  39. #define KERNEL_U_ADDR (VA_UAREA) /* ptx */
  40. #else
  41. #define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG))    /* dynix */
  42. #define NO_PTRACE_H
  43. #endif
  44.