forked from OSchip/llvm-project
Small fix to "frame select" sans frame # feature added yesterday.
llvm-svn: 140901
This commit is contained in:
parent
e4653a4b4b
commit
f56c0137e2
|
@ -248,11 +248,13 @@ public:
|
||||||
const char *frame_idx_cstr = command.GetArgumentAtIndex(0);
|
const char *frame_idx_cstr = command.GetArgumentAtIndex(0);
|
||||||
frame_idx = Args::StringToUInt32 (frame_idx_cstr, UINT32_MAX, 0);
|
frame_idx = Args::StringToUInt32 (frame_idx_cstr, UINT32_MAX, 0);
|
||||||
}
|
}
|
||||||
if (command.GetArgumentCount() == 0)
|
else if (command.GetArgumentCount() == 0)
|
||||||
{
|
{
|
||||||
frame_idx = thread->GetSelectedFrameIndex ();
|
frame_idx = thread->GetSelectedFrameIndex ();
|
||||||
if (frame_idx == UINT32_MAX)
|
if (frame_idx == UINT32_MAX)
|
||||||
|
{
|
||||||
frame_idx = 0;
|
frame_idx = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue