* hppa-tdep.c (target_read_pc, target_write_pc): Accept (and

ignore) a PID argument.
	(hppa_pop_frame): Pass a PID to target_write_pc.
	* config/pa/tm-hppa.h (TARGET_READ_PC, TARGET_WRITE_PC): Accept
	and pass through a PID argument.
	(target_read_pc, target_write_pc): Update prototypes.
This commit is contained in:
Jeff Law 1994-06-10 16:43:52 +00:00
parent ed50a13b4e
commit e9a3cde889
2 changed files with 35 additions and 3 deletions

View File

@ -1,3 +1,33 @@
Fri Jun 10 10:38:15 1994 Jeff Law (law@snake.cs.utah.edu)
* hppa-tdep.c (target_read_pc, target_write_pc): Accept (and
ignore) a PID argument.
(hppa_pop_frame): Pass a PID to target_write_pc.
* config/pa/tm-hppa.h (TARGET_READ_PC, TARGET_WRITE_PC): Accept
and pass through a PID argument.
(target_read_pc, target_write_pc): Update prototypes.
Thu Jun 9 18:10:44 1994 Kung Hsu (kung@mexican.cygnus.com)
* Makefile.in: add new file sparclite-tdep.c.
* sparclite/Makefile.in: add new file sparclite-stub.c.
* sparclite/hw_breakpoint.note: note for SPARClite hardware breapoint
support.
* config/sparc/sparclite.mt: add sparclite-tdep.o.
* config/sparc/tm-sparclite.h: add hardware breakpoints support
defiines and code.
* sparclite-tdep.c: new file, contains hardware breakpoint support
code.
* sparclite-stub.c: new file, stub code that add support hardware
breakpoint support.
* breakpoint.c: add hardware breakpoint support.
* breakpoint.h: add new breakpoint type to support hardware
breakpoint.
* config/mips/nm-irix4.h: change interface for target dependent
code supporting watch point.
* config/pa/nm-hppab.h: change interface for target dependent
code supporting watch point.
Thu Jun 9 14:59:58 1994 Kung Hsu (kung@mexican.cygnus.com)
* remote-os9k.c (rombuf_command): fix a bug accepting rombug

View File

@ -1140,7 +1140,7 @@ hppa_pop_frame ()
/* Else use the value in %rp to set the new PC. */
else
target_write_pc (read_register (RP_REGNUM));
target_write_pc (read_register (RP_REGNUM), 0);
write_register (FP_REGNUM, read_memory_integer (fp, 4));
@ -1373,7 +1373,8 @@ hppa_fix_call_dummy (dummy, pc, fun, nargs, args, type, gcc_p)
/* Get the PC from %r31 if currently in a syscall. Also mask out privilege
bits. */
CORE_ADDR
target_read_pc ()
target_read_pc (pid)
int pid;
{
int flags = read_register (FLAGS_REGNUM);
@ -1385,8 +1386,9 @@ target_read_pc ()
/* Write out the PC. If currently in a syscall, then also write the new
PC value into %r31. */
void
target_write_pc (v)
target_write_pc (v, pid)
CORE_ADDR v;
int pid;
{
int flags = read_register (FLAGS_REGNUM);