home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / src / amiga / gdb-4.12-src.lha / gdb-4.12 / gdb / config / pa / nm-hppah.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-03  |  1.3 KB  |  34 lines

  1. /* Native support for HPPA-RISC machine running HPUX, for GDB.
  2.    Copyright 1991, 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. #define U_REGS_OFFSET 0
  21.  
  22. /* What a coincidence! */
  23. #define REGISTER_U_ADDR(addr, blockend, regno)                \
  24. { addr = (int)(blockend) + REGISTER_BYTE (regno);}
  25.  
  26. /* attach/detach works to some extent under BSD and HPUX.  So long
  27.    as the process you're attaching to isn't blocked waiting on io,
  28.    blocked waiting on a signal, or in a system call things work 
  29.    fine.  (The problems in those cases are related to the fact that
  30.    the kernel can't provide complete register information for the
  31.    target process...  Which really pisses off GDB.)  */
  32.  
  33. #define ATTACH_DETACH
  34.