Re: [HACKERS] To connect a debbuger...

2007-03-12 Thread Gregory Stark
"Jonathan Scher" <[EMAIL PROTECTED]> writes: > I attach gdb to /usr/.../bin/postgres, then I put a breakpoint. Whenever > postgres stop on that breakpoint, it just kills/restarts the server instead of > asking me what to do. Not sure why it's crashing but you don't want to run postgres itself un

[HACKERS] To connect a debbuger...

2007-03-12 Thread Jonathan Scher
Hello! I'm trying to add some features to PostgreSQL, but I just can't figure out how to make gdb work with it. I attach gdb to /usr/.../bin/postgres, then I put a breakpoint. Whenever postgres stop on that breakpoint, it just kills/restarts the server instead of asking me what to do. It's