Author: dreimer
Date: Tue Jul 10 16:56:57 2007
New Revision: 27560
URL:
http://svn.reactos.org/svn/reactos?rev=27560&view=rev
Log:
- Some more cleanup
- Added chdefdir to Help.
Modified:
trunk/tools/RosBE-Windows/Root/Help.cmd
trunk/tools/RosBE-Windows/Root/reladdr2line.cmd
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Help.cmd Tue Jul 10 16:56:57 2007
@@ -23,6 +23,8 @@
echo with the appropriate number.
echo basedir - Switch back to the ReactOS source directory.
echo.
+ echo chdefdir [OPTIONS] - Reconfigures the Default Source Folder for one
+ echo Session.
echo config [OPTIONS] - Configures the way, ReactOS will be built.
echo.
echo clean [logs] - Fully clean the ReactOS source directory and/or
@@ -79,6 +81,14 @@
echo Revision Number.
goto :EOF
)
+if "%1" == "chdefdir" (
+ echo Usage: chdefdir [OPTIONS]
+ echo Reconfigures the Default Source Folder for one Session. A Reset sets
+ echo back to the Default.
+ echo.
+ echo default - Sets back to the Default Source Folder without a restart.
+ goto :EOF
+)
if "%1" == "config" (
echo Usage: config [OPTIONS]
echo Creates a Configuration File, which tells RosBE how to build the Tree.
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 Tue Jul 10 16:56:57 2007
@@ -10,5 +10,5 @@
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
+for /f %%i in ('echoh %baseaddr%"') do set relbase=%%i
raddr2line %1 %relbase% 2>NUL