Display the contents of a .debug.macinfo section
[deliverable/binutils-gdb.git] / gdb / i386-nat.c
index e250b1bbbde31611746f4050a63be045a0b3f437..b221649aab0e7ac3ed25a114915eebfe7f6e52cb 100644 (file)
@@ -28,7 +28,7 @@
 
    This provides several functions for inserting and removing
    hardware-assisted breakpoints and watchpoints, testing if
-   one or more of the watchpoints triggerd and at what address,
+   one or more of the watchpoints triggered and at what address,
    checking whether a given region can be watched, etc.
 
    A target which wants to use these functions should define
@@ -356,8 +356,8 @@ i386_insert_aligned_watchpoint (CORE_ADDR addr, unsigned len_rw_bits)
   dr_control_mirror &= I386_DR_CONTROL_MASK;
 
   /* Finally, actually pass the info to the inferior.  */
-  I386_DR_LOW_SET_CONTROL (dr_control_mirror);
   I386_DR_LOW_SET_ADDR (i, addr);
+  I386_DR_LOW_SET_CONTROL (dr_control_mirror);
 
   return 0;
 }
@@ -384,8 +384,8 @@ i386_remove_aligned_watchpoint (CORE_ADDR addr, unsigned len_rw_bits)
              dr_mirror[i] = 0;
              I386_DR_DISABLE (i);
              /* Reset it in the inferior.  */
-             I386_DR_LOW_RESET_ADDR (i);
              I386_DR_LOW_SET_CONTROL (dr_control_mirror);
+             I386_DR_LOW_RESET_ADDR (i);
            }
          retval = 0;
        }
This page took 0.023299 seconds and 4 git commands to generate.