This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

Re: patch to ignore SIGPWR and SIGXCPU (used by pthreads)



> Why not?  What does it hurt to (by default) just pass them to the
> inferior?  Having gdb stop inconveniences (and confuses) everybody who
> uses gcj.  Having gdb silently pass the signals to the application
> inconveniences/confuses - who?


Consider SIGXCPU.

With your proposed change, a program that exceeds its CPU usage will 
quietly terminate.   The user will loose their entire debug session. 
This is very different to GDB's current behavour where the signal is 
intercepted, the program is stopped, and control is returned to the user.

Andrew


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