diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-01-09 03:08:57 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-01-09 03:08:57 +0000 |
commit | 1777feb0fea5ec350a86eecf81f71ccc60d4cf6f (patch) | |
tree | 97ce9d2c58cc535d8fb1d7e68f71c333559d37b7 /gdb/i386-darwin-nat.c | |
parent | 0cb2acab06bd64fc0e9d4d053b3bfb85d959780f (diff) | |
download | gdb-1777feb0fea5ec350a86eecf81f71ccc60d4cf6f.zip gdb-1777feb0fea5ec350a86eecf81f71ccc60d4cf6f.tar.gz gdb-1777feb0fea5ec350a86eecf81f71ccc60d4cf6f.tar.bz2 |
2011-01-08 Michael Snyder <msnyder@vmware.com>
* h8300-tdep.c: Comment cleanup, mostly periods and spaces.
* hppa-hpux-tdep.c: Ditto.
* hppa-linux-nat.c: Ditto.
* hppa-linux-tdep.c: Ditto.
* hppanbsd-tdep.c: Ditto.
* hppa-tdep.c: Ditto.
* hppa-tdep.h: Ditto.
* hpux-thread.c: Ditto.
* i386-cygwin-tdep.c: Ditto.
* i386-darwin-nat.c: Ditto.
* i386gnu-nat.c: Ditto.
* i386-linux-nat.c: Ditto.
* i386-linux-tdep.c: Ditto.
* i386-nat.c: Ditto.
* i386-nat.h: Ditto.
* i386nbsd-tdep.c: Ditto.
* i386-sol2-nat.c: Ditto.
* i386-stub.c: Ditto.
* i386-tdep.c: Ditto.
* i386-tdep.h: Ditto.
* i387-tdep.c: Ditto.
* ia64-linux-nat.c: Ditto.
* ia64-linux-tdep.c: Ditto.
* ia64-tdep.c: Ditto.
* infcall.c: Ditto.
* infcall.h: Ditto.
* infcmd.c: Ditto.
* inferior.c: Ditto.
* inferior.h: Ditto.
* infloop.c: Ditto.
* inflow.c: Ditto.
* infrun.c: Ditto.
* interps.c: Ditto.
* interps.h: Ditto.
* iq2000-tdep.c: Ditto.
* irix5-nat.c: Ditto.
* jit.c: Ditto.
* jit.h: Ditto.
* jv-exp.y: Ditto.
* jv-lang.c: Ditto.
* jv-lang.h: Ditto.
* jv-typeprint.c: Ditto.
* jv-valprint.c: Ditto.
* language.c: Ditto.
* language.h: Ditto.
* linespec.c: Ditto.
* linux-fork.c: Ditto.
* linux-nat.c: Ditto.
* linux-thread-db.c: Ditto.
* lm32-tdep.c: Ditto.
Diffstat (limited to 'gdb/i386-darwin-nat.c')
-rw-r--r-- | gdb/i386-darwin-nat.c | 34 |
1 files changed, 25 insertions, 9 deletions
diff --git a/gdb/i386-darwin-nat.c b/gdb/i386-darwin-nat.c index 73cf128..a3d925f 100644 --- a/gdb/i386-darwin-nat.c +++ b/gdb/i386-darwin-nat.c @@ -69,7 +69,9 @@ i386_darwin_fetch_inferior_registers (struct target_ops *ops, &gp_count); if (ret != KERN_SUCCESS) { - printf_unfiltered (_("Error calling thread_get_state for GP registers for thread 0x%ulx"), current_thread); + printf_unfiltered (_("Error calling thread_get_state for " + "GP registers for thread 0x%ulx"), + current_thread); MACH_CHECK_ERROR (ret); } amd64_supply_native_gregset (regcache, &gp_regs.uts, -1); @@ -87,7 +89,9 @@ i386_darwin_fetch_inferior_registers (struct target_ops *ops, &fp_count); if (ret != KERN_SUCCESS) { - printf_unfiltered (_("Error calling thread_get_state for float registers for thread 0x%ulx"), current_thread); + printf_unfiltered (_("Error calling thread_get_state for " + "float registers for thread 0x%ulx"), + current_thread); MACH_CHECK_ERROR (ret); } amd64_supply_fxsave (regcache, -1, &fp_regs.ufs.fs64.__fpu_fcw); @@ -109,7 +113,9 @@ i386_darwin_fetch_inferior_registers (struct target_ops *ops, &gp_count); if (ret != KERN_SUCCESS) { - printf_unfiltered (_("Error calling thread_get_state for GP registers for thread 0x%ulx"), current_thread); + printf_unfiltered (_("Error calling thread_get_state for " + "GP registers for thread 0x%ulx"), + current_thread); MACH_CHECK_ERROR (ret); } for (i = 0; i < I386_NUM_GREGS; i++) @@ -132,7 +138,9 @@ i386_darwin_fetch_inferior_registers (struct target_ops *ops, &fp_count); if (ret != KERN_SUCCESS) { - printf_unfiltered (_("Error calling thread_get_state for float registers for thread 0x%ulx"), current_thread); + printf_unfiltered (_("Error calling thread_get_state for " + "float registers for thread 0x%ulx"), + current_thread); MACH_CHECK_ERROR (ret); } i387_supply_fxsave (regcache, -1, &fp_regs.__fpu_fcw); @@ -293,7 +301,9 @@ i386_darwin_dr_set (int regnum, uint32_t value) if (ret != KERN_SUCCESS) { - printf_unfiltered (_("Error reading debug registers thread 0x%x via thread_get_state\n"), (int) current_thread); + printf_unfiltered (_("Error reading debug registers " + "thread 0x%x via thread_get_state\n"), + (int) current_thread); MACH_CHECK_ERROR (ret); } @@ -330,7 +340,9 @@ i386_darwin_dr_set (int regnum, uint32_t value) if (ret != KERN_SUCCESS) { - printf_unfiltered (_("Error writing debug registers thread 0x%x via thread_get_state\n"), (int) current_thread); + printf_unfiltered (_("Error writing debug registers " + "thread 0x%x via thread_get_state\n"), + (int) current_thread); MACH_CHECK_ERROR (ret); } } @@ -355,7 +367,9 @@ i386_darwin_dr_get (int regnum) if (ret != KERN_SUCCESS) { - printf_unfiltered (_("Error reading debug registers thread 0x%x via thread_get_state\n"), (int) current_thread); + printf_unfiltered (_("Error reading debug registers " + "thread 0x%x via thread_get_state\n"), + (int) current_thread); MACH_CHECK_ERROR (ret); } @@ -542,7 +556,8 @@ darwin_set_sstep (thread_t thread, int enable) return; if ((regs.uts.ts32.__eflags & X86_EFLAGS_T) == bit) return; - regs.uts.ts32.__eflags = (regs.uts.ts32.__eflags & ~X86_EFLAGS_T) | bit; + regs.uts.ts32.__eflags + = (regs.uts.ts32.__eflags & ~X86_EFLAGS_T) | bit; kret = thread_set_state (thread, x86_THREAD_STATE, (thread_state_t) ®s, count); MACH_CHECK_ERROR (kret); @@ -557,7 +572,8 @@ darwin_set_sstep (thread_t thread, int enable) return; if ((regs.uts.ts64.__rflags & X86_EFLAGS_T) == bit) return; - regs.uts.ts64.__rflags = (regs.uts.ts64.__rflags & ~X86_EFLAGS_T) | bit; + regs.uts.ts64.__rflags + = (regs.uts.ts64.__rflags & ~X86_EFLAGS_T) | bit; kret = thread_set_state (thread, x86_THREAD_STATE, (thread_state_t) ®s, count); MACH_CHECK_ERROR (kret); |