Cast function to correct type.
This commit is contained in:
parent
cbda0a99a3
commit
2b5fe715f5
3 changed files with 17 additions and 3 deletions
|
@ -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,
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue