From 859eb781d87c440545828bf39d8c1808c7107a2b Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Fri, 20 Dec 1991 18:56:37 +0000 Subject: [PATCH] Bugfix rfe and stbrx instrucionts. --- gdb/ChangeLog | 6 +++++- gdb/rs6k-opcode.h | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9fbf153c194..caeea1d10ea 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Fri Dec 20 10:55:36 1991 John Gilmore (gnu at cygnus.com) + + * rs6k-opcode.h: Bugfix sfe and stbrx. By Al Kossow. + Wed Dec 18 17:09:06 1991 Stu Grossman (grossman at cygnus.com) * command.h, defs.h, eval.h, expression.h, remote-sa.sparc.c, @@ -50,7 +54,7 @@ Fri Dec 13 20:11:26 1991 John Gilmore (gnu at cygnus.com) (eb_create_inferior): New fn, from eb_start and nindy_create_inferior. (eb_close): Only use log_file if nonzero. - (eb_xfer_memory): If not writing, then read! + (eb_xfer_inferior_memory): If not writing, then read! (eb_read_inferior_memory, eb_write_inferior_memory): Return length. (eb_kill): A new no-op. (eb_mourn_inferior): Remove breakpoints, then generically weep. diff --git a/gdb/rs6k-opcode.h b/gdb/rs6k-opcode.h index 14bf8e11eab..ec2832a2490 100755 --- a/gdb/rs6k-opcode.h +++ b/gdb/rs6k-opcode.h @@ -108,7 +108,7 @@ struct rs6000_insn rs6k_ops [] = { {"and", ".", "x", 31, 28, {RA,RS,RB,0} }, {"maskg", ".", "x", 31, 29, {RA,RS,RB,0} }, {"cmpl", 0, "x", 31, 32, {BF,RA,RB,0} }, -{"sfe", "o.", "xo", 31, 36, {RT,RA,RB,0} }, +{"sfe", "o.", "xo", 31, 136, {RT,RA,RB,0} }, {"lux", 0, "x", 31, 55, {RT,RA,RB,0} }, {"andc", ".", "x", 31, 60, {RA,RS,RB,0} }, {"mfmsr", 0, "x", 31, 83, {RT,0} }, @@ -166,7 +166,7 @@ struct rs6000_insn rs6k_ops [] = { {"lfdx", 0, "x", 31, 599, {FRT,RA,RB,0} }, {"lfdux", 0, "x", 31, 631, {FRT,RA,RB,0} }, {"stsx", 0, "x", 31, 661, {RS,RA,RB,0} }, -{"stbrx", 0, "x", 31, 662, {RA,RA,RB,0} }, +{"stbrx", 0, "x", 31, 662, {RS,RA,RB,0} }, {"stfsx", 0, "x", 31, 663, {FRS,RA,RB,0} }, {"srq", ".", "x", 31, 664, {RA,RS,RB,0} }, {"sre", ".", "x", 31, 665, {RA,RS,RB,0} }, -- 2.30.2