Hi,
I'm trying to use -break-insert and the -f flag for it.
I noticed in MICmdCmdBreak.cpp , in CmICmdCmdBreakInsert::ParseArgs() that the
-f has a required parameter.
m_setCmdArgs.Add(new
CMICmdArgValOptionShort(m_constStrArgNamedPendinfBrkPt, false, true,
CMICmdArgValListBase::eArgValType_StringQuotedNumberPath, 1));
Based on the GDB MI documentation (at
https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Breakpoint-Commands.html#GDB_002fMI-Breakpoint-Commands)
for -break-insert shows:
'-f'
If location cannot be parsed (for example if it refers to unknown files or
functions), create a pending breakpoint. Without this flag, gdb will report an
error, and won't create a breakpoint, if location cannot be parsed.
Is there a reason why it requires a parameter and what should this parameter be
?
Thanks
Pierson
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev