mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 22:08:41 +00:00
dump -> raddbgidump
This commit is contained in:
@@ -294,7 +294,7 @@ A list of the layers in the codebase and their associated namespaces is below:
|
|||||||
depend on `base`.
|
depend on `base`.
|
||||||
- `raddbgi_cons` (`RADDBGIC_`): Implements an API for constructing files of the
|
- `raddbgi_cons` (`RADDBGIC_`): Implements an API for constructing files of the
|
||||||
RADDBGI debug info file format.
|
RADDBGI debug info file format.
|
||||||
- `raddbgi_dump` (`DUMP_`): A dumper utility program for dumping
|
- `raddbgi_dump` (`RADDBGIDUMP_`): A dumper utility program for dumping
|
||||||
textualizations of RADDBGI debug info files.
|
textualizations of RADDBGI debug info files.
|
||||||
- `raddbgi_format` (`RADDBGI_`): Standalone types and helper functions for the
|
- `raddbgi_format` (`RADDBGI_`): Standalone types and helper functions for the
|
||||||
RADDBGI debug info file format. Does not depend on `base`.
|
RADDBGI debug info file format. Does not depend on `base`.
|
||||||
|
|||||||
@@ -18,9 +18,9 @@
|
|||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ Program Parameters Parser
|
//~ Program Parameters Parser
|
||||||
|
|
||||||
static DUMP_Params*
|
static RADDBGIDUMP_Params*
|
||||||
dump_params_from_cmd_line(Arena *arena, CmdLine *cmdline){
|
raddbgidump_params_from_cmd_line(Arena *arena, CmdLine *cmdline){
|
||||||
DUMP_Params *result = push_array(arena, DUMP_Params, 1);
|
RADDBGIDUMP_Params *result = push_array(arena, RADDBGIDUMP_Params, 1);
|
||||||
|
|
||||||
// get input raddbg
|
// get input raddbg
|
||||||
{
|
{
|
||||||
@@ -144,7 +144,7 @@ main(int argc, char **argv){
|
|||||||
String8List args = os_string_list_from_argcv(arena, argc, argv);
|
String8List args = os_string_list_from_argcv(arena, argc, argv);
|
||||||
CmdLine cmdline = cmd_line_from_string_list(arena, args);
|
CmdLine cmdline = cmd_line_from_string_list(arena, args);
|
||||||
|
|
||||||
DUMP_Params *params = dump_params_from_cmd_line(arena, &cmdline);
|
RADDBGIDUMP_Params *params = raddbgidump_params_from_cmd_line(arena, &cmdline);
|
||||||
|
|
||||||
// show input errors
|
// show input errors
|
||||||
if (params->errors.node_count > 0 &&
|
if (params->errors.node_count > 0 &&
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ Program Parameters Type
|
//~ Program Parameters Type
|
||||||
|
|
||||||
typedef struct DUMP_Params{
|
typedef struct RADDBGIDUMP_Params{
|
||||||
String8 input_name;
|
String8 input_name;
|
||||||
String8 input_data;
|
String8 input_data;
|
||||||
|
|
||||||
@@ -35,11 +35,11 @@ typedef struct DUMP_Params{
|
|||||||
B8 dump__last;
|
B8 dump__last;
|
||||||
|
|
||||||
String8List errors;
|
String8List errors;
|
||||||
} DUMP_Params;
|
} RADDBGIDUMP_Params;
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ Program Parameters Parser
|
//~ Program Parameters Parser
|
||||||
|
|
||||||
static DUMP_Params *dump_params_from_cmd_line(Arena *arena, CmdLine *cmdline);
|
static RADDBGIDUMP_Params *raddbgidump_params_from_cmd_line(Arena *arena, CmdLine *cmdline);
|
||||||
|
|
||||||
#endif //RADDBGI_DUMP_H
|
#endif //RADDBGI_DUMP_H
|
||||||
|
|||||||
Reference in New Issue
Block a user