aboutsummaryrefslogtreecommitdiff
path: root/gdb/am29k-pinsn.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1993-02-19 06:48:52 +0000
committerStu Grossman <grossman@cygnus>1993-02-19 06:48:52 +0000
commitb9163d1aaa910ee7b98ce1180742cb065e085c15 (patch)
tree8ba54e528b082242c8906f4b161ffbc284edf876 /gdb/am29k-pinsn.c
parentfb8ecc3dc66057e3a46c17c358695903fe9b69f2 (diff)
downloadgdb-b9163d1aaa910ee7b98ce1180742cb065e085c15.zip
gdb-b9163d1aaa910ee7b98ce1180742cb065e085c15.tar.gz
gdb-b9163d1aaa910ee7b98ce1180742cb065e085c15.tar.bz2
* am29k-pinsn.c (print_insn): Minor nits with const.
* am29k-tdep.c: More minor nits with arg types for supply_register, NULL vs. 0, read_register_gen, & reginv_com.
Diffstat (limited to 'gdb/am29k-pinsn.c')
-rw-r--r--gdb/am29k-pinsn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/am29k-pinsn.c b/gdb/am29k-pinsn.c
index 337bf90..36b7344 100644
--- a/gdb/am29k-pinsn.c
+++ b/gdb/am29k-pinsn.c
@@ -127,7 +127,7 @@ print_insn (memaddr, stream)
/* The four bytes of the instruction. */
unsigned char insn24, insn16, insn8, insn0;
- struct a29k_opcode *opcode;
+ struct a29k_opcode const * opcode;
read_memory (memaddr, &insn[0], 4);