Recent tracepoint changes in gdb

Roland Schwingel <[email protected]> Mon, 05 Nov 2012 12:43:03 +0100
Newsgroups gmane.comp.debugging.insight
Message-ID <[email protected]>
Hi...

Since November 3rd insight is no longer compiling against current gdb 
head sources. This is reasoned by changes to fix this bug:

http://sourceware.org/bugzilla/show_bug.cgi?id=14617

gdb removed the tracepoint observers. The single occurrance of 
observer_notify_tracepoint_modified() in breakpoint.c was moved to
observer_notify_breakpoint_modified().

I was investigating history...
There are 3 actions for dealing with tracepoints.
tracepoint_created
tracepoint_modified
tracepoint_deleted

I was searching gdb 6.8/7.0/7.3/head and I could only find
the tracepoint_modified action to be used ever.

Thus this leads me the conclusion that the WHOLE tracepoint
support in insight could be removed at all.

A quick fix to get insight to compile again would be to remove the 
observer attaching in gdbtk-hooks.c for the 3 tracepoint hooks but it 
might be cleaner to remove the existing tracepoint support at all.

Or am I missing something here?

Roland