From 2c7df889b82de365727725ce224323c1627fc4d0 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 14 Jan 2011 13:53:01 +0000 Subject: fix ARI warnings introduced by ia64-hpux patches gdb/ChangeLog: * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing new-line at end of warning message. (ia64_hpux_store_register): Remove trailing new-line at end of error message. * ia64-hpux-tdep.c: Rephrase comment. * solib-ia64-hpux.c (struct dld_info): Change type of field dld_flags from "long long" to ULONGEST. --- gdb/ia64-hpux-nat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/ia64-hpux-nat.c') diff --git a/gdb/ia64-hpux-nat.c b/gdb/ia64-hpux-nat.c index 32160aad612..b5c8b805a11 100644 --- a/gdb/ia64-hpux-nat.c +++ b/gdb/ia64-hpux-nat.c @@ -252,7 +252,7 @@ ia64_hpux_fetch_register (struct regcache *regcache, int regnum) buf = alloca (len * sizeof (gdb_byte)); status = ia64_hpux_read_register_from_save_state_t (offset, buf, len); if (status < 0) - warning (_("Failed to read register value for %s.\n"), + warning (_("Failed to read register value for %s."), gdbarch_register_name (gdbarch, regnum)); regcache_raw_supply (regcache, regnum, buf); @@ -312,7 +312,7 @@ ia64_hpux_store_register (const struct regcache *regcache, int regnum) status = ia64_hpux_write_register_to_saved_state_t (offset, buf, len); if (status < 0) - error (_("failed to write register value for %s.\n"), + error (_("failed to write register value for %s."), gdbarch_register_name (gdbarch, regnum)); } -- cgit v1.2.1