From 016b7430857b376e98b63c152e197330af212f49 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 11 Apr 2012 09:52:12 +0000 Subject: [PATCH] 2012-04-11 Tristan Gingold * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix warning. --- gdb/ChangeLog | 5 +++++ gdb/i386-darwin-nat.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c3f755eb77..20fd5735b3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-04-11 Tristan Gingold + + * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix + warning. + 2012-04-11 Siva Chandra Reddy New command 'explore' which helps explore values and types in diff --git a/gdb/i386-darwin-nat.c b/gdb/i386-darwin-nat.c index 1a757e4872..6afbbd0bec 100644 --- a/gdb/i386-darwin-nat.c +++ b/gdb/i386-darwin-nat.c @@ -71,7 +71,7 @@ i386_darwin_fetch_inferior_registers (struct target_ops *ops, { printf_unfiltered (_("Error calling thread_get_state for " "GP registers for thread 0x%lx\n"), - current_thread); + (unsigned long) current_thread); MACH_CHECK_ERROR (ret); } amd64_supply_native_gregset (regcache, &gp_regs.uts, -1); @@ -91,7 +91,7 @@ i386_darwin_fetch_inferior_registers (struct target_ops *ops, { printf_unfiltered (_("Error calling thread_get_state for " "float registers for thread 0x%lx\n"), - current_thread); + (unsigned long) current_thread); MACH_CHECK_ERROR (ret); } amd64_supply_fxsave (regcache, -1, &fp_regs.ufs.fs64.__fpu_fcw); -- 2.34.1