From e4688f2a2fa7bf93eb46ecf978c0bbfd2fe81a25 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 15 Apr 2011 09:34:20 +0100 Subject: [PATCH] Rename dump -> tracedump. Dump is a too generic name to be, for example, in /usr/bin/. --- .gitignore | 2 +- CMakeLists.txt | 4 ++-- README | 4 ++-- scripts/tracediff.sh | 6 +++--- dump.cpp => tracedump.cpp | 0 5 files changed, 8 insertions(+), 8 deletions(-) rename dump.cpp => tracedump.cpp (100%) diff --git a/.gitignore b/.gitignore index 0a45575..cdd2823 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 19ef467..fefd349 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 8091a41..8fc78a1 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 95ec5d2..01f3834 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 similarity index 100% rename from dump.cpp rename to tracedump.cpp -- 2.43.0