mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2025-12-29 18:54:52 +01:00
Communicate OS and CPU to SymbolSupplier (#107). r=bryner
Interface change: moved a few fields around in ProcessState; added new arguments to Stackwalker and SymbolSupplier. http://groups.google.com/group/airbag-dev/browse_thread/thread/17e4a48ec3ede932 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@101 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
0ec76c7fad
commit
97d392dc4b
21 changed files with 308 additions and 127 deletions
|
|
@ -206,10 +206,11 @@ static bool PrintMinidumpProcess(const string &minidump_file,
|
|||
}
|
||||
|
||||
// Print OS and CPU information.
|
||||
string cpu = process_state.cpu();
|
||||
string cpu_info = process_state.cpu_info();
|
||||
printf("Operating system: %s\n", process_state.os().c_str());
|
||||
printf(" %s\n", process_state.os_version().c_str());
|
||||
string cpu = process_state.system_info()->cpu;
|
||||
string cpu_info = process_state.system_info()->cpu_info;
|
||||
printf("Operating system: %s\n", process_state.system_info()->os.c_str());
|
||||
printf(" %s\n",
|
||||
process_state.system_info()->os_version.c_str());
|
||||
printf("CPU: %s\n", cpu.c_str());
|
||||
if (!cpu_info.empty()) {
|
||||
// This field is optional.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue