gdb scripting restart continue while loop -


what equivalent of continue in gdb scripts? tried using loop_continue didn't work. gdb threw error saying undefined command.

i want like

    while $thr      if $thr->procedureid != 28         set $thr = $thr->cnext          loop_continue; // doesn't work      end      print $thr      set $thr = $thr->cnext    end 

the problem here, surprisingly, ;. me causes gdb say:

undefined command: "loop_continue". try "help".

however, if leave out ;, works:

(gdb) set $x = 0 (gdb) while $x < 5  >if $x < 3   >set $x = 72   >loop_continue   >end  >end (gdb) print $x $1 = 72 

Comments

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

javascript - Parallax scrolling and fixed footer code causing width issues -

iOS: Performance of reloading UIImage(name:...) -