mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-08 07:28:13 +01:00
Fix a handful of comment spelling errors (Issue 385)
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@682 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
bb87ebd809
commit
9fc5812260
4 changed files with 7 additions and 7 deletions
|
|
@ -140,7 +140,7 @@ static void FixAddress(void *obj_base) {
|
|||
sections[i].sh_offset += base;
|
||||
}
|
||||
|
||||
// Find the prefered loading address of the binary.
|
||||
// Find the preferred loading address of the binary.
|
||||
static ElfW(Addr) GetLoadingAddress(const ElfW(Phdr) *program_headers,
|
||||
int nheader) {
|
||||
for (int i = 0; i < nheader; ++i) {
|
||||
|
|
@ -466,7 +466,7 @@ class LoadSymbolsInfo {
|
|||
}
|
||||
}
|
||||
|
||||
// We expect the ELF file and linked debug file to have the same prefered
|
||||
// We expect the ELF file and linked debug file to have the same preferred
|
||||
// loading address.
|
||||
void set_loading_addr(ElfW(Addr) addr, const std::string &filename) {
|
||||
if (!has_loading_addr_) {
|
||||
|
|
@ -503,7 +503,7 @@ class LoadSymbolsInfo {
|
|||
|
||||
bool has_loading_addr_; // Indicate if LOADING_ADDR_ is valid.
|
||||
|
||||
ElfW(Addr) loading_addr_; // Saves the prefered loading address from the
|
||||
ElfW(Addr) loading_addr_; // Saves the preferred loading address from the
|
||||
// first call to LoadSymbols().
|
||||
|
||||
std::string loaded_file_; // Name of the file loaded from the first call to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue