Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@cygnus.com>
To: <gdb-patches@sources.redhat.com>
Subject: [RFA] Update UI events for tracepoints
Date: Tue, 29 May 2001 12:38:00 -0000	[thread overview]
Message-ID: <Pine.GSO.4.33.0105291236410.20431-100000@ryobi.cygnus.com> (raw)

Hi,

Currently, the only ui events implemented in gdb-events.sh is breakpoint
stuff. Tracepoints would be a logical runner-up for someone just beginning
to tinker with this. :-)

Changes to tracepoint.c to follow after this.

Comments/approval?
Keith


ChangeLog:
2001-05-29  Keith Seitz  <keiths@redhat.com>

	* gdb-events.sh: Update copyright.
	Use xfree () instead of free ().
	(function_list): Add tracepoint events.
	* gdb-events.h: Regenerated.
	* gdb-events.c: Regenerated.

Patch:
Index: gdb-events.sh
===================================================================
RCS file: /cvs/src/src/gdb/gdb-events.sh,v
retrieving revision 1.5
diff -u -p -r1.5 gdb-events.sh
--- gdb-events.sh	2001/03/06 08:21:07	1.5
+++ gdb-events.sh	2001/05/29 19:14:55
@@ -1,7 +1,7 @@
 #!/bin/sh

 # User Interface Events.
-# Copyright 1999, 2000 Free Software Foundation, Inc.
+# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
 #
 # Contributed by Cygnus Solutions.
 #
@@ -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
@@ -109,7 +112,7 @@ copyright ()
 {
   cat <<EOF
 /* User Interface Events.
-   Copyright 1999 Free Software Foundation, Inc.
+   Copyright 1999, 2000, 2001 Free Software Foundation, Inc.

    Contributed by Cygnus Solutions.

@@ -488,7 +491,7 @@ gdb_events_deliver (struct gdb_events *v
     {
       struct event *event = delivering_events;
       delivering_events = event->next;
-      free (event);
+      xfree (event);
     }
   /* Process any pending events.  Because one of the deliveries could
      bail out we move everything off of the pending queue onto an
@@ -523,7 +526,7 @@ done
 cat <<EOF
         }
       delivering_events = event->next;
-      free (event);
+      xfree (event);
     }
 }
 EOF


             reply	other threads:[~2001-05-29 12:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-29 12:38 Keith Seitz [this message]
2001-06-06  6:06 ` Andrew Cagney
2001-06-06  7:49   ` [PATCH] Update UI events for tracepoints (was Re: [RFA] Update UIevents for tracepoints) Keith Seitz
2001-06-13 13:38 ` [RFA] Update UI events for tracepoints Andrew Cagney
2001-06-14 10:10   ` Keith Seitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.33.0105291236410.20431-100000@ryobi.cygnus.com \
    --to=keiths@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox