diff options
author | Stu Grossman <grossman@cygnus> | 1992-04-24 14:52:26 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1992-04-24 14:52:26 +0000 |
commit | 07df483123735c08bbfd2dd328b53117ae0f1be7 (patch) | |
tree | b84bce3f5746f1fef8c7536bcc59ed9edeb5d6b3 | |
parent | 72b1aa3096f02ccc9a0cea8475a4236e0a84470e (diff) | |
download | gdb-07df483123735c08bbfd2dd328b53117ae0f1be7.zip gdb-07df483123735c08bbfd2dd328b53117ae0f1be7.tar.gz gdb-07df483123735c08bbfd2dd328b53117ae0f1be7.tar.bz2 |
* am29k-tdep.c: Update to use new calling conventions, and misc
symbol elements.
-rw-r--r-- | gdb/ChangeLog | 3 | ||||
-rw-r--r-- | gdb/am29k-tdep.c | 10 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6826534..5b1f9a1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,8 @@ Fri Apr 24 07:41:19 1992 Stu Grossman (grossman at cygnus.com) + * am29k-tdep.c: Update to use new calling conventions, and misc + symbol elements. + * m68k-pinsn.c (print_insn_arg): Make branch offsets be signed. Thu Apr 23 18:43:17 1992 Fred Fish (fnf@cygnus.com) diff --git a/gdb/am29k-tdep.c b/gdb/am29k-tdep.c index 1600bb4..3c9de829 100644 --- a/gdb/am29k-tdep.c +++ b/gdb/am29k-tdep.c @@ -66,7 +66,7 @@ examine_prologue (pc, rsize, msize, mfp_used) struct prologue_info *mi = 0; if (msymbol != NULL) - mi = (struct prologue_info *) msymbol -> misc_info; + mi = (struct prologue_info *) msymbol -> info; if (mi != 0) { @@ -252,7 +252,7 @@ examine_prologue (pc, rsize, msize, mfp_used) { /* Add a new cache entry. */ mi = (struct prologue_info *)xmalloc (sizeof (struct prologue_info)); - msymbol -> misc_info = (char *)mi; + msymbol -> info = (char *)mi; mi->rsize_valid = 0; mi->msize_valid = 0; mi->mfp_valid = 0; @@ -493,7 +493,7 @@ write_register_stack (memaddr, myaddr, actual_mem_addr) if (myaddr != NULL) write_register (regnum, *(long *)myaddr); if (actual_mem_addr != NULL) - *actual_mem_addr = NULL; + *actual_mem_addr = 0; } else { @@ -671,8 +671,8 @@ push_dummy_frame () for (i = 0; i < num_bytes; i += 4) { /* Note: word is in target byte order. */ - read_register_gen (LR0_REGNUM + i / 4, &word, 4); - write_memory (rfb - num_bytes + i, &word, 4); + read_register_gen (LR0_REGNUM + i / 4, (char *)&word); + write_memory (rfb - num_bytes + i, (char *)&word, 4); } } |