Author: sewardj Date: 2007-12-05 01:31:42 +0000 (Wed, 05 Dec 2007) New Revision: 7278
Log: Rename a header file. Added: trunk/exp-omega/exp-omega.h Removed: trunk/exp-omega/omega.h Modified: trunk/exp-omega/Makefile.am trunk/exp-omega/o_main.c trunk/exp-omega/o_replace_memops.c Modified: trunk/exp-omega/Makefile.am =================================================================== --- trunk/exp-omega/Makefile.am 2007-12-05 01:19:20 UTC (rev 7277) +++ trunk/exp-omega/Makefile.am 2007-12-05 01:31:42 UTC (rev 7278) @@ -130,7 +130,7 @@ oincludedir = $(includedir)/valgrind -oinclude_HEADERS = omega.h +oinclude_HEADERS = exp-omega.h noinst_HEADERS = Copied: trunk/exp-omega/exp-omega.h (from rev 7276, trunk/exp-omega/omega.h) =================================================================== --- trunk/exp-omega/exp-omega.h (rev 0) +++ trunk/exp-omega/exp-omega.h 2007-12-05 01:31:42 UTC (rev 7278) @@ -0,0 +1,61 @@ + +/*------------------------------------------------------------------------*/ +/*--- Definitions needing to be shared between source files. ---*/ +/*--- omega.h ---*/ +/*------------------------------------------------------------------------*/ + +/* + This file is part of Omega, a Valgrind tool for instantly detecting + memory leaks. + + Copyright (C) 2006-2007 Bryan "Brain Murders" Meredith + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307, USA. + + The GNU General Public License is contained in the file COPYING. + + The current maintainer is Rich Coe <[EMAIL PROTECTED]>. +*/ + +#ifndef __omega_h +#define __omega_h + +#include "valgrind.h" + +/* +** Setup client request calls so we can track entering and leaving main(). +*/ +typedef +enum { + VG_USERREQ__ENTERING_MAIN = VG_USERREQ_TOOL_BASE('O','M'), + VG_USERREQ__LEAVING_MAIN +} Vg_OmegaClientRequest; + +#define VALGRIND_DO_ENTER_MAIN \ + {unsigned int _qzz_res; \ + VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ + VG_USERREQ__ENTERING_MAIN, \ + 0, 0, 0, 0, 0); \ + } + +#define VALGRIND_DO_LEAVE_MAIN \ + {unsigned int _qzz_res; \ + VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ + VG_USERREQ__LEAVING_MAIN, \ + 0, 0, 0, 0, 0); \ + } + +#endif Modified: trunk/exp-omega/o_main.c =================================================================== --- trunk/exp-omega/o_main.c 2007-12-05 01:19:20 UTC (rev 7277) +++ trunk/exp-omega/o_main.c 2007-12-05 01:31:42 UTC (rev 7278) @@ -63,7 +63,7 @@ #include "libvex_guest_offsets.h" -#include "omega.h" +#include "exp-omega.h" /* ** A little sanity in a mad, mad world. Modified: trunk/exp-omega/o_replace_memops.c =================================================================== --- trunk/exp-omega/o_replace_memops.c 2007-12-05 01:19:20 UTC (rev 7277) +++ trunk/exp-omega/o_replace_memops.c 2007-12-05 01:31:42 UTC (rev 7278) @@ -37,7 +37,7 @@ #include <stdio.h> #include "pub_tool_basics.h" #include "valgrind.h" -#include "omega.h" +#include "exp-omega.h" /* --------------------------------------------------------------------- We have our own versions of these functions so that we can correctly Deleted: trunk/exp-omega/omega.h =================================================================== --- trunk/exp-omega/omega.h 2007-12-05 01:19:20 UTC (rev 7277) +++ trunk/exp-omega/omega.h 2007-12-05 01:31:42 UTC (rev 7278) @@ -1,61 +0,0 @@ - -/*------------------------------------------------------------------------*/ -/*--- Definitions needing to be shared between source files. ---*/ -/*--- omega.h ---*/ -/*------------------------------------------------------------------------*/ - -/* - This file is part of Omega, a Valgrind tool for instantly detecting - memory leaks. - - Copyright (C) 2006-2007 Bryan "Brain Murders" Meredith - - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. - - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA - 02111-1307, USA. - - The GNU General Public License is contained in the file COPYING. - - The current maintainer is Rich Coe <[EMAIL PROTECTED]>. -*/ - -#ifndef __omega_h -#define __omega_h - -#include "valgrind.h" - -/* -** Setup client request calls so we can track entering and leaving main(). -*/ -typedef -enum { - VG_USERREQ__ENTERING_MAIN = VG_USERREQ_TOOL_BASE('O','M'), - VG_USERREQ__LEAVING_MAIN -} Vg_OmegaClientRequest; - -#define VALGRIND_DO_ENTER_MAIN \ - {unsigned int _qzz_res; \ - VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ - VG_USERREQ__ENTERING_MAIN, \ - 0, 0, 0, 0, 0); \ - } - -#define VALGRIND_DO_LEAVE_MAIN \ - {unsigned int _qzz_res; \ - VALGRIND_DO_CLIENT_REQUEST(_qzz_res, 0, \ - VG_USERREQ__LEAVING_MAIN, \ - 0, 0, 0, 0, 0); \ - } - -#endif ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Valgrind-developers mailing list Valgrind-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-developers