How to get rid of these annoying exceptions?

Sysprogs forums Forums VisualGDB How to get rid of these annoying exceptions?

This topic contains 1 reply, has 1 voice, and was last updated by  BitFlipper 9 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #450

    BitFlipper
    Participant

    OK I’m starting to get things working now. I can step through the code but I keep getting endless amounts of these types of exceptions:

    [*] Received a SIGPWR: Power fail/restart
    [*] Received a SIGXCPU: CPU time limit exceeded
    [*] …etc

    I tried various settings but can’t figure out how to ignore these. Any ideas?

    #2119

    BitFlipper
    Participant

    OK it turns out I can disable these by setting GDB up to not stop on them. Under “GDB startup commands”, I can add something like this:

    handle SIGPWR nostop pass
    handle SIGXCPU nostop pass
    handle SIG35 nostop pass

    Here is some documentation on setting up exceptions under GDB: http://idlebox.net/2010/apidocs/gdb-7.0.zip/gdb_6.html#SEC44

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.