Add symbols in function list when no label
This commit is contained in:
parent
1cf9e5d167
commit
c1f51a31bc
|
@ -11,6 +11,7 @@
|
||||||
#include "loop.h"
|
#include "loop.h"
|
||||||
#include "debugger.h"
|
#include "debugger.h"
|
||||||
#include "stringformat.h"
|
#include "stringformat.h"
|
||||||
|
#include "_exports.h"
|
||||||
|
|
||||||
bool cbInstrDbsave(int argc, char* argv[])
|
bool cbInstrDbsave(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
@ -350,8 +351,10 @@ bool cbInstrFunctionList(int argc, char* argv[])
|
||||||
if(GuiGetDisassembly(functions()[i].start, disassembly))
|
if(GuiGetDisassembly(functions()[i].start, disassembly))
|
||||||
GuiReferenceSetCellContent(i, 4, disassembly);
|
GuiReferenceSetCellContent(i, 4, disassembly);
|
||||||
char label[MAX_LABEL_SIZE] = "";
|
char label[MAX_LABEL_SIZE] = "";
|
||||||
if(LabelGet(functions()[i].start, label))
|
BRIDGE_ADDRINFO labelinfo;
|
||||||
GuiReferenceSetCellContent(i, 3, label);
|
labelinfo.flags = flaglabel;
|
||||||
|
if(_dbg_addrinfoget(functions()[i].start, SEG_DEFAULT, &labelinfo))
|
||||||
|
GuiReferenceSetCellContent(i, 3, labelinfo.label);
|
||||||
char comment[MAX_COMMENT_SIZE] = "";
|
char comment[MAX_COMMENT_SIZE] = "";
|
||||||
if(CommentGet(functions()[i].start, comment))
|
if(CommentGet(functions()[i].start, comment))
|
||||||
GuiReferenceSetCellContent(i, 5, comment);
|
GuiReferenceSetCellContent(i, 5, comment);
|
||||||
|
|
Loading…
Reference in New Issue