From: Keith Seitz <keiths@cygnus.com>
To: <gdb-patches@sources.redhat.com>
Cc: <rschiele@uni-mannheim.de>
Subject: [RFA/5.1] Update struct breakpoint and struct tracepoint (fwd)
Date: Tue, 21 Aug 2001 10:34:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.33.0108211032410.21831-100000@makita.cygnus.com> (raw)
Hi,
I would like to check this into the 5.1 branch. My thanks to Robert
Schiele (rschiele@uni-mannheim.de) for pointing out this omission.
Ok?
Keith
---------- Forwarded message ----------
Date: Thu, 2 Aug 2001 08:39:54 -0700 (PDT)
From: Keith Seitz <keiths@makita.cygnus.com>
To: Insight Maling List <insight@sources.redhat.com>
Subject: [PATCH] Update struct breakpoint and struct tracepoint
FYI
I have checked in the following patch which fixes build errors introduced
yesterday as a result of some breakpoint.h and tracepoint.h cleanups in
gdb.
Keith
ChangeLog
2001-08-02 Keith Seitz <keiths@redhat.com>
* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Update
with recent breakpoint structure changes in gdb.
(gdb_set_bp_addr): Likewise.
(gdb_get_tracepoint_info): Update with recent tracepoint
structure changes in gdb.
Patch
Index: generic/gdbtk-bp.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-bp.c,v
retrieving revision 1.8
diff -u -p -r1.8 gdbtk-bp.c
--- gdbtk-bp.c 2001/06/13 20:01:42 1.8
+++ gdbtk-bp.c 2001/08/02 15:19:23
@@ -343,7 +343,7 @@ gdb_get_breakpoint_info (ClientData clie
Tcl_ListObjAppendElement (NULL, result_ptr->obj_ptr,
Tcl_NewStringObj (bptypes[b->type], -1));
Tcl_ListObjAppendElement (NULL, result_ptr->obj_ptr,
- Tcl_NewBooleanObj (b->enable == enabled));
+ Tcl_NewBooleanObj (b->enable_state == bp_enabled));
Tcl_ListObjAppendElement (NULL, result_ptr->obj_ptr,
Tcl_NewStringObj (bpdisp[b->disposition], -1));
Tcl_ListObjAppendElement (NULL, result_ptr->obj_ptr,
@@ -456,9 +456,9 @@ gdb_set_bp (clientData, interp, objc, ob
return TCL_ERROR;
}
if (strncmp (typestr, "temp", 4) == 0)
- disp = del;
+ disp = disp_del;
else if (strncmp (typestr, "normal", 6) == 0)
- disp = donttouch;
+ disp = disp_donttouch;
else
{
Tcl_SetStringObj (result_ptr->obj_ptr,
@@ -538,9 +538,9 @@ gdb_set_bp_addr (ClientData clientData,
return TCL_ERROR;
}
if (strncmp (typestr, "temp", 4) == 0)
- disp = del;
+ disp = disp_del;
else if (strncmp (typestr, "normal", 6) == 0)
- disp = donttouch;
+ disp = disp_donttouch;
else
{
Tcl_SetStringObj (result_ptr->obj_ptr,
@@ -817,7 +817,7 @@ gdb_get_tracepoint_info (ClientData clie
free (tmp);
}
Tcl_ListObjAppendElement (interp, result_ptr->obj_ptr,
- Tcl_NewIntObj (tp->enabled));
+ Tcl_NewIntObj (tp->enabled_p));
Tcl_ListObjAppendElement (interp, result_ptr->obj_ptr,
Tcl_NewIntObj (tp->pass_count));
Tcl_ListObjAppendElement (interp, result_ptr->obj_ptr,
next reply other threads:[~2001-08-21 10:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-21 10:34 Keith Seitz [this message]
2001-08-21 12:24 ` Andrew Cagney
2001-08-21 12:27 ` 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.0108211032410.21831-100000@makita.cygnus.com \
--to=keiths@cygnus.com \
--cc=gdb-patches@sources.redhat.com \
--cc=rschiele@uni-mannheim.de \
/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