[PATCH] New annotation for threads

Joel Brobecker brobecker@adacore.com
Fri May 2 05:50:00 GMT 2008


> 2008-05-02  Nick Roberts  <nickrob@snap.net.nz>
> 
> 	* annotate.c: Include observer.h.
> 	(annotate_new_thread): New function
> 	(_initialize_annotate): Register it in the new_thread observer.

This is pretty good. But because you have added a #include, you need
to update the dependencies for annotate.c in Makefile.in:

> annotate.o: annotate.c $(defs_h) $(annotate_h) $(value_h) $(target_h) \
>         $(gdbtypes_h) $(breakpoint_h)

Add: $(annotate_h) at then end of the line.

-- 
Joel



More information about the Gdb-patches mailing list