Remove sanitized-out Magic Cap support, will never be released
[deliverable/binutils-gdb.git] / gdb / hppam3-nat.c
index 237782272e4d649ddbe643439225ab1110337094..95a66b05fefd30bb235a3424a52c5a5e880c710c 100644 (file)
@@ -15,7 +15,7 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
-Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #include "defs.h"
 #include "inferior.h"
@@ -41,7 +41,7 @@ fetch_inferior_registers (regno)
 {
   kern_return_t ret;
   thread_state_data_t state;
-  unsigned int stateCnt = HP800_THREAD_STATE_COUNT;
+  unsigned int stateCnt = TRACE_FLAVOR_SIZE;
   int index;
   
   if (! MACH_PORT_VALID (current_thread))
@@ -51,7 +51,7 @@ fetch_inferior_registers (regno)
     setup_thread (current_thread, 1);
 
   ret = thread_get_state (current_thread,
-                         HP800_THREAD_STATE,
+                         TRACE_FLAVOR,
                          state,
                          &stateCnt);
 
@@ -61,7 +61,7 @@ fetch_inferior_registers (regno)
   else
     {
       for (index = 0; index < NUM_REGS; index++) 
-       supply_register (index,&state[index]);
+       supply_register (index,(void*)&state[index]);
     }
 
   if (must_suspend_thread)
@@ -80,7 +80,7 @@ store_inferior_registers (regno)
 {
   kern_return_t ret;
   thread_state_data_t state;
-  unsigned int stateCnt = HP800_THREAD_STATE_COUNT;
+  unsigned int stateCnt = TRACE_FLAVOR_SIZE;
   register int index;
 
   if (! MACH_PORT_VALID (current_thread))
@@ -91,7 +91,7 @@ store_inferior_registers (regno)
 
   /* Fetch the state of the current thread */
   ret = thread_get_state (current_thread,
-                         HP800_THREAD_STATE,
+                         TRACE_FLAVOR,
                          state,
                          &stateCnt);
 
@@ -128,9 +128,9 @@ store_inferior_registers (regno)
   /* Write gdb's current view of register to the thread
    */
   ret = thread_set_state (current_thread,
-                         HP800_THREAD_STATE,
+                         TRACE_FLAVOR,
                          state,
-                         HP800_THREAD_STATE_COUNT);
+                         TRACE_FLAVOR_SIZE);
   
   if (ret != KERN_SUCCESS)
     warning ("store_inferior_registers (set): %s",
This page took 0.024125 seconds and 4 git commands to generate.