aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-07-01 15:36:18 +0000
committerPedro Alves <palves@redhat.com>2010-07-01 15:36:18 +0000
commitcce7e648b9fd2892a6493ca2dbba2314e78287dd (patch)
tree5e31a6907fc8cb73601c95939be75731ced68698
parentb65c7efe9761a99b77fa8b629b4f3cc5f916f4cf (diff)
downloadgdb-cce7e648b9fd2892a6493ca2dbba2314e78287dd.zip
gdb-cce7e648b9fd2892a6493ca2dbba2314e78287dd.tar.gz
gdb-cce7e648b9fd2892a6493ca2dbba2314e78287dd.tar.bz2
* breakpoint.c (update_watchpoint, _initialize_breakpoint): Remove
unnecessary space in string. * filesystem.c (_initialize_filesystem): Ditto. * frame.c (_initialize_frame): Ditto. * infcmd.c (step_once): Ditto. * infrun.c (_initialize_infrun): Ditto. * linux-nat.c (linux_child_follow_fork): Ditto. * maint.c (maintenance_deprecate): Ditto. * memattr.c (_initialize_mem): Ditto. * mips-tdep.c (_initialize_mips_tdep): Ditto. * monitor.c (monitor_open): Ditto. * procfs.c (procfs_xfer_memory): Ditto. * reverse.c (bookmarks_info): Ditto. * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs): Ditto. * stack.c (_initialize_stack): Ditto. * tracepoint.c (_initialize_tracepoint): Ditto. * xtensa-tdep.c (xtensa_supply_gregset, xtensa_regset_from_core_section): Ditto.
-rw-r--r--gdb/ChangeLog21
-rw-r--r--gdb/breakpoint.c4
-rw-r--r--gdb/filesystem.c14
-rw-r--r--gdb/frame.c2
-rw-r--r--gdb/infcmd.c2
-rw-r--r--gdb/infrun.c4
-rw-r--r--gdb/linux-nat.c2
-rw-r--r--gdb/maint.c4
-rw-r--r--gdb/memattr.c6
-rw-r--r--gdb/mips-tdep.c2
-rw-r--r--gdb/monitor.c2
-rw-r--r--gdb/procfs.c6
-rw-r--r--gdb/reverse.c2
-rw-r--r--gdb/sh64-tdep.c6
-rw-r--r--gdb/stack.c2
-rw-r--r--gdb/tracepoint.c6
-rw-r--r--gdb/xtensa-tdep.c4
17 files changed, 55 insertions, 34 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f6ac381..f6c8781 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,24 @@
+2010-07-01 Pedro Alves <pedro@codesourcery.com>
+
+ * breakpoint.c (update_watchpoint, _initialize_breakpoint): Remove
+ unnecessary space in string.
+ * filesystem.c (_initialize_filesystem): Ditto.
+ * frame.c (_initialize_frame): Ditto.
+ * infcmd.c (step_once): Ditto.
+ * infrun.c (_initialize_infrun): Ditto.
+ * linux-nat.c (linux_child_follow_fork): Ditto.
+ * maint.c (maintenance_deprecate): Ditto.
+ * memattr.c (_initialize_mem): Ditto.
+ * mips-tdep.c (_initialize_mips_tdep): Ditto.
+ * monitor.c (monitor_open): Ditto.
+ * procfs.c (procfs_xfer_memory): Ditto.
+ * reverse.c (bookmarks_info): Ditto.
+ * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs): Ditto.
+ * stack.c (_initialize_stack): Ditto.
+ * tracepoint.c (_initialize_tracepoint): Ditto.
+ * xtensa-tdep.c (xtensa_supply_gregset,
+ xtensa_regset_from_core_section): Ditto.
+
2010-07-01 Tom Tromey <tromey@redhat.com>
* value.h (struct lval_funcs) <check_any_valid>: Rename from
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 132a708..ea8f8ab 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -1584,7 +1584,7 @@ update_watchpoint (struct breakpoint *b, int reparse)
else if (!within_current_scope)
{
printf_filtered (_("\
-Watchpoint %d deleted because the program has left the block \n\
+Watchpoint %d deleted because the program has left the block\n\
in which its expression is valid.\n"),
b->number);
if (b->related_breakpoint)
@@ -12002,7 +12002,7 @@ if TPNUM is omitted, passcount refers to the last tracepoint defined."));
c = add_cmd ("breakpoints", class_breakpoint, save_breakpoints_command, _("\
Save current breakpoint definitions as a script.\n\
-This includes all types of breakpoints (breakpoints, watchpoints, \n\
+This includes all types of breakpoints (breakpoints, watchpoints,\n\
catchpoints, tracepoints). Use the 'source' command in another debug\n\
session to restore them."),
&save_cmdlist);
diff --git a/gdb/filesystem.c b/gdb/filesystem.c
index 38a597d..7f7157f 100644
--- a/gdb/filesystem.c
+++ b/gdb/filesystem.c
@@ -89,13 +89,13 @@ _initialize_filesystem (void)
Set assumed file system kind for target reported file names"), _("\
Show assumed file system kind for target reported file names"),
_("\
-If `unix', target file names (e.g., loaded shared library file names) \n\
-starting the forward slash (`/') character are considered absolute, \n\
-and the directory separator character is the forward slash (`/'). If \n\
-`dos-based', target file names starting with a drive letter followed \n\
-by a colon (e.g., `c:'), are also considered absolute, and the \n\
-backslash (`\\') is also considered a directory separator. Set to \n\
-`auto' (which is the default), to let GDB decide, based on its \n\
+If `unix', target file names (e.g., loaded shared library file names)\n\
+starting the forward slash (`/') character are considered absolute,\n\
+and the directory separator character is the forward slash (`/'). If\n\
+`dos-based', target file names starting with a drive letter followed\n\
+by a colon (e.g., `c:'), are also considered absolute, and the\n\
+backslash (`\\') is also considered a directory separator. Set to\n\
+`auto' (which is the default), to let GDB decide, based on its\n\
knowledge of the target operating system."),
NULL, /* setfunc */
show_target_file_system_kind_command,
diff --git a/gdb/frame.c b/gdb/frame.c
index d003c44..1c4bcca 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -2252,7 +2252,7 @@ Set whether backtraces should continue past the entry point of a program."),
Show whether backtraces should continue past the entry point of a program."),
_("\
Normally there are no callers beyond the entry point of a program, so GDB\n\
-will terminate the backtrace there. Set this variable if you need to see \n\
+will terminate the backtrace there. Set this variable if you need to see\n\
the rest of the stack trace."),
NULL,
show_backtrace_past_entry,
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 4a91a40..c4cdb06 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -1009,7 +1009,7 @@ step_once (int skip_subroutines, int single_inst, int count, int thread)
target_terminal_ours ();
printf_filtered (_("\
-Single stepping until exit from function %s, \n\
+Single stepping until exit from function %s,\n\
which has no line number information.\n"), name);
}
}
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 0f1e42c..57f2ab8 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -6531,7 +6531,7 @@ from 1-15 are allowed for compatibility with old versions of GDB.\n\
Numeric ranges may be specified with the form LOW-HIGH (e.g. 1-5).\n\
The special arg \"all\" is recognized to mean all signals except those\n\
used by the debugger, typically SIGTRAP and SIGINT.\n\
-Recognized actions include \"s\" (toggles between stop and nostop), \n\
+Recognized actions include \"s\" (toggles between stop and nostop),\n\
\"r\" (toggles between print and noprint), \"i\" (toggles between pass and \
nopass), \"Q\" (noprint)\n\
Stop means reenter debugger if this signal happens (implies print).\n\
@@ -6665,7 +6665,7 @@ An exec call replaces the program image of a process.\n\
\n\
follow-exec-mode can be:\n\
\n\
- new - the debugger creates a new inferior and rebinds the process \n\
+ new - the debugger creates a new inferior and rebinds the process\n\
to this new inferior. The program the process was running before\n\
the exec call can be restarted afterwards by restarting the original\n\
inferior.\n\
diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c
index 93ba8e2..201d804 100644
--- a/gdb/linux-nat.c
+++ b/gdb/linux-nat.c
@@ -679,7 +679,7 @@ linux_child_follow_fork (struct target_ops *ops, int follow_child)
in the foreground, the user will not be able to ctrl-c to get
back the terminal, effectively hanging the debug session. */
fprintf_filtered (gdb_stderr, _("\
-Can not resume the parent process over vfork in the foreground while \n\
+Can not resume the parent process over vfork in the foreground while\n\
holding the child stopped. Try \"set detach-on-fork\" or \
\"set schedule-multiple\".\n"));
return 1;
diff --git a/gdb/maint.c b/gdb/maint.c
index bdcf900..28fd610 100644
--- a/gdb/maint.c
+++ b/gdb/maint.c
@@ -536,8 +536,8 @@ maintenance_deprecate (char *args, int from_tty)
{
if (args == NULL || *args == '\0')
{
- printf_unfiltered (_("\"maintenance deprecate\" takes an argument, \n\
-the command you want to deprecate, and optionally the replacement command \n\
+ printf_unfiltered (_("\"maintenance deprecate\" takes an argument,\n\
+the command you want to deprecate, and optionally the replacement command\n\
enclosed in quotes.\n"));
}
diff --git a/gdb/memattr.c b/gdb/memattr.c
index 4284da4..1215ca9 100644
--- a/gdb/memattr.c
+++ b/gdb/memattr.c
@@ -730,9 +730,9 @@ _initialize_mem (void)
Define attributes for memory region or reset memory region handling to\n\
target-based.\n\
Usage: mem auto\n\
- mem <lo addr> <hi addr> [<mode> <width> <cache>], \n\
-where <mode> may be rw (read/write), ro (read-only) or wo (write-only), \n\
- <width> may be 8, 16, 32, or 64, and \n\
+ mem <lo addr> <hi addr> [<mode> <width> <cache>],\n\
+where <mode> may be rw (read/write), ro (read-only) or wo (write-only),\n\
+ <width> may be 8, 16, 32, or 64, and\n\
<cache> may be cache or nocache"));
add_cmd ("mem", class_vars, mem_enable_command, _("\
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index 6749c27..7e15041 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -6319,7 +6319,7 @@ search. The only need to set it is when debugging a stripped executable."),
&mask_address_var, _("\
Set zeroing of upper 32 bits of 64-bit addresses."), _("\
Show zeroing of upper 32 bits of 64-bit addresses."), _("\
-Use \"on\" to enable the masking, \"off\" to disable it and \"auto\" to \n\
+Use \"on\" to enable the masking, \"off\" to disable it and \"auto\" to\n\
allow GDB to determine the correct value."),
NULL, show_mask_address,
&setmipscmdlist, &showmipscmdlist);
diff --git a/gdb/monitor.c b/gdb/monitor.c
index c9df269..95e6a63 100644
--- a/gdb/monitor.c
+++ b/gdb/monitor.c
@@ -721,7 +721,7 @@ monitor_open (char *args, struct monitor_ops *mon_ops, int from_tty)
name = targ_ops->to_shortname;
if (!args)
- error (_("Use `target %s DEVICE-NAME' to use a serial port, or \n\
+ error (_("Use `target %s DEVICE-NAME' to use a serial port, or\n\
`target %s HOST-NAME:PORT-NUMBER' to use a network connection."), name, name);
target_preopen (from_tty);
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 10aaa48..97a87e3 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -4280,15 +4280,15 @@ procfs_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len, int dowrite,
if (dowrite)
{
#ifdef NEW_PROC_API
- PROCFS_NOTE ("write memory: ");
+ PROCFS_NOTE ("write memory:\n");
#else
- PROCFS_NOTE ("write memory: \n");
+ PROCFS_NOTE ("write memory:\n");
#endif
nbytes = write (pi->as_fd, myaddr, len);
}
else
{
- PROCFS_NOTE ("read memory: \n");
+ PROCFS_NOTE ("read memory:\n");
nbytes = read (pi->as_fd, myaddr, len);
}
if (nbytes < 0)
diff --git a/gdb/reverse.c b/gdb/reverse.c
index be8801f..4fd8a75 100644
--- a/gdb/reverse.c
+++ b/gdb/reverse.c
@@ -306,7 +306,7 @@ bookmarks_info (char *args, int from_tty)
gdbarch = get_regcache_arch (get_current_regcache ());
printf_filtered (_("Bookmark Address Opaque\n"));
- printf_filtered (_(" ID Data \n"));
+ printf_filtered (_(" ID Data\n"));
ALL_BOOKMARKS (b)
printf_filtered (" %d %s '%s'\n",
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c
index 6267541..8a64f97 100644
--- a/gdb/sh64-tdep.c
+++ b/gdb/sh64-tdep.c
@@ -1330,13 +1330,13 @@ sh64_show_media_regs (struct frame_info *frame)
int i;
printf_filtered
- ("PC=%s SR=%s \n",
+ ("PC=%s SR=%s\n",
phex (get_frame_register_unsigned (frame,
gdbarch_pc_regnum (gdbarch)), 8),
phex (get_frame_register_unsigned (frame, SR_REGNUM), 8));
printf_filtered
- ("SSR=%s SPC=%s \n",
+ ("SSR=%s SPC=%s\n",
phex (get_frame_register_unsigned (frame, SSR_REGNUM), 8),
phex (get_frame_register_unsigned (frame, SPC_REGNUM), 8));
printf_filtered
@@ -1383,7 +1383,7 @@ sh64_show_compact_regs (struct frame_info *frame)
int i;
printf_filtered
- ("PC=%s \n",
+ ("PC=%s\n",
phex (get_frame_register_unsigned (frame, PC_C_REGNUM), 8));
printf_filtered
diff --git a/gdb/stack.c b/gdb/stack.c
index 7941a67..830fd41 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2210,7 +2210,7 @@ Use of the 'full' qualifier also prints the values of the local variables.\n"));
{
add_com_alias ("t", "backtrace", class_stack, 0);
add_com ("T", class_stack, backtrace_full_command, _("\
-Print backtrace of all stack frames, or innermost COUNT frames \n\
+Print backtrace of all stack frames, or innermost COUNT frames\n\
and the values of the local variables.\n\
With a negative argument, print outermost -COUNT frames.\n\
Usage: T <count>\n"));
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 7b99b1c..28ba550 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -4452,7 +4452,7 @@ Usage: tfind range addr1,addr2"),
add_cmd ("line", class_trace, trace_find_line_command, _("\
Select a trace frame by source line.\n\
-Argument can be a line number (with optional source file), \n\
+Argument can be a line number (with optional source file),\n\
a function name, or '*' followed by an address.\n\
Default argument is 'the next source line that was traced'."),
&tfindlist);
@@ -4526,8 +4526,8 @@ Note: this command can only be used in a tracepoint \"actions\" list."));
add_com ("actions", class_trace, trace_actions_command, _("\
Specify the actions to be taken at a tracepoint.\n\
-Tracepoint actions may include collecting of specified data, \n\
-single-stepping, or enabling/disabling other tracepoints, \n\
+Tracepoint actions may include collecting of specified data,\n\
+single-stepping, or enabling/disabling other tracepoints,\n\
depending on target's capabilities."));
default_collect = xstrdup ("");
diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c
index 4153691..370b3ed 100644
--- a/gdb/xtensa-tdep.c
+++ b/gdb/xtensa-tdep.c
@@ -811,7 +811,7 @@ xtensa_supply_gregset (const struct regset *regset,
struct gdbarch *gdbarch = get_regcache_arch (rc);
int i;
- DEBUGTRACE ("xtensa_supply_gregset (..., regnum==%d, ...) \n", regnum);
+ DEBUGTRACE ("xtensa_supply_gregset (..., regnum==%d, ...)\n", regnum);
if (regnum == gdbarch_pc_regnum (gdbarch) || regnum == -1)
regcache_raw_supply (rc, gdbarch_pc_regnum (gdbarch), (char *) &regs->pc);
@@ -869,7 +869,7 @@ xtensa_regset_from_core_section (struct gdbarch *core_arch,
size_t sect_size)
{
DEBUGTRACE ("xtensa_regset_from_core_section "
- "(..., sect_name==\"%s\", sect_size==%x) \n",
+ "(..., sect_name==\"%s\", sect_size==%x)\n",
sect_name, (unsigned int) sect_size);
if (strcmp (sect_name, ".reg") == 0