This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Stop sign ignored while debugging linux pgm


I have a program (written by someone else) that I need to look at with gdb. The program runs in a tight loop looking for a keypress and servicing tcp/ip events with select. When the program runs under insight it seems to remove all the oxygen from the insight gui in that the STOP button and other menus are ineffective. The program itself responds to the keypresses appropriately. Also, if a window covers the insight gui with the program running under its control it never get redrawn.

When the program runs stand-alone (with insight/gdb) it does not respond to ctrl-c. Do I possibly need some sort of SIGINT handler?

When I write my own program just looping forever on printf it responds to the STOP button (SIGINT) as expected and stops the program executation as I would expect. But the other program program does not.

Tks,
-gene
--
Lit up like Levy's


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]