X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fia64-hpux-nat.c;h=2cd6f8942ac7e22ff8f951a4fa0123fc395129a4;hb=a493e3e2e429e4832b8620bd920ad07d0c2892d7;hp=32160aad61233558c25ba29bb13fe8522c4ccb88;hpb=c4de7027e3081f32895dc41d121a96e9e6717128;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ia64-hpux-nat.c b/gdb/ia64-hpux-nat.c index 32160aad61..2cd6f8942a 100644 --- a/gdb/ia64-hpux-nat.c +++ b/gdb/ia64-hpux-nat.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2010 Free Software Foundation, Inc. +/* Copyright (C) 2010, 2012 Free Software Foundation, Inc. This file is part of GDB. @@ -154,12 +154,12 @@ ia64_hpux_wait (struct target_ops *ops, ptid_t ptid, process it, and then resume the execution as if the event did not happen. */ if (ourstatus->kind == TARGET_WAITKIND_STOPPED - && ourstatus->value.sig == TARGET_SIGNAL_TRAP + && ourstatus->value.sig == GDB_SIGNAL_TRAP && ia64_hpux_at_dld_breakpoint_p (new_ptid)) { ia64_hpux_handle_dld_breakpoint (new_ptid); - target_resume (new_ptid, 0, TARGET_SIGNAL_0); + target_resume (new_ptid, 0, GDB_SIGNAL_0); ourstatus->kind = TARGET_WAITKIND_IGNORE; } @@ -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)); }