[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb stub



Hi,

i wanted to adapt an available gdb stub for lm32 for rtems (at first not
thread aware).

Does an gdb stub registers itself with all trap sources? If this is the
case, how and when does the stub pass the control to the original ISR?

I didn't find anything regarding this in the mips stub.
In mips_gdb_stub_install() it registers its own ISR with
rtems_interrupt_catch() but throws away the old ISR. So how does RTEMS
(with an activated stub) get the clock interrupt, for example?

Thanks,
  Michael