aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Metzler <jmetzler@cygnus>1998-06-18 22:47:43 +0000
committerJohn Metzler <jmetzler@cygnus>1998-06-18 22:47:43 +0000
commit7648738c81e02f9157398426fcf2d6c394f849f3 (patch)
treeeee762435f5e4b9581bf14da7a62abf73ece5cdf
parent8b023c48d55243af208e234b057a4643ed86f059 (diff)
downloadgdb-7648738c81e02f9157398426fcf2d6c394f849f3.zip
gdb-7648738c81e02f9157398426fcf2d6c394f849f3.tar.gz
gdb-7648738c81e02f9157398426fcf2d6c394f849f3.tar.bz2
Fix compile errors in set_mips_isa_type
-rw-r--r--opcodes/mips-dis.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index b686d23..52efafe 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -383,7 +383,9 @@ print_insn_arg (d, l, pc, info)
static
void set_mips_isa_type (int mach, int * isa, int *cputype)
{
- switch (info->mach)
+ int target_processor = 0 ;
+ int mips_isa = 0 ;
+ switch (mach)
{
/* start-sanitize-tx19 */
case bfd_mach_mips1900:
@@ -479,7 +481,6 @@ void set_mips_isa_type (int mach, int * isa, int *cputype)
}
*isa = mips_isa ;
*cputype = target_processor ;
-
}
#endif /* symbol table available */