mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-12-23 13:55:38 +00:00
oops, committed accidentally
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@157 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
9a3263a670
commit
663b7904e4
|
@ -255,8 +255,7 @@ static void PrintModules(const CodeModules *modules) {
|
||||||
// PrintModulesMachineReadable outputs a list of loaded modules,
|
// PrintModulesMachineReadable outputs a list of loaded modules,
|
||||||
// one per line, in the following machine-readable pipe-delimited
|
// one per line, in the following machine-readable pipe-delimited
|
||||||
// text format:
|
// text format:
|
||||||
// Module|{Module Filename}|{Version}|{Debug Filename}|{Identifier}|
|
// Module|{Module Filename}|{Version}|{Base Address}|{Max Address}|{Main}
|
||||||
// {Base Address}|{Max Address}|{Main}
|
|
||||||
static void PrintModulesMachineReadable(const CodeModules *modules) {
|
static void PrintModulesMachineReadable(const CodeModules *modules) {
|
||||||
if (!modules)
|
if (!modules)
|
||||||
return;
|
return;
|
||||||
|
@ -273,12 +272,10 @@ static void PrintModulesMachineReadable(const CodeModules *modules) {
|
||||||
++module_sequence) {
|
++module_sequence) {
|
||||||
const CodeModule *module = modules->GetModuleAtSequence(module_sequence);
|
const CodeModule *module = modules->GetModuleAtSequence(module_sequence);
|
||||||
u_int64_t base_address = module->base_address();
|
u_int64_t base_address = module->base_address();
|
||||||
printf("Module%c%s%c%s%c%s%c%s%c0x%08llx%c0x%08llx%c%d\n",
|
printf("Module%c%s%c%s%c0x%08llx%c0x%08llx%c%d\n",
|
||||||
kOutputSeparator,
|
kOutputSeparator,
|
||||||
StripSeparator(PathnameStripper::File(module->code_file())).c_str(),
|
StripSeparator(PathnameStripper::File(module->code_file())).c_str(),
|
||||||
kOutputSeparator, StripSeparator(module->version()).c_str(),
|
kOutputSeparator, StripSeparator(module->version()).c_str(),
|
||||||
kOutputSeparator, StripSeparator(module->debug_file()).c_str(),
|
|
||||||
kOutputSeparator, StripSeparator(module->code_identifier()).c_str(),
|
|
||||||
kOutputSeparator, base_address,
|
kOutputSeparator, base_address,
|
||||||
kOutputSeparator, base_address + module->size() - 1,
|
kOutputSeparator, base_address + module->size() - 1,
|
||||||
kOutputSeparator, base_address == main_address ? 1 : 0);
|
kOutputSeparator, base_address == main_address ? 1 : 0);
|
||||||
|
|
Loading…
Reference in a new issue