This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Update UI events for tracepoints (was Re: [RFA] Update UIevents for tracepoints)


On Wed, 6 Jun 2001, Andrew Cagney wrote:

> Keith Seitz wrote:
> >
> > Comments/approval?
>
> Yes!  At last someone is looking at this!  Just do it as two separate
> commits.  The s/free/xfree/ change is pretty obvious and can separatly
> go straight in.

s/free/xfree committed separately.

Here's the info on the patch just committed for adding tracepoint events:

ChangeLog
2001-06-06  Keith Seitz  <keiths@redhat.com>

	* gdb-events.sh (function_list): Add tracepoint_create,
	tracepoint_delete, and tracepoint_modify events.
	* gdb-events.c: Regenerated.
	* gdb-events.h: Regenerated.

Patch
Index: gdb-events.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdb-events.sh,v
retrieving revision 1.6
diff -u -p -r1.6 gdb-events.sh
--- gdb-events.sh	2001/06/06 14:36:05	1.6
+++ gdb-events.sh	2001/06/06 14:44:00
@@ -61,6 +61,9 @@ function_list ()
 f:void:breakpoint_create:int b:b
 f:void:breakpoint_delete:int b:b
 f:void:breakpoint_modify:int b:b
+f:void:tracepoint_create:int number:number
+f:void:tracepoint_delete:int number:number
+f:void:tracepoint_modify:int number:number
 #*:void:annotate_starting_hook:void
 #*:void:annotate_stopped_hook:void
 #*:void:annotate_signalled_hook:void

> PS: I've wondered about renaming gdb-events.* to gdb-hooks.* but I don't
> care.

It seems to me that the file could  be used as hooks OR events. I've been
using them as hooks in Insight, but my expectation is to switch to using
an (external) event loop eventually.

Keith


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]