public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM]  archer-ratmice-compile-Wc++-compat: fix observer generation code to add needed cast
@ 2010-09-15 22:40 tromey
  0 siblings, 0 replies; only message in thread
From: tromey @ 2010-09-15 22:40 UTC (permalink / raw)
  To: archer-commits

The branch, archer-ratmice-compile-Wc++-compat has been updated
       via  60b48c0b34494a893e685762812204a9fb6ded91 (commit)
      from  30816909ff94da3319bf78c0193c3118b52daf31 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 60b48c0b34494a893e685762812204a9fb6ded91
Author: Tom Tromey <tromey@redhat.com>
Date:   Wed Sep 15 16:40:10 2010 -0600

    fix observer generation code to add needed cast

-----------------------------------------------------------------------

Summary of changes:
 gdb/observer.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

First 500 lines of diff:
diff --git a/gdb/observer.sh b/gdb/observer.sh
index 2bb1c2d..a5e54f1 100755
--- a/gdb/observer.sh
+++ b/gdb/observer.sh
@@ -136,7 +136,7 @@ static void
 observer_${event}_notification_stub (const void *data, const void *args_data)
 {
   observer_${event}_ftype *notify = (observer_${event}_ftype *) data;
-  const struct ${event}_args *args = args_data;
+  const struct ${event}_args *args = (const struct ${event}_args *) args_data;
   notify (`echo ${actual} | sed -e 's/\([a-z0-9_][a-z0-9_]*\)/args->\1/g'`);
 }
 


hooks/post-receive
--
Repository for Project Archer.


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-15 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15 22:40 [SCM] archer-ratmice-compile-Wc++-compat: fix observer generation code to add needed cast tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).