projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2003-02-03 Michal Ludvig <mludvig@suse.cz>
[deliverable/binutils-gdb.git]
/
gdb
/
hppam3-nat.c
diff --git
a/gdb/hppam3-nat.c
b/gdb/hppam3-nat.c
index aa89379d4ee94c9a92ea738b794335a7bc1355bb..349df39dfb39c581591d4662fe047cc5a3194b83 100644
(file)
--- a/
gdb/hppam3-nat.c
+++ b/
gdb/hppam3-nat.c
@@
-1,5
+1,5
@@
/* Low level interface to HP800 running mach 4.0.
/* Low level interface to HP800 running mach 4.0.
- Copyright
(C) 1995
Free Software Foundation, Inc.
+ Copyright
1995, 2000, 2001
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-21,6
+21,7
@@
#include "defs.h"
#include "inferior.h"
#include "floatformat.h"
#include "defs.h"
#include "inferior.h"
#include "floatformat.h"
+#include "regcache.h"
#include <stdio.h>
#include <stdio.h>
@@
-37,8
+38,7
@@
*/
void
*/
void
-fetch_inferior_registers (regno)
- int regno;
+fetch_inferior_registers (int regno)
{
kern_return_t ret;
thread_state_data_t state;
{
kern_return_t ret;
thread_state_data_t state;
@@
-76,8
+76,7
@@
fetch_inferior_registers (regno)
* On mach3 all registers are always saved in one call.
*/
void
* On mach3 all registers are always saved in one call.
*/
void
-store_inferior_registers (regno)
- int regno;
+store_inferior_registers (int regno)
{
kern_return_t ret;
thread_state_data_t state;
{
kern_return_t ret;
thread_state_data_t state;
@@
-114,15
+113,15
@@
store_inferior_registers (regno)
*/
if (regno > 0 && regno < NUM_REGS)
{
*/
if (regno > 0 && regno < NUM_REGS)
{
- memcpy (&state[regno], ®isters[REGISTER_BYTE (regno)],
+ memcpy (&state[regno], &
deprecated_
registers[REGISTER_BYTE (regno)],
REGISTER_RAW_SIZE (regno));
}
else
{
for (index = 0; index < NUM_REGS; index++)
REGISTER_RAW_SIZE (regno));
}
else
{
for (index = 0; index < NUM_REGS; index++)
- memcpy (&state[index], ®isters[REGISTER_BYTE (index)],
+ memcpy (&state[index], &
deprecated_
registers[REGISTER_BYTE (index)],
REGISTER_RAW_SIZE (index));
REGISTER_RAW_SIZE (index));
-/* state[index] = registers[REGISTER_BYTE (index)]; */
+/* state[index] =
deprecated_
registers[REGISTER_BYTE (index)]; */
}
}
This page took
0.023879 seconds
and
4
git commands to generate.