how to breakin gdb on overflow error

Discussion in 'C Programming' started by bkhote, Jan 10, 2006.

  1. bkhote

    bkhote Guest

    Hi,
    I need to find places in the code where a short int ( 2 bytes) is
    assigned value bigger
    than 65K. I remember this will cause overflow flag in cpu control word
    to set.
    How do I see this and break in gdb? .. some kind of trappings.
    Thanks
    B K.
     
    bkhote, Jan 10, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nick Leeson

    Help Interpreting a GDB error msg

    Nick Leeson, Jul 2, 2003, in forum: C Programming
    Replies:
    0
    Views:
    671
    Nick Leeson
    Jul 2, 2003
  2. Surendra
    Replies:
    0
    Views:
    533
    Surendra
    Mar 23, 2006
  3. bkhote
    Replies:
    6
    Views:
    307
    Mark McIntyre
    Jan 10, 2006
  4. seba
    Replies:
    1
    Views:
    1,508
    mlimber
    Mar 22, 2007
  5. Timothy Madden
    Replies:
    1
    Views:
    1,718
    Timothy Madden
    Sep 17, 2009
Loading...

Share This Page