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: Clean shutdown if still attached at exit in batch mode


On Thu, Apr 29, 2004 at 02:15:44PM +0100, Ashley Pittman wrote:
> 
> Hi,
> 
> I've been hitting some problems running gdb against live processes on
> ia64 nodes, often stack traces are incomplete due to signal handler
> issues or such like.  If running gdb interactively then gdb drops back
> to the prompt and everything is fine but if run in batch mode it stops
> parsing the batch file and exits.
> 
> The problem here is that it does not detach before quiting so the
> process becomes a zombie.  Attached is a patch to prevent this.

This should not cause the process to become a zombie.  Do you mean that
it hangs around in the T (stopped) state?

-- 
Daniel Jacobowitz


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