NANA(1) General Commands Manual NANA(1)NAME
nana - generates debugger commands from C and C++ source code
SYNOPSIS
nana [cpp-flags] files...
DESCRIPTION
Generates gdb(1) commands from the arguments which implement the assertion and logging operations specified by macros such as DI(3) and
DL(3). The output of nana(1) can then be sourced into gdb(1) to perform these operations.
Note that you must provide any C preprocessor flags you are using to nana since these can change the code that is generated by the com-
piler.
SEE ALSO nana-clg(1), nana(3), I(3), DI(3), L(3), DL(3), Q(3) and nana.info.
The nana.info file is the primary documentation.
AUTHOR
Phil Maker <pjm@gnu.org>
NANA(1)
Check Out this Related Man Page
DL(3) Library Functions Manual DL(3)NAME
DL - generate logging messages in C and C++ using a debugger
SYNOPSIS
#include <DL.h>
DL(format,...)
DLG(guard,format,...)
DLH(handler,format,...)
DLP(param,format,...)
DLGH(guard,handler,format,...)
DLHP(handler,param,format,...)
DLGHP(guard,handler,param,format,...)
DESCRIPTION
The DL macro is used to print logging or debugging messages using a debugger. The nana(1) command generates a set of debugger commands
which are then sourced into gdb(1) to implement the logging. If you don't run the executable under gdb(1) then no tracing will occur. The
arguments are:
format,... - a printf(3) style argument list containing the message
guard - print only if the guard is true.
handler - the code that does the printing. Default: fprintf
param - a parameter to be passed off to the handler. Default: stdout
See nana.info for details on configuring the behaviour.
SEE ALSO nana-clg(1), nana(1), nana(3), I(3), DI(3), L(3), DL(3), Q(3) and nana.info.
The nana.info file is the primary documentation for this library.
AUTHOR
Phil Maker <pjm@gnu.org>
DL(3)
Hi all,
I need some info regarding which all debuggers are available for Pro-C code.
i am working on Solaris.
I had heard about 2 debuggers called 'Workshop' and GDB but then i am not sure.
pls help me out in this.
Regards
Manish (1 Reply)
Hello,
Does any one knows any tools or method to monitor users all activities on Solaris 8, including command and its result. Similar to 'script' ???
Thanks
nana (3 Replies)
Hi,
can somebody advise on a better multiprocess debugger?
I heard with gdb we face lots of problems in multiprocess scenario
currently i am using gdb debugger for a single process multithreaded project..
since i am supposed to work on a multiprocess now, i googled and came across... (1 Reply)
Can anyone tell me how/where to get the source code for the unix commands like "ls ,finger,cp....etc" commands . I
have tried very hard but failed so far.
Thanks
JAGDISH MACHHI (4 Replies)
I'm trying to use the GDB debugger and DDD to debug 64bit code. It seems that the AIX toolkit gdb version 6.0 works with 64bit code. But the ddd tool when running gdb gives the following errors :
Starting program: <my binary> <my params>
warning: "": not in executable format: There is an input... (2 Replies)
I am using scientific linux. In the directory user/project/Build, after I ran 'make' to compile and link all the cpp files,I had no problems. But then, when I went to directory user/run/run.sh, which runs the project binary in user/project/Build/bin/project, I get a segmentation fault error. In... (1 Reply)