forked from qt-creator/qt-creator
debugger: introduce a parameter struct for updateLocal
Change-Id: I05ecc935e1b6cf9483f23624f18e4dc5b9f295f3 Reviewed-on: http://codereview.qt.nokia.com/178 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -80,6 +80,16 @@ enum DebuggingHelperState
|
||||
};
|
||||
|
||||
|
||||
class UpdateParameters
|
||||
{
|
||||
public:
|
||||
UpdateParameters() { tryPartial = tooltipOnly = false; }
|
||||
|
||||
bool tryPartial;
|
||||
bool tooltipOnly;
|
||||
QByteArray varList;
|
||||
};
|
||||
|
||||
/* This is only used with Mac gdb since 2.2
|
||||
*
|
||||
* "Custom dumper" is a library compiled against the current
|
||||
@@ -646,7 +656,7 @@ private: ////////// View & Data Stuff //////////
|
||||
|
||||
void updateLocals();
|
||||
void updateLocalsClassic();
|
||||
void updateLocalsPython(bool tryPartial, const QByteArray &varList);
|
||||
void updateLocalsPython(const UpdateParameters ¶meters);
|
||||
void handleStackFramePython(const GdbResponse &response);
|
||||
|
||||
void handleStackListLocalsClassic(const GdbResponse &response);
|
||||
|
||||
Reference in New Issue
Block a user