From bb0ebb5df259016292ac66743bc1abe944ac35b3 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Mon, 26 Feb 2024 17:01:52 -0800 Subject: [PATCH] raddbgi prefix on breakpad converter --- build.bat | 22 +++++++++---------- project.4coder | 2 +- .../raddbgi_breakpad_from_pdb_main.c} | 8 +++---- 3 files changed, 16 insertions(+), 16 deletions(-) rename src/{breakpad_from_pdb/breakpad_from_pdb_main.c => raddbgi_breakpad_from_pdb/raddbgi_breakpad_from_pdb_main.c} (97%) diff --git a/build.bat b/build.bat index 06c265b2..348d870e 100644 --- a/build.bat +++ b/build.bat @@ -96,17 +96,17 @@ if not "%no_meta%"=="1" ( :: --- Build Everything (@build_targets) -------------------------------------- pushd build -if "%raddbg%"=="1" %compile% %gfx% ..\src\raddbg\raddbg_main.cpp %compile_link% %out%raddbg.exe || exit /b 1 -if "%raddbgi_from_pdb%"=="1" %compile% ..\src\raddbgi_from_pdb\raddbgi_from_pdb_main.c %compile_link% %out%raddbgi_from_pdb.exe || exit /b 1 -if "%raddbgi_from_dwarf%"=="1" %compile% ..\src\raddbgi_from_dwarf\raddbgi_from_dwarf.c %compile_link% %out%raddbgi_from_dwarf.exe || exit /b 1 -if "%raddbgi_dump%"=="1" %compile% ..\src\raddbgi_dump\raddbgi_dump_main.c %compile_link% %out%raddbgi_dump.exe || exit /b 1 -if "%breakpad_from_pdb%"=="1" %compile% ..\src\breakpad_from_pdb\breakpad_from_pdb_main.c %compile_link% %out%breakpad_from_pdb.exe || exit /b 1 -if "%ryan_scratch%"=="1" %compile% ..\src\scratch\ryan_scratch.c %compile_link% %out%ryan_scratch.exe || exit /b 1 -if "%cpp_tests%"=="1" %compile% ..\src\scratch\i_hate_c_plus_plus.cpp %compile_link% %out%cpp_tests.exe || exit /b 1 -if "%look_at_raddbg%"=="1" %compile% ..\src\scratch\look_at_raddbg.c %compile_link% %out%look_at_raddbg.exe || exit /b 1 -if "%mule_main%"=="1" del vc*.pdb mule*.pdb && %compile_release% %only_compile% ..\src\mule\mule_inline.cpp && %compile_release% %only_compile% ..\src\mule\mule_o2.cpp && %compile_debug% %EHsc% ..\src\mule\mule_main.cpp ..\src\mule\mule_c.c mule_inline.obj mule_o2.obj %compile_link% %out%mule_main.exe || exit /b 1 -if "%mule_module%"=="1" %compile% ..\src\mule\mule_module.cpp %compile_link% %link_dll% %out%mule_module.dll || exit /b 1 -if "%mule_hotload%"=="1" %compile% ..\src\mule\mule_hotload_main.c %compile_link% %out%mule_hotload.exe & %compile% ..\src\mule\mule_hotload_module_main.c %compile_link% %link_dll% %out%mule_hotload_module.dll || exit /b 1 +if "%raddbg%"=="1" %compile% %gfx% ..\src\raddbg\raddbg_main.cpp %compile_link% %out%raddbg.exe || exit /b 1 +if "%raddbgi_from_pdb%"=="1" %compile% ..\src\raddbgi_from_pdb\raddbgi_from_pdb_main.c %compile_link% %out%raddbgi_from_pdb.exe || exit /b 1 +if "%raddbgi_from_dwarf%"=="1" %compile% ..\src\raddbgi_from_dwarf\raddbgi_from_dwarf.c %compile_link% %out%raddbgi_from_dwarf.exe || exit /b 1 +if "%raddbgi_dump%"=="1" %compile% ..\src\raddbgi_dump\raddbgi_dump_main.c %compile_link% %out%raddbgi_dump.exe || exit /b 1 +if "%raddbgi_breakpad_from_pdb%"=="1" %compile% ..\src\raddbgi_breakpad_from_pdb\raddbgi_breakpad_from_pdb_main.c %compile_link% %out%raddbgi_breakpad_from_pdb.exe || exit /b 1 +if "%ryan_scratch%"=="1" %compile% ..\src\scratch\ryan_scratch.c %compile_link% %out%ryan_scratch.exe || exit /b 1 +if "%cpp_tests%"=="1" %compile% ..\src\scratch\i_hate_c_plus_plus.cpp %compile_link% %out%cpp_tests.exe || exit /b 1 +if "%look_at_raddbg%"=="1" %compile% ..\src\scratch\look_at_raddbg.c %compile_link% %out%look_at_raddbg.exe || exit /b 1 +if "%mule_main%"=="1" del vc*.pdb mule*.pdb && %compile_release% %only_compile% ..\src\mule\mule_inline.cpp && %compile_release% %only_compile% ..\src\mule\mule_o2.cpp && %compile_debug% %EHsc% ..\src\mule\mule_main.cpp ..\src\mule\mule_c.c mule_inline.obj mule_o2.obj %compile_link% %out%mule_main.exe || exit /b 1 +if "%mule_module%"=="1" %compile% ..\src\mule\mule_module.cpp %compile_link% %link_dll% %out%mule_module.dll || exit /b 1 +if "%mule_hotload%"=="1" %compile% ..\src\mule\mule_hotload_main.c %compile_link% %out%mule_hotload.exe & %compile% ..\src\mule\mule_hotload_module_main.c %compile_link% %link_dll% %out%mule_hotload_module.dll || exit /b 1 popd :: --- Unset ------------------------------------------------------------------ diff --git a/project.4coder b/project.4coder index 6083d5e2..e60b2c2a 100644 --- a/project.4coder +++ b/project.4coder @@ -47,7 +47,7 @@ commands = { .rjf_f1 = { - .win = "build breakpad_from_pdb telemetry release", + .win = "build raddbgi_breakpad_from_pdb telemetry release", .linux = "", .out = "*compilation*", .footer_panel = true, diff --git a/src/breakpad_from_pdb/breakpad_from_pdb_main.c b/src/raddbgi_breakpad_from_pdb/raddbgi_breakpad_from_pdb_main.c similarity index 97% rename from src/breakpad_from_pdb/breakpad_from_pdb_main.c rename to src/raddbgi_breakpad_from_pdb/raddbgi_breakpad_from_pdb_main.c index 09adf58c..35312932 100644 --- a/src/breakpad_from_pdb/breakpad_from_pdb_main.c +++ b/src/raddbgi_breakpad_from_pdb/raddbgi_breakpad_from_pdb_main.c @@ -5,7 +5,7 @@ #define BUILD_VERSION_MINOR 9 #define BUILD_VERSION_PATCH 8 #define BUILD_RELEASE_PHASE_STRING_LITERAL "ALPHA" -#define BUILD_TITLE "breakpad_from_pdb" +#define BUILD_TITLE "raddbgi_breakpad_from_pdb" #define BUILD_CONSOLE_INTERFACE 1 //////////////////////////////// @@ -206,11 +206,11 @@ entry_point(CmdLine *cmdline) //- rjf: display help if(do_help || user2convert->errors.node_count != 0) { - fprintf(stderr, "--- breakpad_from_pdb ---------------------------------------------------------\n\n"); + fprintf(stderr, "--- raddbgi_breakpad_from_pdb -------------------------------------------------\n\n"); fprintf(stderr, "This utility converts debug information from PDBs into the textual Breakpad\n"); - fprintf(stderr, "symbol information format, used for various external utilities. The following\n"); - fprintf(stderr, "arguments are accepted:\n\n"); + fprintf(stderr, "symbol information format, used for various external utilities, using the RAD\n"); + fprintf(stderr, "Debug Info conversion systems. The following arguments are accepted:\n\n"); fprintf(stderr, "--exe: [optional] Specifies the path of the executable file for which the\n"); fprintf(stderr, " debug info was generated.\n");