|
From: <sv...@va...> - 2005-06-18 02:25:56
|
Author: njn
Date: 2005-06-18 03:25:16 +0100 (Sat, 18 Jun 2005)
New Revision: 3928
Log:
Moved VG_BUGS_TO out of basic_types.h into libcassert.h.
Modified:
trunk/auxprogs/valgrind-listener.c
trunk/corecheck/cc_main.c
trunk/include/basic_types.h
trunk/include/pub_tool_libcassert.h
trunk/none/nl_main.c
Modified: trunk/auxprogs/valgrind-listener.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/auxprogs/valgrind-listener.c 2005-06-18 02:18:04 UTC (rev 3927)
+++ trunk/auxprogs/valgrind-listener.c 2005-06-18 02:25:16 UTC (rev 3928)
@@ -44,10 +44,9 @@
#include <sys/socket.h>
#include <netinet/in.h>
=20
-
-/* For VG_CLO_DEFAULT_LOGPORT and VG_BUGS_TO. */
#include "core.h"
-#include "pub_core_options.h"
+#include "pub_core_libcassert.h" // For VG_BUGS_TO
+#include "pub_core_options.h" // For VG_CLO_DEFAULT_LOGPORT
=20
=20
/*---------------------------------------------------------------*/
Modified: trunk/corecheck/cc_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/corecheck/cc_main.c 2005-06-18 02:18:04 UTC (rev 3927)
+++ trunk/corecheck/cc_main.c 2005-06-18 02:25:16 UTC (rev 3928)
@@ -30,6 +30,7 @@
*/
=20
#include "tool.h"
+#include "pub_tool_libcassert.h"
#include "pub_tool_tooliface.h"
=20
static void cc_post_clo_init(void)
Modified: trunk/include/basic_types.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/include/basic_types.h 2005-06-18 02:18:04 UTC (rev 3927)
+++ trunk/include/basic_types.h 2005-06-18 02:25:16 UTC (rev 3928)
@@ -101,13 +101,6 @@
}
SysRes;
=20
-/* ---------------------------------------------------------------------
- Where to send bug reports to.
- ------------------------------------------------------------------ */
-
-#define VG_BUGS_TO "www.valgrind.org"
-
-
#endif /* __BASIC_TYPES_H */
=20
/*--------------------------------------------------------------------*/
Modified: trunk/include/pub_tool_libcassert.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/include/pub_tool_libcassert.h 2005-06-18 02:18:04 UTC (rev 3927=
)
+++ trunk/include/pub_tool_libcassert.h 2005-06-18 02:25:16 UTC (rev 3928=
)
@@ -31,6 +31,9 @@
#ifndef __PUB_TOOL_LIBCBASSERT_H
#define __PUB_TOOL_LIBCBASSERT_H
=20
+// Where to send bug reports to.
+#define VG_BUGS_TO "www.valgrind.org"
+
#define tl_assert(expr) =
\
((void) ((expr) ? 0 : =
\
(VG_(assert_fail) (/*isCore?*/False, #expr, =
\
Modified: trunk/none/nl_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/nl_main.c 2005-06-18 02:18:04 UTC (rev 3927)
+++ trunk/none/nl_main.c 2005-06-18 02:25:16 UTC (rev 3928)
@@ -29,6 +29,7 @@
*/
=20
#include "tool.h"
+#include "pub_tool_libcassert.h"
#include "pub_tool_tooliface.h"
=20
static void nl_post_clo_init(void)
|