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 / m88k / xm-cxux.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-17  |  1.9 KB  |  74 lines

  1. /* Host-machine dependent parameters for Motorola 88000, for GDB.
  2.    Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993
  3.    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. #include "m88k/xm-m88k.h"
  22.  
  23. #define HOST_BYTE_ORDER BIG_ENDIAN
  24.  
  25. #if !defined (USG)
  26. #define USG 1
  27. #endif
  28.  
  29. /* Really native, but as long as only native files check this macro we
  30.    are OK.  */
  31. #define NO_PTRACE_H
  32.  
  33. #include <sys/param.h>
  34.  
  35. #define x_foff _x_x._x_offset
  36. #define x_fname _x_name
  37. #define USER ptrace_user
  38. /*
  39. #define _BSD_WAIT_FLAVOR
  40. */
  41.  
  42. #define HAVE_TERMIO
  43.  
  44. #ifndef USIZE
  45. #define USIZE 2048
  46. #ifndef UPAGES
  47. #define UPAGES USIZE
  48. #endif
  49. #endif
  50. #define NBPG NBPC
  51.  
  52. /* Get rid of any system-imposed stack limit if possible.  */
  53.  
  54. #define SET_STACK_LIMIT_HUGE
  55.  
  56. /* This is the amount to subtract from u.u_ar0
  57.    to get the offset in the core file of the register values.  */
  58.  
  59. /* Since registers r0 through r31 are stored directly in the struct ptrace_user,
  60.    (for m88k BCS)
  61.    the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */
  62.  
  63. #define KERNEL_U_ADDR 0
  64.  
  65. /* The CX/UX C compiler doesn't permit complex expressions as array bounds. */
  66. #define STRICT_ANSI_BOUNDS
  67.  
  68. /* Enable breakpoint hit count reporting */
  69. #define BP_HIT_COUNT
  70.  
  71. #define CORE_REGISTER_ADDR(regno, reg_ptr) \
  72.    m88k_harris_core_register_addr(regno, reg_ptr)
  73.  
  74.