Most gdbserver tests pass now.

Change-Id: I14a8360d9cf2800ca5e6a44f7e58102b2baef719
This commit is contained in:
Tim Newsome 2017-02-05 18:00:05 -08:00
parent 9bab0782d3
commit d055f86552
5 changed files with 5309 additions and 2297 deletions

View File

@ -136,6 +136,8 @@ INTEL_IA32_SRC = \
x86_32_common.c
RISCV_SRC = \
riscv/riscv-011.c \
riscv/riscv-013.c \
riscv/riscv.c
noinst_HEADERS = \

View File

@ -5,6 +5,13 @@
#define S0 8
#define S1 9
/*
* Disabling the warning we get when some opcodes functions aren't used. Not
* every user of this file uses every function, and it doesn't make sense to
* make them global. I suppose they could be macros.
*/
#pragma GCC diagnostic ignored "-Wunused-function"
static uint32_t bits(uint32_t value, unsigned int hi, unsigned int lo) {
return (value >> lo) & ((1 << (hi+1-lo)) - 1);
}

2605
src/target/riscv/riscv-011.c Normal file

File diff suppressed because it is too large Load Diff

2605
src/target/riscv/riscv-013.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff