From: Jeff Law Date: Fri, 10 Jun 1994 16:43:52 +0000 (+0000) Subject: * hppa-tdep.c (target_read_pc, target_write_pc): Accept (and X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e9a3cde88977219807b6330978e74bf4f8d80751;p=binutils-gdb.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c5192288659..6eee38f1f01 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 6a0b7d830f6..34c4c47b67d 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -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);