I recompiled, and restarted XMail with the -g flag, and removing stripping. 
However when I attempt to do the gdb, this is what i'm getting.

su-2.05b# gdb /var/MailRoot/bin/XMail /var/run/XMail.pid 

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"...Deprecated bfd_read
called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
933 in fill_symbuf


"/var/run/XMail.pid" is not a core dump: File format not recognized
(gdb) bt
No stack.

Sincerely,

Scott Pakula
Smoothco.com

--- Davide Libenzi <[EMAIL PROTECTED]> wrote:
> 
> On Wed, 16 Jul 2003, [EMAIL PROTECTED] wrote:
> 
> >
> > Doesn't seem so.
> 
> Could you :
> 
> 1) Edit Makefile.bsd to remove file stripping and to add -g to compile
flags
> 
> 2) Stop XMail
> 
> 3) Replace XMail binary
> 
> 4) Start XMail
> 
> 5) Run : `gdb PATH-TO-XMAIL-BIN XMAIL-PID`
> 
> 6) Do a `bt` from inside gdb
> 
> 
> 
> - Davide
> 
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
> 

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to