This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / sim / common / sim-watch.h
index c2e3142dfe3e66e60c105ffa5515bd3e1afbc68e..ad920d3ecf21e306c3bc5668f87c1e8df774e3c0 100644 (file)
@@ -55,7 +55,9 @@ typedef struct _sim_watchpoints {
 
   /* Pointer to the handler for interrupt watchpoints */
   /* FIXME: can this be done better? */
-  /* NOTE, interrupt is passed in as the target of the pointer! */
+  /* NOTE: For the DATA arg, the handler is passed a (char**) pointer
+     that is an offset into the INTERRUPT_NAMES vector.  Use
+     arithmetic to determine the interrupt-nr. */
   sim_event_handler *interrupt_handler;
 
   /* Pointer to a null terminated list of interrupt names */
This page took 0.023486 seconds and 4 git commands to generate.