aboutsummaryrefslogtreecommitdiff
path: root/gdb/am29k-tdep.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-04-24 14:52:26 +0000
committerStu Grossman <grossman@cygnus>1992-04-24 14:52:26 +0000
commit07df483123735c08bbfd2dd328b53117ae0f1be7 (patch)
treeb84bce3f5746f1fef8c7536bcc59ed9edeb5d6b3 /gdb/am29k-tdep.c
parent72b1aa3096f02ccc9a0cea8475a4236e0a84470e (diff)
downloadgdb-07df483123735c08bbfd2dd328b53117ae0f1be7.zip
gdb-07df483123735c08bbfd2dd328b53117ae0f1be7.tar.gz
gdb-07df483123735c08bbfd2dd328b53117ae0f1be7.tar.bz2
* am29k-tdep.c: Update to use new calling conventions, and misc
symbol elements.
Diffstat (limited to 'gdb/am29k-tdep.c')
-rw-r--r--gdb/am29k-tdep.c10
1 files changed, 5 insertions, 5 deletions
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);
}
}