diff options
author | Tristan Gingold <gingold@adacore.com> | 2012-04-11 09:52:12 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2012-04-11 09:52:12 +0000 |
commit | 016b7430857b376e98b63c152e197330af212f49 (patch) | |
tree | 65607435efe2745a2164145180b7987f84f34a7e /gdb/i386-darwin-nat.c | |
parent | de0919f8d1d51fac7d4c108ae5d4a796f8828425 (diff) | |
download | gdb-016b7430857b376e98b63c152e197330af212f49.zip gdb-016b7430857b376e98b63c152e197330af212f49.tar.gz gdb-016b7430857b376e98b63c152e197330af212f49.tar.bz2 |
2012-04-11 Tristan Gingold <gingold@adacore.com>
* i386-darwin-nat.c (i386_darwin_fetch_inferior_registers): Fix
warning.
Diffstat (limited to 'gdb/i386-darwin-nat.c')
-rw-r--r-- | gdb/i386-darwin-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-darwin-nat.c b/gdb/i386-darwin-nat.c index 1a757e4..6afbbd0 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); |