aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog13
-rw-r--r--gdb/cli/cli-decode.c2
-rw-r--r--gdb/doublest.c2
-rw-r--r--gdb/dwarf2-frame.c2
-rw-r--r--gdb/frame-unwind.h4
-rw-r--r--gdb/frame.c2
-rw-r--r--gdb/ppc-sysv-tdep.c2
-rw-r--r--gdb/symtab.h4
-rw-r--r--gdb/tramp-frame.h2
-rw-r--r--gdb/value.c2
10 files changed, 24 insertions, 11 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6d67b1d..885db4f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,16 @@
+2008-05-03 Luis Machado <luisgpm@br.ibm.com>
+ Thiago Jung Bauermann <bauerman@br.ibm.com>
+
+ * cli/cli-decode.c (lookup_cmd_1): Fix indentation.
+ * doublest.c (convert_typed_floating): Fix typo in comment.
+ * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
+ * frame-unwind.h (frame_sniffer_ftype): Likewise.
+ * frame.c (frame_unwind_address_in_block): Likewise.
+ * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Likewise.
+ * symtab.h (struct symbol): Likewise.
+ * tramp-frame.h (struct trad_frame_cache): Likewise.
+ * value.c (allocate_repeat_value): Likewise.
+
2008-05-03 Ulrich Weigand <uweigand@de.ibm.com>
* infrun.c (handle_inferior_event): Do not insert breakpoints at
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 4e68f93..965b193 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -1160,7 +1160,7 @@ lookup_cmd_1 (char **text, struct cmd_list_element *clist,
flags */
if (found->flags & DEPRECATED_WARN_USER)
- deprecated_cmd_warning (&line);
+ deprecated_cmd_warning (&line);
found = found->cmd_pointer;
}
/* If we found a prefix command, keep looking. */
diff --git a/gdb/doublest.c b/gdb/doublest.c
index 2edb57f..4af3446 100644
--- a/gdb/doublest.c
+++ b/gdb/doublest.c
@@ -940,7 +940,7 @@ convert_typed_floating (const void *from, const struct type *from_type,
else
{
/* The floating-point types don't match. The best we can do
- (aport from simulating the target FPU) is converting to the
+ (apart from simulating the target FPU) is converting to the
widest floating-point type supported by the host, and then
again to the desired type. */
DOUBLEST d;
diff --git a/gdb/dwarf2-frame.c b/gdb/dwarf2-frame.c
index b90f976..3385bdb 100644
--- a/gdb/dwarf2-frame.c
+++ b/gdb/dwarf2-frame.c
@@ -929,7 +929,7 @@ dwarf2_frame_cache (struct frame_info *this_frame, void **this_cache)
/* Then decode the insns in the FDE up to our target PC. */
execute_cfa_program (fde, fde->instructions, fde->end, this_frame, fs);
- /* Caclulate the CFA. */
+ /* Calculate the CFA. */
switch (fs->cfa_how)
{
case CFA_REG_OFFSET:
diff --git a/gdb/frame-unwind.h b/gdb/frame-unwind.h
index 9ffafff..3a35aa1 100644
--- a/gdb/frame-unwind.h
+++ b/gdb/frame-unwind.h
@@ -32,8 +32,8 @@ struct value;
/* The following unwind functions assume a chain of frames forming the
sequence: (outer) prev <-> this <-> next (inner). All the
- functions are called with called with the next frame's `struct
- frame_info' and and this frame's prologue cache.
+ functions are called with the next frame's `struct frame_info'
+ and this frame's prologue cache.
THIS frame's register values can be obtained by unwinding NEXT
frame's registers (a recursive operation).
diff --git a/gdb/frame.c b/gdb/frame.c
index f59cbeb..3658b0a 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -1535,7 +1535,7 @@ frame_unwind_address_in_block (struct frame_info *next_frame,
/* If THIS frame is not inner most (i.e., NEXT isn't the sentinel),
and NEXT is `normal' (i.e., not a sigtramp, dummy, ....) THIS
- frame's PC ends up pointing at the instruction fallowing the
+ frame's PC ends up pointing at the instruction following the
"call". Adjust that PC value so that it falls on the call
instruction (which, hopefully, falls within THIS frame's code
block). So far it's proved to be a very good approximation. See
diff --git a/gdb/ppc-sysv-tdep.c b/gdb/ppc-sysv-tdep.c
index 71b8933..669165f 100644
--- a/gdb/ppc-sysv-tdep.c
+++ b/gdb/ppc-sysv-tdep.c
@@ -939,7 +939,7 @@ ppc64_sysv_abi_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
{
/* During the first pass, GPARAM and VPARAM are more like
offsets (start address zero) than addresses. That way
- the accumulate the total stack space each region
+ they accumulate the total stack space each region
requires. */
gparam = 0;
vparam = 0;
diff --git a/gdb/symtab.h b/gdb/symtab.h
index deb7e02..cfdd2a4 100644
--- a/gdb/symtab.h
+++ b/gdb/symtab.h
@@ -630,7 +630,7 @@ struct symbol
const struct symbol_ops *ops;
/* Some symbols require additional information to be recorded on a
- per- symbol basis. Stash those values here. */
+ per-symbol basis. Stash those values here. */
union
{
@@ -639,7 +639,7 @@ struct symbol
/* An arbitrary data pointer. Note that this data must be
allocated using the same obstack as the symbol itself. */
/* So far it is only used by LOC_COMPUTED and LOC_COMPUTED_ARG to
- find the location location information. For a LOC_BLOCK symbol
+ find the location information. For a LOC_BLOCK symbol
for a function in a compilation unit compiled with DWARF 2
information, this is information used internally by the DWARF 2
code --- specifically, the location expression for the frame
diff --git a/gdb/tramp-frame.h b/gdb/tramp-frame.h
index 3f73e85..54d5261 100644
--- a/gdb/tramp-frame.h
+++ b/gdb/tramp-frame.h
@@ -34,7 +34,7 @@ struct trad_frame_cache;
The only way to identify a trampoline is to perform a brute force
examination of the instructions at and around the PC.
- This module provides a convent interface for performing that
+ This module provides a convenient interface for performing that
operation. */
/* A trampoline descriptor. */
diff --git a/gdb/value.c b/gdb/value.c
index d11f953..e5a9a62 100644
--- a/gdb/value.c
+++ b/gdb/value.c
@@ -240,7 +240,7 @@ allocate_value (struct type *type)
}
/* Allocate a value that has the correct length
- for COUNT repetitions type TYPE. */
+ for COUNT repetitions of type TYPE. */
struct value *
allocate_repeat_value (struct type *type, int count)