Author: cwittich
Date: Thu Jul 5 04:30:28 2007
New Revision: 27395
URL: http://svn.reactos.org/svn/reactos?rev=27395&view=rev
Log:
-let reladdr2line use raddr2line
use this tool when you get a trace without the imagebase like in <mouclass.sys:192d>
Modified:
trunk/tools/RosBE-Windows/Root/reladdr2line.cmd
Modified: trunk/tools/RosBE-Windows/Root/reladdr2line.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/reladdr2l…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/reladdr2line.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/reladdr2line.cmd Thu Jul 5 04:30:28 2007
@@ -11,4 +11,4 @@
for /f "tokens=2" %%i in ('"objdump -p %1 2>NUL | findstr ImageBase"') do SET baseaddr=0x%%i
set /a baseaddr += 0x%2
for /f %%i in ('"%ROSBEBASEDIR%\Tools\echoh %baseaddr%"') do set relbase=%%i
-addr2line --exe=%1 %relbase% 2>NUL
+raddr2line %1 %relbase% 2>NUL
Author: silverblade
Date: Wed Jul 4 22:55:23 2007
New Revision: 27393
URL: http://svn.reactos.org/svn/reactos?rev=27393&view=rev
Log:
Including <debug.h> in order to use DPRINT rather than my own homebrew
equivalent (using printf!) - this should prevent the un-necessary
verbose output when starting cmd.exe now ;)
Modified:
trunk/reactos/dll/win32/mmdrv/mmdrv.h
Modified: trunk/reactos/dll/win32/mmdrv/mmdrv.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/mmdrv/mmdrv.h?re…
==============================================================================
--- trunk/reactos/dll/win32/mmdrv/mmdrv.h (original)
+++ trunk/reactos/dll/win32/mmdrv/mmdrv.h Wed Jul 4 22:55:23 2007
@@ -18,8 +18,7 @@
#include <mmddk.h>
#include <stdio.h>
-#define DPRINT printf
-
+#include <debug.h>
/* Need to check these */
#define MAX_DEVICES 256
Author: dreimer
Date: Wed Jul 4 20:26:39 2007
New Revision: 27390
URL: http://svn.reactos.org/svn/reactos?rev=27390&view=rev
Log:
- Add a check if the Source Dir exists. If not, create it to be able to checkout to it.
- Try to fix "svn create". (At last it "works" now) Here I need your help. How can I find out if the folder is empty? *.* in a folder is always true when the folder exists....
Modified:
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Root/SVN.cmd
Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Wed Jul 4 20:26:39 2007
@@ -30,6 +30,9 @@
:: Save our initial directory (should be the ReactOS source directory)
::
set _ROSSOURCEDIR=%CD%
+if not exist "%_ROSSOURCEDIR%\." (
+ mkdir %_ROSSOURCEDIR%
+)
::
:: Check if our log directory exists, if it doesn't, create it.
Modified: trunk/tools/RosBE-Windows/Root/SVN.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/SVN.cmd?r…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/SVN.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/SVN.cmd Wed Jul 4 20:26:39 2007
@@ -29,12 +29,23 @@
%ROSBEBASEDIR%\Tools\svn.exe cleanup %_ROSSOURCEDIR%
goto :ExitSVN
)
+::
+:: Check if the Folder is empty. If not, output an error.
+::
+
if "%1" == "create" (
title Creating...
- if not exist "%_ROSSOURCEDIR%\." (
- mkdir %_ROSSOURCEDIR%
+ if exist "%_ROSSOURCEDIR%\.svn\." (
+ echo Folder already cotains a Reposority. Exiting
+ goto :ExitSVN
+ )
+ if exist "%_ROSSOURCEDIR%\*" (
+ echo Folder is not empty. Continuing is dangerous and can cause errors.
+ echo Press Strg+C to abort.
+ pause
goto :SVN
)
+ goto :SVN
)
if "%1" == "status" (
title Status
@@ -55,20 +66,6 @@
goto :ExitSVN
)
-::
-:: Check if the Folder is empty. If not, output an error.
-::
-if exist "%_ROSSOURCEDIR%\.svn\." (
- echo Folder already cotains a Reposority. Exiting
- goto :ExitSVN
-)
-if exist "%_ROSSOURCEDIR%\*.*" (
- echo Folder is not empty. Continuing is dangerous and can cause errors.
- echo Press Strg+C to abort.
- pause
- goto :SVN
-)
-
:SVN
%ROSBEBASEDIR%\Tools\svn.exe checkout svn://svn.reactos.org/reactos/trunk/reactos %_ROSSOURCEDIR%
goto :ExitSVN