aboutsummaryrefslogtreecommitdiff
path: root/gdb/am29k-tdep.c
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-13 03:00:28 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-13 03:00:28 +0000
commit17f7e032b8a1c73357196993177b05de8d2a04df (patch)
tree178841366fbd041be255e091d4e8738c9664df93 /gdb/am29k-tdep.c
parent2c346475aaae0db1d8026ca3a153c1c8a2760919 (diff)
downloadgdb-17f7e032b8a1c73357196993177b05de8d2a04df.zip
gdb-17f7e032b8a1c73357196993177b05de8d2a04df.tar.gz
gdb-17f7e032b8a1c73357196993177b05de8d2a04df.tar.bz2
Lint
Diffstat (limited to 'gdb/am29k-tdep.c')
-rw-r--r--gdb/am29k-tdep.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/am29k-tdep.c b/gdb/am29k-tdep.c
index 51bfb4b..33d16c8 100644
--- a/gdb/am29k-tdep.c
+++ b/gdb/am29k-tdep.c
@@ -383,10 +383,11 @@ init_extra_frame_info (fci)
/* Assume innermost frame. May produce strange results for "info frame"
but there isn't any way to tell the difference. */
init_frame_info (1, fci);
- else
- /* We're in get_prev_frame_info.
- Take care of everything in init_frame_pc. */
- ;
+ else {
+ /* We're in get_prev_frame_info.
+ Take care of everything in init_frame_pc. */
+ ;
+ }
}
void
@@ -455,7 +456,7 @@ read_register_stack (memaddr, myaddr, actual_mem_addr, lval)
if (lval != NULL)
*lval = lval_memory;
if (actual_mem_addr != NULL)
- *actual_mem_addr == memaddr;
+ *actual_mem_addr = memaddr;
}
}
@@ -500,7 +501,7 @@ write_register_stack (memaddr, myaddr, actual_mem_addr)
if (myaddr != NULL)
write_memory (memaddr, myaddr, 4);
if (actual_mem_addr != NULL)
- *actual_mem_addr == memaddr;
+ *actual_mem_addr = memaddr;
}
}