From: Keith Seitz <keiths@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: <gdb-patches@sources.redhat.com>
Subject: Re: [RFA] Update UI events for tracepoints
Date: Thu, 14 Jun 2001 10:10:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.33.0106141009361.27055-100000@makita.cygnus.com> (raw)
In-Reply-To: <3B27CF54.6070801@cygnus.com>
On Wed, 13 Jun 2001, Andrew Cagney wrote:
> BTW, I think deleting the old GDBtk only hooks should be an obvious fix :-)
Done.
Keith
ChangeLog
2001-06-14 Keith Seitz <keiths@redhat.com>
* tracepoint.c (trace_command): We now have tracepoint
events. Get rid of those ugly hooks.
(tracepoint_operation): Likewise.
(trace_pass_command): Likewise.
Patch
Index: tracepoint.c
===================================================================
RCS file: /cvs/src/src/gdb/tracepoint.c,v
retrieving revision 1.22
diff -u -p -r1.22 tracepoint.c
--- tracepoint.c 2001/06/11 16:05:24 1.22
+++ tracepoint.c 2001/06/14 17:06:43
@@ -424,10 +424,6 @@ trace_command (char *arg, int from_tty)
t->addr_string = savestring (addr_start, addr_end - addr_start);
trace_mention (t);
-
- /* Let the UI know of any additions */
- if (create_tracepoint_hook)
- create_tracepoint_hook (t);
}
if (sals.nelts > 1)
@@ -574,14 +570,10 @@ tracepoint_operation (struct tracepoint
{
case enable_op:
t->enabled = enabled;
- if (modify_tracepoint_hook)
- modify_tracepoint_hook (t);
tracepoint_modify_event (t->number);
break;
case disable_op:
t->enabled = disabled;
- if (modify_tracepoint_hook)
- modify_tracepoint_hook (t);
tracepoint_modify_event (t->number);
break;
case delete_op:
@@ -596,10 +588,6 @@ tracepoint_operation (struct tracepoint
break;
}
- /* Let the UI know of any deletions */
- if (delete_tracepoint_hook)
- delete_tracepoint_hook (t);
-
if (t->addr_string)
xfree (t->addr_string);
if (t->source_file)
@@ -745,8 +733,6 @@ trace_pass_command (char *args, int from
if (t1 == (struct tracepoint *) -1 || t1 == t2)
{
t2->pass_count = count;
- if (modify_tracepoint_hook)
- modify_tracepoint_hook (t2);
tracepoint_modify_event (t2->number);
if (from_tty)
printf_filtered ("Setting tracepoint %d's passcount to %d\n",
prev parent reply other threads:[~2001-06-14 10:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-29 12:38 Keith Seitz
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 [this message]
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.0106141009361.27055-100000@makita.cygnus.com \
--to=keiths@cygnus.com \
--cc=ac131313@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