summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jose.r.fonseca@gmail.com>2011-04-15 09:34:20 +0100
committerJosé Fonseca <jose.r.fonseca@gmail.com>2011-04-15 09:45:51 +0100
commite4688f2a2fa7bf93eb46ecf978c0bbfd2fe81a25 (patch)
treefbca972e21b5507e1331115dff22fa3a7bceb759
parente507979da438eda2c2bbf361c44238ed0891f8fa (diff)
Rename dump -> tracedump.
Dump is a too generic name to be, for example, in /usr/bin/.
-rw-r--r--.gitignore2
-rw-r--r--CMakeLists.txt4
-rw-r--r--README4
-rwxr-xr-xscripts/tracediff.sh6
-rw-r--r--tracedump.cpp (renamed from dump.cpp)0
5 files changed, 8 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index 0a455754..cdd2823e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,12 +28,12 @@ d3d10_1.cpp
d3d8.cpp
d3d9.cpp
ddraw.cpp
-dump
dxsdk
glproc.hpp
glretrace
glretrace_gl.cpp
glretrace_state.cpp
glxtrace.cpp
+tracedump
traces
wgltrace.cpp
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 19ef467f..fefd3494 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -209,8 +209,8 @@ endif (WIN32)
add_library (trace trace_model.cpp trace_parser.cpp ${os})
-add_executable (dump dump.cpp)
-target_link_libraries (dump trace)
+add_executable (tracedump tracedump.cpp)
+target_link_libraries (tracedump trace)
add_custom_command (
OUTPUT glretrace_gl.cpp
diff --git a/README b/README
index 8091a414..8fc78a1d 100644
--- a/README
+++ b/README
@@ -89,7 +89,7 @@ http://www.cmake.org/Wiki/CmakeMingw for detailed instructions.
* View the trace with
- /path/to/dump application.trace
+ /path/to/tracedump application.trace
* Replay the trace with
@@ -105,7 +105,7 @@ http://www.cmake.org/Wiki/CmakeMingw for detailed instructions.
* View the trace with
- /path/to/dump application.trace
+ /path/to/tracedump application.trace
* Replay the trace with
diff --git a/scripts/tracediff.sh b/scripts/tracediff.sh
index 95ec5d23..01f38340 100755
--- a/scripts/tracediff.sh
+++ b/scripts/tracediff.sh
@@ -26,13 +26,13 @@
set -e
-DUMP=${DUMP:-`dirname "$0"`/dump}
+TRACEDUMP=${TRACEDUMP:-`dirname "$0"`/tracedump}
-$DUMP
+$TRACEDUMP
stripdump () {
# http://www.theeggeadventure.com/wikimedia/index.php/Linux_Tips#Use_sed_to_remove_ANSI_colors
- $DUMP "$1" \
+ $TRACEDUMP "$1" \
| sed \
-e 's/\x1b\[[0-9]\{1,2\}\(;[0-9]\{1,2\}\)\{0,2\}m//g' \
-e 's/\r$//g' \
diff --git a/dump.cpp b/tracedump.cpp
index 22f62e36..22f62e36 100644
--- a/dump.cpp
+++ b/tracedump.cpp