[root@testserver:~]$ gdb --help
This is the GNU debugger.  Usage:

    gdb [options] [executable-file [core-file or process-id]]
    gdb [options] --args executable-file [inferior-arguments ...]
    gdb [options] [--python|-P] script-file [script-arguments ...]

Options:

  --args             Arguments after executable-file are passed to inferior


Am 28.10.2013 14:26, schrieb Michael Knyazkov:
> whats the syntax?
> 
> [root@mail automake-1.13]# gdb "/usr/local/sbin/dbmail-imapd -D"
> GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
> Copyright (C) 2010 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "i686-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> /usr/local/sbin/dbmail-imapd -D: No such file or directory.
> (gdb)
> 
> 
> С Уважением,
> Князьков Михаил
> [email protected]
> 
> 
> 
>     Am 28.10.2013 14:11, schrieb kmish:
>     > about GDB
>     > im not sure that im doing right
>     > ive took this:
>     >
>     > [root@mail]# gdb /usr/local/sbin/dbmail-imapd
>     > Detaching after fork from child process 1486
> 
>     "dbmail-imapd -D" is needed to *not* fork the process
>     you need this also for supervisors like systemd

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to