~ubuntu-branches/ubuntu/maverick/dietlibc/maverick

« back to all changes in this revision

Viewing changes to include/sys/ptrace.h

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape
  • Date: 2004-12-23 14:18:36 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041223141836-laencoi55y3khwy0
Tags: 0.27-7
* debian/diff/ia64-no-fno-omit-frame-pointer.diff: new; don't use
  -fno-omit-frame-pointer on ia64 (works around #286840).
* debian/rules: get VERSION from debian/changelog.
* debian/diff/nice.diff: update; set errno=EPERM on error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
639
639
 
640
640
#elif defined(powerpc) || defined (__powerpc64__)
641
641
 
642
 
struct pt_regs {
643
 
  unsigned long gpr[32];
644
 
  unsigned long nip;
645
 
  unsigned long msr;
646
 
  unsigned long orig_gpr3;      /* Used for restarting system calls */
647
 
  unsigned long ctr;
648
 
  unsigned long link;
649
 
  unsigned long xer;
650
 
  unsigned long ccr;
651
 
  unsigned long mq;             /* 601 only (not used at present) */
652
 
                                /* Used on APUS to hold IPL value. */
653
 
  unsigned long trap;           /* Reason for being here */
654
 
  unsigned long dar;            /* Fault registers */
655
 
  unsigned long dsisr;
656
 
  unsigned long result;         /* Result of a system call */
657
 
};
658
 
 
659
 
/*
660
 
 * Offsets used by 'ptrace' system call interface.
661
 
 * These can't be changed without breaking binary compatibility
662
 
 * with MkLinux, etc.
663
 
 */
664
 
#define PT_R0   0
665
 
#define PT_R1   1
666
 
#define PT_R2   2
667
 
#define PT_R3   3
668
 
#define PT_R4   4
669
 
#define PT_R5   5
670
 
#define PT_R6   6
671
 
#define PT_R7   7
672
 
#define PT_R8   8
673
 
#define PT_R9   9
674
 
#define PT_R10  10
675
 
#define PT_R11  11
676
 
#define PT_R12  12
677
 
#define PT_R13  13
678
 
#define PT_R14  14
679
 
#define PT_R15  15
680
 
#define PT_R16  16
681
 
#define PT_R17  17
682
 
#define PT_R18  18
683
 
#define PT_R19  19
684
 
#define PT_R20  20
685
 
#define PT_R21  21
686
 
#define PT_R22  22
687
 
#define PT_R23  23
688
 
#define PT_R24  24
689
 
#define PT_R25  25
690
 
#define PT_R26  26
691
 
#define PT_R27  27
692
 
#define PT_R28  28
693
 
#define PT_R29  29
694
 
#define PT_R30  30
695
 
#define PT_R31  31
696
 
 
697
 
#define PT_NIP  32
698
 
#define PT_MSR  33
699
 
#define PT_CTR  35
700
 
#define PT_LNK  36
701
 
#define PT_XER  37
702
 
#define PT_CCR  38
703
 
#define PT_MQ   39
704
 
 
705
 
#define PT_FPR0 48      /* each FP reg occupies 2 slots in this space */
706
 
#define PT_FPR31 (PT_FPR0 + 2*31)
707
 
#define PT_FPSCR (PT_FPR0 + 2*32 + 1)
 
642
#include <asm/sigcontext.h>
708
643
 
709
644
#elif defined(__hppa__)
710
645