+2011-03-16 Pierre Muller <muller@ics.u-strasbg.fr>
+
+ Fix ARI warnings about new lines at the end of messages, which
+ are unneeded as there is a new line added at the end of the message
+ automatically.
+ * darwin-nat.c (darwin_stop_inferior): Ditto.
+ * dec-thread.c (dec_thread_get_ada_task_ptid): Ditto.
+ * dfp.c (decimal_to_number): Ditto.
+ * exec.c (print_section_info): Ditto.
+ * i386-darwin-nat.c (darwin_set_sstep): Ditto.
+ * osdata.c (get_osdata): Ditto.
+ * record.c (bfdcore_write): Ditto.
+ * remote-mips.c (mips_readchar): Ditto.
+ * remote.c (read_ptid): Ditto.
+ * ser-mingw.c (ser_windows_raw): Ditto.
+ * tracepoint.c (add_local_symbols): Ditto.
+ * windows-nat.c (fake_create_process): Ditto.
+
2011-03-16 Tom Tromey <tromey@redhat.com>
* tracepoint.c (stop_tracing): Don't declare.
res = kill (inf->pid, SIGSTOP);
if (res != 0)
- warning (_("cannot kill: %s\n"), safe_strerror (errno));
+ warning (_("cannot kill: %s"), safe_strerror (errno));
/* Wait until the process is really stopped. */
while (1)
if (info->info.teb == (pthread_t) thread)
return ptid_build_from_info (*info);
- warning (_("Could not find thread id from THREAD = 0x%lx\n"), thread);
+ warning (_("Could not find thread id from THREAD = 0x%lx"), thread);
return inferior_ptid;
}
decimal128ToNumber ((decimal128 *) from, to);
break;
default:
- error (_("Unknown decimal floating point type.\n"));
+ error (_("Unknown decimal floating point type."));
break;
}
}
}
}
if (p == t->sections_end)
- warning (_("Cannot find section for the entry point of %s.\n"),
+ warning (_("Cannot find section for the entry point of %s."),
bfd_get_filename (abfd));
entry_point = gdbarch_addr_bits_remove (gdbarch,
break;
#endif
default:
- error (_("darwin_set_sstep: unknown flavour: %d\n"), regs.tsh.flavor);
+ error (_("darwin_set_sstep: unknown flavour: %d"), regs.tsh.flavor);
}
}
}
if (!osdata)
- error (_("Can not fetch data now.\n"));
+ error (_("Can not fetch data now."));
return osdata;
}
if (ret)
*offset += len;
else
- error (_("Failed to write %d bytes to core file %s ('%s').\n"),
+ error (_("Failed to write %d bytes to core file %s ('%s')."),
len, bfd_get_filename (obfd),
bfd_errmsg (bfd_get_error ()));
}
if (ch == SERIAL_TIMEOUT && timeout == -1) /* Watchdog went off. */
{
target_mourn_inferior ();
- error (_("Watchdog has expired. Target detached.\n"));
+ error (_("Watchdog has expired. Target detached."));
}
if (ch == SERIAL_EOF)
/* Multi-process ptid. */
pp = unpack_varlen_hex (p + 1, &pid);
if (*pp != '.')
- error (_("invalid remote ptid: %s\n"), p);
+ error (_("invalid remote ptid: %s"), p);
p = pp;
pp = unpack_varlen_hex (p + 1, &tid);
scb->current_timeout = 0;
if (SetCommState (h, &state) == 0)
- warning (_("SetCommState failed\n"));
+ warning (_("SetCommState failed"));
}
static int
block = block_for_pc (pc);
if (block == NULL)
{
- warning (_("Can't collect args; no symbol table info available.\n"));
+ warning (_("Can't collect args; no symbol table info available."));
return;
}
open_process_used = 1;
else
{
- error (_("OpenProcess call failed, GetLastError = %lud\n"),
+ error (_("OpenProcess call failed, GetLastError = %lud"),
GetLastError ());
/* We can not debug anything in that case. */
}