summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorThiago Jung Bauermann <bauerman@br.ibm.com>2008-05-03 23:24:17 +0000
committerThiago Jung Bauermann <bauerman@br.ibm.com>2008-05-03 23:24:17 +0000
commitadafbce2716ba84fb90aa37225bef83e43ed7f10 (patch)
tree7abf26cf1fa6cf74e7369ef5aa8258f7a827d502 /gdb
parentde6537c996e63a5cadaaba16ef13d4efcb2c9889 (diff)
downloadgdb-adafbce2716ba84fb90aa37225bef83e43ed7f10.tar.gz
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.
Diffstat (limited to 'gdb')
-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 6d67b1db595..885db4f4076 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 4e68f93db8f..965b1937898 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 2edb57fb324..4af3446713b 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 b90f976095b..3385bdb0f33 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 9ffafffb26f..3a35aa1b8ec 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 f59cbebac77..3658b0aca29 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 71b89339de2..669165fc447 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 deb7e02df6b..cfdd2a465ff 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 3f73e85c1c8..54d5261a3c9 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 d11f953ee50..e5a9a625ec0 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)