[svn:parrot] r47059 - in trunk: include/parrot src
fperrad at svn.parrot.org
fperrad at svn.parrot.org
Thu May 27 18:09:28 UTC 2010
Author: fperrad
Date: Thu May 27 18:09:27 2010
New Revision: 47059
URL: https://trac.parrot.org/parrot/changeset/47059
Log:
[win32] fix build of dynops debug
Modified:
trunk/include/parrot/debugger.h
trunk/src/debug.c
Modified: trunk/include/parrot/debugger.h
==============================================================================
--- trunk/include/parrot/debugger.h Thu May 27 16:28:32 2010 (r47058)
+++ trunk/include/parrot/debugger.h Thu May 27 18:09:27 2010 (r47059)
@@ -205,11 +205,20 @@
__attribute__nonnull__(1);
PARROT_EXPORT
+void PDB_backtrace(PARROT_INTERP)
+ __attribute__nonnull__(1);
+
+PARROT_EXPORT
void PDB_load_source(PARROT_INTERP, ARGIN(const char *command))
__attribute__nonnull__(1)
__attribute__nonnull__(2);
PARROT_EXPORT
+void PDB_print(PARROT_INTERP, ARGIN(const char *command))
+ __attribute__nonnull__(1)
+ __attribute__nonnull__(2);
+
+PARROT_EXPORT
void PDB_script_file(PARROT_INTERP, ARGIN(const char *command))
__attribute__nonnull__(1)
__attribute__nonnull__(2);
@@ -227,9 +236,6 @@
__attribute__nonnull__(1)
__attribute__nonnull__(2);
-void PDB_backtrace(PARROT_INTERP)
- __attribute__nonnull__(1);
-
PARROT_WARN_UNUSED_RESULT
char PDB_break(PARROT_INTERP)
__attribute__nonnull__(1);
@@ -330,10 +336,6 @@
void PDB_next(PARROT_INTERP, ARGIN_NULLOK(const char *command))
__attribute__nonnull__(1);
-void PDB_print(PARROT_INTERP, ARGIN(const char *command))
- __attribute__nonnull__(1)
- __attribute__nonnull__(2);
-
char PDB_program_end(PARROT_INTERP)
__attribute__nonnull__(1);
@@ -372,9 +374,14 @@
PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_Parrot_debugger_start __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
+#define ASSERT_ARGS_PDB_backtrace __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
+ PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_PDB_load_source __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp) \
, PARROT_ASSERT_ARG(command))
+#define ASSERT_ARGS_PDB_print __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
+ PARROT_ASSERT_ARG(interp) \
+ , PARROT_ASSERT_ARG(command))
#define ASSERT_ARGS_PDB_script_file __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp) \
, PARROT_ASSERT_ARG(command))
@@ -385,8 +392,6 @@
#define ASSERT_ARGS_PDB_assign __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp) \
, PARROT_ASSERT_ARG(command))
-#define ASSERT_ARGS_PDB_backtrace __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
- PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_PDB_break __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_PDB_check_condition __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
@@ -443,9 +448,6 @@
, PARROT_ASSERT_ARG(command))
#define ASSERT_ARGS_PDB_next __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
-#define ASSERT_ARGS_PDB_print __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
- PARROT_ASSERT_ARG(interp) \
- , PARROT_ASSERT_ARG(command))
#define ASSERT_ARGS_PDB_program_end __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
PARROT_ASSERT_ARG(interp))
#define ASSERT_ARGS_PDB_run_command __attribute__unused__ int _ASSERT_ARGS_CHECK = (\
Modified: trunk/src/debug.c
==============================================================================
--- trunk/src/debug.c Thu May 27 16:28:32 2010 (r47058)
+++ trunk/src/debug.c Thu May 27 18:09:27 2010 (r47059)
@@ -3071,6 +3071,7 @@
*/
+PARROT_EXPORT
void
PDB_print(PARROT_INTERP, ARGIN(const char *command))
{
@@ -3183,6 +3184,7 @@
*/
+PARROT_EXPORT
void
PDB_backtrace(PARROT_INTERP)
{
More information about the parrot-commits
mailing list