asterisk/pbx
Kevin P. Fleming ae6008ef3a Change per-file debug and verbose levels to be per-module, the way
users expect them to work.

'core set debug' and 'core set verbose' can optionally change the
level for a specific filename; however, this is actually for a
specific source file name, not the module that source file is included
in. With examples like chan_sip, chan_iax2, chan_misdn and others
consisting of multiple source files, this will not lead to the
behavior that users expect. If they want to set the debug level for
chan_sip, they want it set for all of chan_sip, and not to have to
also set it for reqresp_parser and other files that comprise the
chan_sip module.

This patch changes this functionality to be module-name based instead
of file-name based.

To make this work, some Makefile modifications were required to ensure
that the AST_MODULE definition is present in each object file produced
for each module as well.

Review: https://reviewboard.asterisk.org/r/574/



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-23 14:22:27 +00:00
..
ael/ael-test fixed the regressions 2008-12-17 02:32:58 +00:00
Makefile Change per-file debug and verbose levels to be per-module, the way 2010-03-23 14:22:27 +00:00
dundi-parser.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
dundi-parser.h Merge another change from team/russell/events ... 2008-06-10 12:48:50 +00:00
pbx_ael.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
pbx_config.c Parse global variables or expressions in hint extensions 2009-12-04 17:15:47 +00:00
pbx_dundi.c Resolve a compiler warning on FreeBSD. 2010-03-20 11:39:39 +00:00
pbx_loopback.c AST-2009-005 2009-08-10 19:20:57 +00:00
pbx_lua.c Load pbx_lua with global symbols to allow linking with other lua libraries. 2009-11-25 15:42:48 +00:00
pbx_realtime.c More 'static' qualifiers on module global variables. 2009-06-15 17:34:30 +00:00
pbx_spool.c Expand codec bitfield from 32 bits to 64 bits. 2009-11-04 14:05:12 +00:00