home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / gdb-4.14-src.lha / gdb-4.14 / gdb / config / sparc / tm-sparclynx.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-22  |  1.1 KB  |  37 lines

  1. /* Macro definitions for Sparc running under LynxOS.
  2.    Copyright 1993 Free Software Foundation, Inc.
  3.  
  4. This file is part of GDB.
  5.  
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10.  
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. #ifndef TM_SPARCLYNX_H
  21. #define TM_SPARCLYNX_H
  22.  
  23. #include "tm-lynx.h"
  24.  
  25. /* Use generic Sparc definitions. */
  26. #include "sparc/tm-sparc.h"
  27.  
  28. /* Lynx does this backwards from everybody else */
  29.  
  30. #undef FRAME_SAVED_I0
  31. #undef FRAME_SAVED_L0
  32.  
  33. #define FRAME_SAVED_I0 0
  34. #define FRAME_SAVED_L0 (8 * REGISTER_RAW_SIZE (I0_REGNUM))
  35.  
  36. #endif /* TM_SPARCLYNX_H */
  37.