improve breakpoint setting

first, try harder to have an up-to-date sources list.
then, use the mapping whenever applicable and available.
This commit is contained in:
Oswald Buddenhagen
2009-10-22 22:54:30 +02:00
parent d81150850b
commit c0a46ace61
2 changed files with 54 additions and 40 deletions

View File

@@ -267,7 +267,9 @@ private: ////////// Gdb Output, State & Capability Handling //////////
private: ////////// Inferior Management //////////
// This should be always the last call in a function.
Q_SLOT virtual void attemptBreakpointSynchronization();
void attemptBreakpointSynchronization2(const GdbResponse &);
virtual void stepExec();
virtual void stepOutExec();
@@ -311,6 +313,7 @@ private: ////////// View & Data Stuff //////////
void extractDataFromInfoBreak(const QString &output, BreakpointData *data);
void breakpointDataFromOutput(BreakpointData *data, const GdbMi &bkpt);
void sendInsertBreakpoint(int index);
QString breakLocation(const QString &file) const;
//
// Modules specific stuff
@@ -355,6 +358,9 @@ private: ////////// View & Data Stuff //////////
QMap<QString, QString> m_shortToFullName;
QMap<QString, QString> m_fullToShortName;
bool m_sourcesListOutdated;
bool m_sourcesListUpdating;
//
// Stack specific stuff
//