forked from qt-creator/qt-creator
Merge remote branch 'origin/2.2'
Conflicts: src/plugins/debugger/gdb/gdbengine.cpp src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp src/plugins/qt4projectmanager/qt-maemo/maemoglobal.h src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.h
This commit is contained in:
@@ -122,12 +122,16 @@ BreakpointDialog::BreakpointDialog(unsigned engineCapabilities, QWidget *parent)
|
||||
// Match BreakpointType (omitting unknown type).
|
||||
m_ui.setupUi(this);
|
||||
QStringList types;
|
||||
types << tr("File and Line Number") << tr("Function Name") << tr("Address")
|
||||
<< tr("throw") << tr("catch")
|
||||
<< tr("Function \"main()\"")
|
||||
<< tr("fork") << tr("exec")
|
||||
<< tr("vfork") << tr("syscall")
|
||||
<< tr("Address (Watchpoint)");
|
||||
types << tr("File and Line Number")
|
||||
<< tr("Function Name")
|
||||
<< tr("Address")
|
||||
<< tr("Break when C++ Exception is Thrown")
|
||||
<< tr("Break when C++ Exception is Caught")
|
||||
<< tr("Break when Function \"main()\" Starts")
|
||||
<< tr("Break when a new Process is Forked")
|
||||
<< tr("Break when a new Process is Executed")
|
||||
<< tr("Break when a System Call is Executed")
|
||||
<< tr("Break on Data Access (Watchpoint)");
|
||||
QTC_ASSERT(types.size() == Watchpoint, return; )
|
||||
m_ui.comboBoxType->addItems(types);
|
||||
m_ui.pathChooserFileName->setExpectedKind(Utils::PathChooser::File);
|
||||
@@ -140,7 +144,7 @@ BreakpointDialog::BreakpointDialog(unsigned engineCapabilities, QWidget *parent)
|
||||
m_ui.lineEditModule->setToolTip(moduleToolTip);
|
||||
const QString commandToolTip =
|
||||
tr("Debugger command to be executed when the breakpoint is hit.\n"
|
||||
"gdb allows for specifying a sequence of commands separated by "
|
||||
"GDB allows for specifying a sequence of commands separated by "
|
||||
"the delimiter '\\n'.");
|
||||
m_ui.lineEditCommand->setToolTip(commandToolTip);
|
||||
m_ui.labelCommand->setToolTip(commandToolTip);
|
||||
@@ -157,7 +161,7 @@ BreakpointDialog::BreakpointDialog(unsigned engineCapabilities, QWidget *parent)
|
||||
"<li><i>Use File Name</i>: Pass the file name only. This is "
|
||||
"useful when using a source tree whose location does "
|
||||
"not match the one used when building the modules. "
|
||||
"It is the engine default for gdb as using full paths can "
|
||||
"It is the engine default for GDB as using full paths can "
|
||||
"be slow with this engine.</li>"
|
||||
"</ul></body></html>");
|
||||
m_ui.labelUseFullPath->setToolTip(pathToolTip);
|
||||
@@ -339,7 +343,7 @@ void BreakpointDialog::typeChanged(int)
|
||||
case BreakpointAtMain:
|
||||
case BreakpointAtFork:
|
||||
case BreakpointAtExec:
|
||||
case BreakpointAtVFork:
|
||||
//case BreakpointAtVFork:
|
||||
case BreakpointAtSysCall:
|
||||
break;
|
||||
case BreakpointByAddress:
|
||||
@@ -366,7 +370,7 @@ void BreakpointDialog::typeChanged(int)
|
||||
case BreakpointAtCatch:
|
||||
case BreakpointAtFork:
|
||||
case BreakpointAtExec:
|
||||
case BreakpointAtVFork:
|
||||
//case BreakpointAtVFork:
|
||||
case BreakpointAtSysCall:
|
||||
clearOtherParts(AllConditionParts|ModulePart|TracePointPart);
|
||||
setPartsEnabled(AllConditionParts|TracePointPart);
|
||||
|
||||
Reference in New Issue
Block a user