summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2002-08-05 01:55:33 +0100
committerhv <hv@crypt.org>2002-08-12 11:57:17 +0000
commitd672126634c5e568812ed35d4c8ea53a9a55ee4c (patch)
tree945dc0356b4ee4a487d37b526ec251ffa716354b /perl.h
parent75ea820e56eb2905cb7fed3312e2bd10c18778d5 (diff)
downloadperl-d672126634c5e568812ed35d4c8ea53a9a55ee4c.tar.gz
add verbose stack display option, -Dvs
Message-id: <20020805005533.B26111@fdgroup.com> p4raw-id: //depot/perl@17718
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index dbc37584e3..5c13a7dae2 100644
--- a/perl.h
+++ b/perl.h
@@ -2429,7 +2429,8 @@ Gid_t getegid (void);
#define DEBUG_T_FLAG 0x00020000 /* 131072 */
#define DEBUG_R_FLAG 0x00040000 /* 262144 */
#define DEBUG_J_FLAG 0x00080000 /* 524288 */
-#define DEBUG_MASK 0x000FFFFF /* mask of all the standard flags */
+#define DEBUG_v_FLAG 0x00100000 /*1048576 */
+#define DEBUG_MASK 0x001FFFFF /* mask of all the standard flags */
#define DEBUG_DB_RECURSE_FLAG 0x40000000
#define DEBUG_TOP_FLAG 0x80000000 /* XXX what's this for ??? Signal
@@ -2455,6 +2456,7 @@ Gid_t getegid (void);
# define DEBUG_T_TEST_ (PL_debug & DEBUG_T_FLAG)
# define DEBUG_R_TEST_ (PL_debug & DEBUG_R_FLAG)
# define DEBUG_J_TEST_ (PL_debug & DEBUG_J_FLAG)
+# define DEBUG_v_TEST_ (PL_debug & DEBUG_v_FLAG)
#ifdef DEBUGGING
@@ -2481,6 +2483,7 @@ Gid_t getegid (void);
# define DEBUG_T_TEST DEBUG_T_TEST_
# define DEBUG_R_TEST DEBUG_R_TEST_
# define DEBUG_J_TEST DEBUG_J_TEST_
+# define DEBUG_v_TEST DEBUG_v_TEST_
# define DEB(a) a
# define DEBUG(a) if (PL_debug) a
@@ -2521,6 +2524,7 @@ Gid_t getegid (void);
# define DEBUG_T(a) DEBUG__(DEBUG_T_TEST, a)
# define DEBUG_R(a) DEBUG__(DEBUG_R_TEST, a)
+# define DEBUG_v(a) DEBUG__(DEBUG_v_TEST, a)
#else /* DEBUGGING */
@@ -2544,6 +2548,7 @@ Gid_t getegid (void);
# define DEBUG_T_TEST (0)
# define DEBUG_R_TEST (0)
# define DEBUG_J_TEST (0)
+# define DEBUG_v_TEST (0)
# define DEB(a)
# define DEBUG(a)
@@ -2566,6 +2571,7 @@ Gid_t getegid (void);
# define DEBUG_S(a)
# define DEBUG_T(a)
# define DEBUG_R(a)
+# define DEBUG_v(a)
#endif /* DEBUGGING */