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
|
@ -105,7 +105,7 @@ class ExceptionHandler {
|
|||
|
||||
// In certain cases, a user may wish to handle the generation of the minidump
|
||||
// themselves. In this case, they can install a handler callback which is
|
||||
// called when a crash has occured. If this function returns true, no other
|
||||
// called when a crash has occurred. If this function returns true, no other
|
||||
// processing of occurs and the process will shortly be crashed. If this
|
||||
// returns false, the normal processing continues.
|
||||
typedef bool (*HandlerCallback)(const void* crash_context,
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
*
|
||||
* Author: Mark Mentovai
|
||||
* Split into its own file: Neal Sidhwaney */
|
||||
|
||||
|
||||
|
||||
#ifndef GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_SOLARIS_H__
|
||||
#define GOOGLE_BREAKPAD_COMMON_MINIDUMP_EXCEPTION_SOLARIS_H__
|
||||
|
@ -69,7 +69,7 @@ typedef enum {
|
|||
MD_EXCEPTION_CODE_SOL_SIGPWR = 19, /* power-fail restart */
|
||||
MD_EXCEPTION_CODE_SOL_SIGWINCH = 20, /* window size change */
|
||||
MD_EXCEPTION_CODE_SOL_SIGURG = 21, /* urgent socket condition */
|
||||
MD_EXCEPTION_CODE_SOL_SIGPOLL = 22, /* pollable event occured */
|
||||
MD_EXCEPTION_CODE_SOL_SIGPOLL = 22, /* pollable event occurred */
|
||||
MD_EXCEPTION_CODE_SOL_SIGIO = 22, /* socket I/O possible (SIGPOLL alias) */
|
||||
MD_EXCEPTION_CODE_SOL_SIGSTOP = 23, /* stop (cannot be caught or ignored) */
|
||||
MD_EXCEPTION_CODE_SOL_SIGTSTP = 24, /* user stop requested from tty */
|
||||
|
|
|
@ -189,7 +189,7 @@ TEST_F(MinidumpProcessorTest, TestCorruptMinidumps) {
|
|||
MinidumpProcessor processor(&supplier, &resolver);
|
||||
ProcessState state;
|
||||
|
||||
EXPECT_EQ(processor.Process("nonexistant minidump", &state),
|
||||
EXPECT_EQ(processor.Process("nonexistent minidump", &state),
|
||||
google_breakpad::PROCESS_ERROR_MINIDUMP_NOT_FOUND);
|
||||
|
||||
EXPECT_CALL(dump, path()).WillRepeatedly(Return("mock minidump"));
|
||||
|
|
Loading…
Reference in a new issue