diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-04-28 03:10:44 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-04-28 03:10:44 +0000 |
commit | 2b5fe715f594881f50316f6622d9a5e37768f234 (patch) | |
tree | dc7f36cc1eb9b1adb2ed07c45620856825cf7c2a | |
parent | cbda0a99a3593103bd5d5573ac5c86264d519b3f (diff) | |
download | gdb-2b5fe715f594881f50316f6622d9a5e37768f234.zip gdb-2b5fe715f594881f50316f6622d9a5e37768f234.tar.gz gdb-2b5fe715f594881f50316f6622d9a5e37768f234.tar.bz2 |
Cast function to correct type.
-rw-r--r-- | gdb/ChangeLog | 12 | ||||
-rw-r--r-- | gdb/config/alpha/alpha-osf3.mh | 2 | ||||
-rw-r--r-- | gdb/target.c | 6 |
3 files changed, 17 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 04b9f00..a603fdf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,15 @@ +Fri Apr 28 12:21:28 2000 Andrew Cagney <cagney@b1.cygnus.com> + + From Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>: + * target.c (do_monitor_command): Cast tcomplain to correct + function type in comparison. + +Fri Apr 28 11:43:05 2000 Andrew Cagney <cagney@b1.cygnus.com> + + From 2000-04-25 Guy Harris <guy@netapp.com>: + * config/alpha/alpha-osf3.mh (XDEPFILES): Add ser-tcp.o and + ser-pipe.o + 2000-04-27 Michael Snyder <msnyder@seadog.cygnus.com> * jv-valprint.c (java_val_print): Add arg declaration, diff --git a/gdb/config/alpha/alpha-osf3.mh b/gdb/config/alpha/alpha-osf3.mh index 6de8bca..61594a7 100644 --- a/gdb/config/alpha/alpha-osf3.mh +++ b/gdb/config/alpha/alpha-osf3.mh @@ -1,5 +1,5 @@ # Host: Little-endian Alpha running OSF/1-3.x and higher using procfs -XDEPFILES= +XDEPFILES= ser-tcp.o ser-pipe.o XM_FILE= xm-alphaosf.h NAT_FILE= nm-osf3.h NATDEPFILES= infptrace.o inftarg.o corelow.o alpha-nat.o fork-child.o \ diff --git a/gdb/target.c b/gdb/target.c index a755f33..02ccc25 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -3063,9 +3063,11 @@ static void do_monitor_command (char *cmd, int from_tty) { - if ((current_target.to_rcmd == (void*) tcomplain) + if ((current_target.to_rcmd + == (void (*) (char *, struct ui_file *)) tcomplain) || (current_target.to_rcmd == debug_to_rcmd - && (debug_target.to_rcmd == (void*) tcomplain))) + && (debug_target.to_rcmd + == (void (*) (char *, struct ui_file *)) tcomplain))) { error ("\"monitor\" command not supported by this target.\n"); } |