aboutsummaryrefslogtreecommitdiff
path: root/src/processor
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor')
-rw-r--r--src/processor/minidump.cc2
-rw-r--r--src/processor/proc_maps_linux.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc
index 8042f014..02aa16b6 100644
--- a/src/processor/minidump.cc
+++ b/src/processor/minidump.cc
@@ -4004,7 +4004,7 @@ void MinidumpLinuxMaps::Print() {
BPLOG(ERROR) << "MinidumpLinuxMaps cannot print invalid data";
return;
}
- std::cout << GetPathname() << std::endl;
+ std::cout << region_.line << std::endl;
}
//
diff --git a/src/processor/proc_maps_linux.cc b/src/processor/proc_maps_linux.cc
index 72947286..3730acc3 100644
--- a/src/processor/proc_maps_linux.cc
+++ b/src/processor/proc_maps_linux.cc
@@ -94,6 +94,7 @@ bool ParseProcMaps(const std::string& input,
// Pushing then assigning saves us a string copy.
regions.push_back(region);
regions.back().path.assign(line + path_index);
+ regions.back().line.assign(line);
}
regions_out->swap(regions);