diff options
author | Jeff Law <law@redhat.com> | 1994-06-10 16:43:52 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-06-10 16:43:52 +0000 |
commit | e9a3cde88977219807b6330978e74bf4f8d80751 (patch) | |
tree | 5abf4cdccb84ddb14d9dca3ea906be770d40ea15 /gdb | |
parent | ed50a13b4e2cf5994df030d3bf582fe5528fdbf3 (diff) | |
download | gdb-e9a3cde88977219807b6330978e74bf4f8d80751.zip gdb-e9a3cde88977219807b6330978e74bf4f8d80751.tar.gz gdb-e9a3cde88977219807b6330978e74bf4f8d80751.tar.bz2 |
* 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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 30 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 8 |
2 files changed, 35 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c519228..6eee38f 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 6a0b7d8..34c4c47 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); |