< prev index next >

agent/src/share/classes/sun/jvm/hotspot/debugger/sparc/SPARCThreadContext.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 22,41 **** --- 22,47 ---- * */ package sun.jvm.hotspot.debugger.sparc; + import java.lang.annotation.Native; + import sun.jvm.hotspot.debugger.*; import sun.jvm.hotspot.debugger.cdbg.*; /** Currently provides just the minimal information necessary to get stack traces working. FIXME: currently hardwired for v9 -- will have to factor out v8/v9 specific code. FIXME: may want to try to share code between this class and asm/sparc. */ public abstract class SPARCThreadContext implements ThreadContext { // Taken from /usr/include/sys/procfs_isa.h + + // One instance of the Native annotation is enough to trigger header generation + // for this file. + @Native public static final int R_G0 = 0; public static final int R_G1 = 1; public static final int R_G2 = 2; public static final int R_G3 = 3; public static final int R_G4 = 4;
< prev index next >