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:
hjk
2011-05-26 16:35:36 +02:00
committed by hjk
parent cdfcbcd0e0
commit de929e825d
4 changed files with 37 additions and 14 deletions

View File

@@ -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 &parameters);
void handleStackFramePython(const GdbResponse &response);
void handleStackListLocalsClassic(const GdbResponse &response);