1
0
Fork 0
This repository has been archived on 2019-12-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
arduinisten/arduino-0018-windows/hardware/tools/avr/lib/insight1.0/plugins.tcl

31 lines
934 B
Tcl
Raw Normal View History

2010-03-30 21:53:44 +02:00
# Only load the rhabout plugin if it was installed.
foreach dir $::gdb_plugins {
if {[file exists [file join $dir rhabout]]} {
package require RHABOUT 1.0
$Menu add command Other "About Red Hat" \
{ManagedWin::open RHAbout} -underline 0
# To activate the PlugIn sample, uncomment the next line
set plugins_available 1
}
}
# Only load the Intel Pentium plugin for x86 targets.
if {[string match "i?86-*" $::GDBStartup(target_name)] && ![TargetSelection::native_debugging]} {
package require INTELPENTIUM 1.0
# Add a new cascading-style menu to plugin menu
$Menu add cascade intel "Intel Pentium" 0
# Add MSR selection dialog menu item.
$Menu add command None "MSR Selection..." \
{ManagedWin::open_dlg MsrSelDlg} -underline 0
# Add CPU info menu item.
$Menu add command None "CPU Information..." \
display_cpu_info -underline 0
# Activate the PlugIn.
set plugins_available 1
}