/* s12z-dis.c -- Freescale S12Z disassembly
- Copyright (C) 2018-2019 Free Software Foundation, Inc.
+ Copyright (C) 2018-2020 Free Software Foundation, Inc.
This file is part of the GNU opcodes library.
{
struct mem_read_abstraction *mra = (struct mem_read_abstraction *) b;
- int status =
- (*mra->info->read_memory_func) (mra->memaddr + offset,
- bytes, n, mra->info);
-
- if (status != 0)
- {
- (*mra->info->memory_error_func) (status, mra->memaddr, mra->info);
- return -1;
- }
- return 0;
+ int status = (*mra->info->read_memory_func) (mra->memaddr + offset,
+ bytes, n, mra->info);
+ return status != 0 ? -1 : 0;
}
/* Start of disassembly file. */
else
(*mra.info->fprintf_func) (mra.info->stream, "%c",
shift_size_table[osize]);
-
}
}
}