From: Stu Grossman Date: Fri, 24 Apr 1992 14:52:26 +0000 (+0000) Subject: * am29k-tdep.c: Update to use new calling conventions, and misc X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07df483123735c08bbfd2dd328b53117ae0f1be7;p=binutils-gdb.git * am29k-tdep.c: Update to use new calling conventions, and misc symbol elements. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 682653469d1..5b1f9a1871a 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 1600bb48590..3c9de8293c3 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); } }