comparison agent/src/share/classes/sun/jvm/hotspot/bugspot/BugSpot.java @ 3945:8ed53447f690

Merge
author iveresov
date Thu, 15 Sep 2011 12:44:09 -0700
parents f6f3bb0ee072
children b87e5a681416
comparison
equal deleted inserted replaced
3929:f94227b6117b 3945:8ed53447f690
1 /* 1 /*
2 * Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
32 import javax.swing.*; 32 import javax.swing.*;
33 import javax.swing.filechooser.*; 33 import javax.swing.filechooser.*;
34 import sun.jvm.hotspot.debugger.*; 34 import sun.jvm.hotspot.debugger.*;
35 import sun.jvm.hotspot.debugger.cdbg.*; 35 import sun.jvm.hotspot.debugger.cdbg.*;
36 import sun.jvm.hotspot.debugger.posix.*; 36 import sun.jvm.hotspot.debugger.posix.*;
37 import sun.jvm.hotspot.debugger.win32.*; 37 import sun.jvm.hotspot.debugger.windbg.*;
38 import sun.jvm.hotspot.livejvm.*; 38 import sun.jvm.hotspot.livejvm.*;
39 import sun.jvm.hotspot.memory.*; 39 import sun.jvm.hotspot.memory.*;
40 import sun.jvm.hotspot.oops.*; 40 import sun.jvm.hotspot.oops.*;
41 import sun.jvm.hotspot.runtime.*; 41 import sun.jvm.hotspot.runtime.*;
42 import sun.jvm.hotspot.ui.*; 42 import sun.jvm.hotspot.ui.*;
602 if (os.equals("win32")) { 602 if (os.equals("win32")) {
603 if (!cpu.equals("x86")) { 603 if (!cpu.equals("x86")) {
604 throw new DebuggerException("Unsupported CPU \"" + cpu + "\" for Windows"); 604 throw new DebuggerException("Unsupported CPU \"" + cpu + "\" for Windows");
605 } 605 }
606 606
607 localDebugger = new Win32DebuggerLocal(new MachineDescriptionIntelX86(), true); 607 localDebugger = new WindbgDebuggerLocal(new MachineDescriptionIntelX86(), true);
608 } else if (os.equals("linux")) { 608 } else if (os.equals("linux")) {
609 if (!cpu.equals("x86")) { 609 if (!cpu.equals("x86")) {
610 throw new DebuggerException("Unsupported CPU \"" + cpu + "\" for Linux"); 610 throw new DebuggerException("Unsupported CPU \"" + cpu + "\" for Linux");
611 } 611 }
612 612