Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

yasm_dbgfmts(7) [debian man page]

YASM_DBGFMTS(7) 					   Yasm Supported Debug Formats 					   YASM_DBGFMTS(7)

NAME
yasm_dbgfmts - Yasm Supported Debugging Formats SYNOPSIS
yasm -g dbgfmt ... DESCRIPTION
The standard Yasm distribution includes a number of modules for different debugging formats. The debugging information is embedded into the object file. Use of a non-"null" debug format also causes Yasm to output all symbols to the object file (including local symbols). The debug format is selected on the yasm(1) command line by use of the -g dbgfmt command line option. CV8 The CV8 debug format is used by Microsoft Visual Studio 2005 (version 8.0) and is completely undocumented, although it bears strong similarities to earlier CodeView formats. Yasm's support for the CV8 debug format is currently limited to generating assembly-level line number information (to allow some level of source-level debugging). The CV8 debug information is stored in the .debug$S and .debug$T sections of the Win64 object file. DWARF2 The DWARF 2 debug format is a complex, well-documented standard for debugging information. It was created to overcome shortcomings in STABS, allowing for much more detailed and compact descriptions of data structures, data variable movement, and complex language structures such as in C++. The debugging information is stored in sections (just like normal program sections) in the object file. Yasm supports full pass-through of DWARF2 debugging information (e.g. from a C++ compiler), and can also generate assembly-level line number information. NULL
The "null" debug format is a placeholder; it adds no debugging information to the output file. STABS
The STABS debug format is a poorly documented, semi-standard format for debugging information in COFF and ELF object files. The debugging information is stored as part of the object file's symbol table and thus is limited in complexity and scope. Despite this, STABS is a common debugging format on older Unix and compatible systems, as well as DJGPP. SEE ALSO
yasm(1), yasm_objfmts(7) AUTHOR
Peter Johnson <peter@tortall.net> Author. COPYRIGHT
Copyright (C) 2006 Peter Johnson Yasm October 2006 YASM_DBGFMTS(7)

Check Out this Related Man Page

debug(3)							     net-snmp								  debug(3)

NAME
debug - Print out debugging information about the handler chain being called. Functions netsnmp_mib_handler * netsnmp_get_debug_handler (void) returns a debug handler that can be injected into a given handler chain. void debug_print_requests (netsnmp_request_info *requests) int netsnmp_debug_helper (netsnmp_mib_handler *handler, netsnmp_handler_registration *reginfo, netsnmp_agent_request_info *reqinfo, netsnmp_request_info *requests) void netsnmp_init_debug_helper (void) initializes the debug helper which then registers a debug handler as a run-time injectable handler for configuration file use. Detailed Description Print out debugging information about the handler chain being called. This is a useful module for run-time debugging of requests as the pass this handler in a calling chain. All debugging output is done via the standard debugging routines with a token name of 'helper:debug', so use the -Dhelper:debug command line flag to see the output when running the snmpd demon. It's not recommended you compile this into a handler chain during compile time, but instead use the 'injectHandler' token in the snmpd.conf file (or similar) to add it to the chain later: injectHandler debug my_module_name to see an example output, try: injectHandler debug mibII/system and then run snmpwalk on the 'system' group. Function Documentation netsnmp_mib_handler* netsnmp_get_debug_handler (void) returns a debug handler that can be injected into a given handler chain. Definition at line 44 of file debug_handler.c. void netsnmp_init_debug_helper (void) initializes the debug helper which then registers a debug handler as a run-time injectable handler for configuration file use. Definition at line 148 of file debug_handler.c. Author Generated automatically by Doxygen for net-snmp from the source code. Version 5.5 23 Sep 2009 debug(3)
Man Page