diff options
author | Bruce Beare <bruce.j.beare@intel.com> | 2010-10-13 14:21:30 -0700 |
---|---|---|
committer | Bruce Beare <bruce.j.beare@intel.com> | 2010-11-29 11:03:48 -0800 |
commit | 849249064cae9c1bb23b0204b5d35b832567801e (patch) | |
tree | 46945159307ad0c7252aab2f986ae310c261ee0a /debuggerd/utility.h | |
parent | 1a15cb7e904a562b0120039816fce5b8e6d5b147 (diff) | |
download | system_core-849249064cae9c1bb23b0204b5d35b832567801e.tar.gz system_core-849249064cae9c1bb23b0204b5d35b832567801e.tar.bz2 system_core-849249064cae9c1bb23b0204b5d35b832567801e.zip |
debuggerd: Reorganize to facilitate IA commit
Change-Id: I22dd02daf617672fc0a8ba7e396017c57f17e26e
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Diffstat (limited to 'debuggerd/utility.h')
-rw-r--r-- | debuggerd/utility.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debuggerd/utility.h b/debuggerd/utility.h index 2ffdf5654..0682b8554 100644 --- a/debuggerd/utility.h +++ b/debuggerd/utility.h @@ -56,4 +56,11 @@ const char *map_to_name(mapinfo *mi, unsigned pc, const char* def); /* Log information onto the tombstone */ extern void _LOG(int tfd, bool in_tombstone_only, const char *fmt, ...); +#define LOG(fmt...) _LOG(-1, 0, fmt) +#if 0 +#define XLOG(fmt...) _LOG(-1, 0, fmt) +#else +#define XLOG(fmt...) do {} while(0) +#endif + #endif |