]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
* interrupts.c (interrupts_reset): New function, setup interrupt
authorStephane Carrez <stcarrez@nerim.fr>
Thu, 7 Mar 2002 19:02:18 +0000 (19:02 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Thu, 7 Mar 2002 19:02:18 +0000 (19:02 +0000)
commitcc819e8de9e20c30109f4c433a5c9a418d85cede
treee0498f946a6d36e2fc0fd970751fcd9f163b8b65
parent27076bb4dba8e86e8d29c85d9964a1ce044e45a3
* interrupts.c (interrupts_reset): New function, setup interrupt
vector address according to cpu mode.
(interrupts_initialize): Move reset portion to the above.
(interrupt_names): New table to give a name to interrupts.
(idefs): Handle pulse accumulator interrupts.
(interrupts_info): Print the interrupt history.
(interrupt_option_handler): New function.
(interrupt_options): New table of options.
(interrupts_update_pending): Keep track of when interrupts are
raised and implement breakpoint-on-raise-interrupt.
(interrupts_process): Keep track of when interrupts are taken
and implement breakpoint-on-interrupt.
* interrupts.h (struct interrupt_history): Define.
(struct interrupt): Keep track of the interrupt history.
(interrupts_reset): Declare.
(interrupts_initialize): Update prototype.
* m68hc11_sim.c (cpu_reset): Reset interrupts.
(cpu_initialize): Cleanup.
sim/m68hc11/ChangeLog
sim/m68hc11/interrupts.c
sim/m68hc11/interrupts.h
sim/m68hc11/m68hc11_sim.c