diff options
author | Andrew Cagney <cagney@redhat.com> | 1998-03-11 12:18:39 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1998-03-11 12:18:39 +0000 |
commit | eefc25e592ff4681d6a9806e43cd2fc432721ccb (patch) | |
tree | 76b215564db81c86cb972a7ef5b521d967635acc /sim/mips | |
parent | 10572b6a43dcf96c17a10d515b113840dd0b1f7f (diff) | |
download | gdb-eefc25e592ff4681d6a9806e43cd2fc432721ccb.zip gdb-eefc25e592ff4681d6a9806e43cd2fc432721ccb.tar.gz gdb-eefc25e592ff4681d6a9806e43cd2fc432721ccb.tar.bz2 |
Allow more than just read, write and exec memory spaces in the core
module.
Diffstat (limited to 'sim/mips')
-rw-r--r-- | sim/mips/sky-pke.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/mips/sky-pke.h b/sim/mips/sky-pke.h index 8244ee5..d8b489e 100644 --- a/sim/mips/sky-pke.h +++ b/sim/mips/sky-pke.h @@ -408,7 +408,7 @@ struct pke_device do { \ sim_cpu* cpu = STATE_CPU(CURRENT_STATE, 0); \ unsigned_##size value = \ - sim_core_read_aligned_##size(cpu, CIA_GET(cpu), sim_core_read_map, \ + sim_core_read_aligned_##size(cpu, CIA_GET(cpu), read_map, \ (SIM_ADDR)(addr)); \ memcpy((unsigned_##size*) (data), (void*) & value, size); \ } while(0) @@ -417,7 +417,7 @@ struct pke_device do { sim_cpu* cpu = STATE_CPU(CURRENT_STATE, 0); \ unsigned_##size value; \ memcpy((void*) & value, (unsigned_##size*)(data), size); \ - sim_core_write_aligned_##size(cpu, CIA_GET(cpu), sim_core_write_map, \ + sim_core_write_aligned_##size(cpu, CIA_GET(cpu), write_map, \ (SIM_ADDR)(addr), value); \ if((me)->fifo_trace_file != NULL) \ { \ |