diff options
author | Jeff Law <law@redhat.com> | 1995-06-21 19:29:00 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1995-06-21 19:29:00 +0000 |
commit | b3a34d4fc035df8ca615dfe2e48accb0fb3a9e24 (patch) | |
tree | 4ac48e18d46aecf4e2492b919de5439825310adc /gdb/hppam3-nat.c | |
parent | c3a9b88e1e06ff8253a0919edd6dc91ebe64d83d (diff) | |
download | gdb-b3a34d4fc035df8ca615dfe2e48accb0fb3a9e24.zip gdb-b3a34d4fc035df8ca615dfe2e48accb0fb3a9e24.tar.gz gdb-b3a34d4fc035df8ca615dfe2e48accb0fb3a9e24.tar.bz2 |
* hppam3-nat.c: Change HP800_THREAD_STATE to TRACE_FLAVOR and
HP800_THREAD_STATE_COUNT to TRACE_FLAVOR_SIZE.
Diffstat (limited to 'gdb/hppam3-nat.c')
-rw-r--r-- | gdb/hppam3-nat.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/hppam3-nat.c b/gdb/hppam3-nat.c index 2377822..386b0d9 100644 --- a/gdb/hppam3-nat.c +++ b/gdb/hppam3-nat.c @@ -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", |