X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gdb%2Fi386-gnu-nat.c;h=087445bc6269b53d3499191d07d90f53c0b949eb;hb=e661ef01e50a2cb38c006b0fe444a1b41bfc9400;hp=75ae641f8e06ca6c289c6eaa7a44629b893899ae;hpb=2d0a338c7c321de6c63be4e7e3f06ba12b783c63;p=external%2Fbinutils.git diff --git a/gdb/i386-gnu-nat.c b/gdb/i386-gnu-nat.c index 75ae641..087445b 100644 --- a/gdb/i386-gnu-nat.c +++ b/gdb/i386-gnu-nat.c @@ -117,7 +117,7 @@ i386_gnu_nat_target::fetch_registers (struct regcache *regcache, int regno) thread = inf_tid_to_thread (gnu_current_inf, ptid.lwp ()); if (!thread) error (_("Can't fetch registers from thread %s: No such thread"), - target_pid_to_str (ptid)); + target_pid_to_str (ptid).c_str ()); if (regno < I386_NUM_GREGS || regno == -1) { @@ -208,7 +208,7 @@ i386_gnu_nat_target::store_registers (struct regcache *regcache, int regno) thread = inf_tid_to_thread (gnu_current_inf, ptid.lwp ()); if (!thread) error (_("Couldn't store registers into thread %s: No such thread"), - target_pid_to_str (ptid)); + target_pid_to_str (ptid).c_str ()); if (regno < I386_NUM_GREGS || regno == -1) {