HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
+Wed Jun 21 13:24:41 1995 Jeff Law (law@snake.cs.utah.edu)
+
+ * hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
+ HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
+
Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
* monitor.c: Turn on caching.
Wed Jun 21 05:57:56 1995 Steve Chamberlain <sac@slash.cygnus.com>
* monitor.c: Turn on caching.
{
kern_return_t ret;
thread_state_data_t state;
{
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))
int index;
if (! MACH_PORT_VALID (current_thread))
setup_thread (current_thread, 1);
ret = thread_get_state (current_thread,
setup_thread (current_thread, 1);
ret = thread_get_state (current_thread,
else
{
for (index = 0; index < NUM_REGS; index++)
else
{
for (index = 0; index < NUM_REGS; index++)
- supply_register (index,&state[index]);
+ supply_register (index,(void*)&state[index]);
}
if (must_suspend_thread)
}
if (must_suspend_thread)
{
kern_return_t ret;
thread_state_data_t state;
{
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))
register int index;
if (! MACH_PORT_VALID (current_thread))
/* Fetch the state of the current thread */
ret = thread_get_state (current_thread,
/* Fetch the state of the current thread */
ret = thread_get_state (current_thread,
/* Write gdb's current view of register to the thread
*/
ret = thread_set_state (current_thread,
/* Write gdb's current view of register to the thread
*/
ret = thread_set_state (current_thread,
- HP800_THREAD_STATE_COUNT);
if (ret != KERN_SUCCESS)
warning ("store_inferior_registers (set): %s",
if (ret != KERN_SUCCESS)
warning ("store_inferior_registers (set): %s",