Package vtrace :: Package archs :: Module ppc
[hide private]
[frames] | no frames]

Source Code for Module vtrace.archs.ppc

 1  """ 
 2  PPC Support Module (not done) 
 3  """ 
 4  # Copyright (C) 2007 Invisigoth - See LICENSE file for details 
5 -class PpcMixin:
6 - def archAddWatchpoint(self, address):
7 pass
8
9 - def archRemWatchpoint(self, address):
10 pass
11
12 - def archCheckWatchpoint(self, address):
13 pass
14
15 - def getStackTrace(self):
16 self.requireAttached() 17 return []
18
19 - def getBreakInstruction(self):
20 # twi 0x14, r0, 0 21 # trap if r0 is (>=:unsigned) 0 22 return "\x0e\x80\x00\x00"
23
24 - def archGetPcName(self):
25 return "r0"
26
27 - def archGetSpName(self):
28 return "r1"
29
30 - def platformCall(self, address, args, convention=None):
31 pass
32