forked from qt-creator/qt-creator
Debugger: Add infrastructure for loading Symbian .sym files.
Add local symbol files for libraries to gdb along with section addresses using the command add-symbol-file <file> <address[es]>. Whenever TRK reports a module load, check for a matching local .sym file in a folder pointed to by the QTC_SYMBIAN_SYMBOLFILE_CACHE environment variable or the folder of the application executable symbol file (which should be udeb/urel of EPOC). Rubber-stamped-by: hjk
This commit is contained in:
@@ -197,6 +197,16 @@ extern const char *gdbArchitectureXml;
|
||||
|
||||
QVector<QByteArray> gdbStartupSequence();
|
||||
|
||||
// Look up in symbol file matching library name in local cache
|
||||
QString localSymFileForLibrary(const QByteArray &libName,
|
||||
const QString &standardSymDirectory = QString());
|
||||
// Return a load command for a local symbol file for a library
|
||||
QByteArray symFileLoadCommand(const QString &symFileName, quint64 code,
|
||||
quint64 data = 0);
|
||||
// Utility message
|
||||
QString msgLoadLocalSymFile(const QString &symFileName,
|
||||
const QByteArray &libName, quint64 code);
|
||||
|
||||
} // namespace Symbian
|
||||
|
||||
// Generic gdb server helpers: read 'm','X' commands.
|
||||
|
||||
Reference in New Issue
Block a user