Thomas (boggyb) wrote,

  • Mood:

More gdb fail

This set of commands, run in a fresh gdb instance and intended to set a conditional watchpoint, results in gdb segfaulting leaving an orphaned debuggee running:

(gdb) watch function::variable if function::variable == 0xff
(gdb) run

This set of commands, again in a fresh gdb instance, works:

(gdb) info address variable
(gdb) info address function::variable
(gdb) whatis variable
(gdb) whatis function::variable
(gdb) watch function::variable if function::variable == 0xff
(gdb) run

Tags: linux, programming

  • Skyward Sword HD: for SCIENCE!

    One thing I've noticed from playing through Skyward Sword HD is how... underwhelming the skyward strike appears, at least to begin with. It takes a…

  • E3 WOT WOT!

    There's quite a few games in the Nintendo Direct, so here's what caught my eye... Super Monkey Ball Banana Mania: I'd completely forgotten about…

  • Summon giant frog?

    Impa has a rather unusual finishing move in Hyrule Warriors Calamity...

  • Post a new comment


    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.