On Mon, 2007-06-04 at 16:27 +0300, Odhiambo WASHINGTON wrote:
> -bash-2.05b$ sudo su
> Password:
> [EMAIL PROTECTED] ax | grep dove
> 43802  ??  Ss     0:00.08 /usr/local/sbin/dovecot
> 43803  ??  S      0:00.05 dovecot-auth
> [EMAIL PROTECTED] attach 43803
> GNU gdb 4.18 (FreeBSD)
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-unknown-freebsd"...
> 
> attach: No such file or directory.

Oh, so BSD needs to have the path specified. I knew the "attach" wasn't
really correct or meaningful, but I've been using it anyway. So the
correct way would be

gdb /usr/local/libexec/dovecot/dovecot-auth 43803

> # At this point, I go to another shell where I attempt pop3 login.
> The login fails with an error, of course.
> 
> Now, what am I supposed to type/do on the gdb shell?
> As you can see, it has the word "Continuing"... anything I need to type 
> to get it our of that so that it again accepts my commands?

dovecot-auth process should have crashed and gdb dropped back to
accepting commands.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to