Skip to content

Commit

Permalink
fix typos in source files
Browse files Browse the repository at this point in the history
Correct some spelling errors in source comments and printed output.

Signed-off-by: Zachary T Welch <[email protected]>
  • Loading branch information
uwehermann authored and Zachary T Welch committed Nov 26, 2009
1 parent 0609803 commit 1240ae4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/server/gdb_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ static const char *DIGITS = "0123456789abcdef";
static void gdb_log_callback(void *priv, const char *file, unsigned line,
const char *function, const char *string);

/* number of gdb connections, mainly to supress gdb related debugging spam
/* number of gdb connections, mainly to suppress gdb related debugging spam
* in helper/log.c when no gdb connections are actually active */
int gdb_actual_connections;

Expand Down Expand Up @@ -568,7 +568,7 @@ int gdb_get_packet_inner(struct connection *connection, char *buffer, int *len)
break;
case '+':
/* gdb sends a dummy ack '+' at every remote connect - see remote_start_remote (remote.c)
* incase anyone tries to debug why they receive this warning every time */
* in case anyone tries to debug why they receive this warning every time */
LOG_WARNING("acknowledgment received, but no packet pending");
break;
case '-':
Expand Down Expand Up @@ -859,7 +859,7 @@ static int gdb_reg_pos(struct target *target, int pos, int len)
* register might be non-divisible by 8(a byte), in which
* case an entire byte is shown.
*
* NB! the format on the wire is the target endianess
* NB! the format on the wire is the target endianness
*
* The format of reg->value is little endian
*
Expand Down Expand Up @@ -2141,7 +2141,7 @@ int gdb_input_inner(struct connection *connection)
target_name(target));
break;
default:
/* ignore unkown packets */
/* ignore unknown packets */
LOG_DEBUG("ignoring 0x%2.2x packet", packet[0]);
gdb_put_packet(connection, NULL, 0);
break;
Expand Down Expand Up @@ -2320,7 +2320,7 @@ COMMAND_HANDLER(handle_gdb_breakpoint_override_command)
LOG_USER("force %s breakpoints", (gdb_breakpoint_override_type == BKPT_HARD)?"hard":"soft");
} else
{
LOG_USER("breakpoint type is not overriden");
LOG_USER("breakpoint type is not overridden");
}

return ERROR_OK;
Expand Down
4 changes: 2 additions & 2 deletions src/server/httpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ static void request_completed(void *cls, struct MHD_Connection *connection,
*con_cls = NULL;
}

/* append to said key in dictonary */
/* append to said key in dictionary */
static void append_key(struct httpd_request *r, const char *key,
const char *data, size_t off, size_t size)
{
Expand Down Expand Up @@ -388,7 +388,7 @@ static int ahc_echo_inner(void * cls, struct MHD_Connection * connection,
r->post = post;
Jim_SetVariableStr(interp, "httppostdata", Jim_NewDictObj(interp, NULL, 0));

/* fill in url query strings in dictonary */
/* fill in url query strings in dictionary */
MHD_get_connection_values(connection, MHD_GET_ARGUMENT_KIND,
record_arg, r);

Expand Down
2 changes: 1 addition & 1 deletion src/server/server.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ int server_loop(struct command_context *command_context)

while (!shutdown_openocd)
{
/* monitor sockets for acitvity */
/* monitor sockets for activity */
fd_max = 0;
FD_ZERO(&read_fds);

Expand Down

0 comments on commit 1240ae4

Please sign in to comment.