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 / xm-sun4sol2.h < prev   
Encoding:
C/C++ Source or Header  |  1994-08-04  |  2.2 KB  |  61 lines

  1. /* Macro definitions for running gdb on a Sun 4 running Solaris 2.
  2.    Copyright 1989, 1992 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. /* Most of what we know is generic to SPARC hosts.  */
  21.  
  22. #include "sparc/xm-sparc.h"
  23.  
  24. /* Pick up more stuff from the generic SVR4 host include file. */
  25.  
  26. #include "xm-sysv4.h"
  27.  
  28. /* SVR4's can't seem to agree on what to call the type that contains the
  29.    general registers.  Kludge around it with a #define.  */
  30.  
  31. #define    gregset_t    prgregset_t
  32. #define    fpregset_t    prfpregset_t
  33.  
  34. /* If you expect to use the mmalloc package to obtain mapped symbol files,
  35.    for now you have to specify some parameters that determine how gdb places
  36.    the mappings in it's address space.  See the comments in map_to_address()
  37.    for details.  This is expected to only be a short term solution.  Yes it
  38.    is a kludge.
  39.    FIXME:  Make this more automatic. */
  40.  
  41. #define MMAP_BASE_ADDRESS    0xE0000000    /* First mapping here */
  42. #define MMAP_INCREMENT        0x01000000    /* Increment to next mapping */
  43.  
  44. /* These are not currently used in SVR4 (but should be, FIXME!).  */
  45. #undef    DO_DEFERRED_STORES
  46. #undef    CLEAR_DEFERRED_STORES
  47.  
  48. /* May be needed, may be not?  From Pace Willisson's port.  FIXME.  */
  49. #define NEED_POSIX_SETPGID
  50.  
  51. /* Solaris PSRVADDR support does not seem to include a place for nPC.  */
  52. #define PRSVADDR_BROKEN
  53.  
  54. /* The mem functions are in <string.h>.  */
  55. #undef MEM_FNS_DECLARED
  56. #define MEM_FNS_DECLARED 1
  57.  
  58. /* solaris doesn't have siginterrupt, though it has sigaction; however,
  59.    in this case siginterrupt would just be setting the default. */
  60. #define NO_SIGINTERRUPT
  61.