[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hpux-devtools
Subject:    Re: HPUX-DEVTOOLS: problems w/DDE
From:       Saravanan <pes () adlmail ! cup ! hp ! com>
Date:       2001-05-16 22:18:03
[Download RAW message or body]

Hi Jeff,
    Install DDE patch PHSS_22554 ,linker patch PHSS_20058 and dld patch
PHSS_17225, recompile and retest.
If it doesn't help ,you  need to direct this question to the Response
Center for more investigation.You could try the 'go -return' command to
get out
of the system call.
Regards,
Saravanan


Jeff.Minch@ual.com wrote:

> If this question can be answered by a FAQ please just point me in that
> direction.
>
> I can get DDE to work on my HPUX 10.20 machine with a little HelloWorld
> stub program but when I'm trying to a load a non-trivial program into
> DDE I'm having trouble.
> The error message I'm getting is:
>
> Executing image in process 1446: "/u/ual/ps_c".
> Stopped at: $START$   (00005DE8)
> Cannot apply 'intercept' command now - target is currently executing
> a system call.  Move the target out of syscall (e.g. using 'step -inst'
> command)
> and issue 'intercept' command again.
>
> When I step the program either with the button or the above command in
> "Debugger Input"
> it says
> Stepped to: $START$+0004 (00005DEC)
>
> The debugger never even loads the source code into the source window.
>
> When I load the executable, I have to give it a fair number of
> arguments.
>
> Executable name: /u/ual/ps_c
> Program Arguments: -z255 -A -V -swwhq8980 -P/u/ual -cg3 -u8
> -nTest_User1 -f16 -t0 -g600100
> Working Directory: /u/ual
>
> Redirect stdout to: /u/ual/rg3.log
> Redirect stderr to: /u/ual/rg3.err
>
> The makefile looks like
>
> LDFLAGS=-lXm -L/usr/lib -lXt -lX11 -lm
> C=-g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I /ual/C/include
> -D_BSD -D
> _NO_PROTO -DXOPEN_CATALOG -DMOTIF -UUX_INTERPRETER -DXT_CODE
> .c.o:
>         $(CC) $(C) -g -c $*.c
> .c:
>         $(CC) $(C) -o $*  $*.c  $(LDFLAGS)
> SYBASE    = /sybase
> SYBASE    = /sybase
> LIBDIR    = $(SYBASE)/lib
> SYBHEADERS   = $(INCDIR)/sybfront.h  \
>             $(INCDIR)/sybdb.h
> DBLIBS = $(LIBDIR)/libsybdb.a
> SYBINCLUDE   = -I. -I$(INCDIR)
> DSYS      = BSD42
> DVERSION  =
> LIBPATH   = /usr/lpp/aic/lib
> G3=g3.o g3events.o g3press.o \
>         g3beep.o g3c.o g3str.o g3shm.o \
>         g3cmap.o g3tim.o g3keyb.o g3edit.o g3st.o g3verdate.o \
>         g3func.o g3motif.o UxXt.o  UxMethod.o logerr.o
> all:ps_c
> ps_c: $(G3)
>         cc -g  -v  -Wl,-yError $(G3) $(LDFLAGS) -o ps_c
> ...then all the rules for the various .o files
>
> When I compile that it looks like:
>
> # make ps_c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3.c
> cc: "/ual/C/include/utsshm.h", line 9: warning 525: Redeclaration of
> identifier "shmid".
> cc: "g3.c", line 48: warning 525: Redeclaration of identifier
> "sol_update".
> cc: "g3.c", line 83: warning 525: Redeclaration of identifier
> "call_stat".
> cc: "g3.c", line 292: warning 537: Return expression incompatible with
> function type.
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3events.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3press.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3beep.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3c.c
> cc: "g3c.c", line 78: warning 533: Inconsistent type declaration for
> function "time".
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include
> -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF -UUX_INTERPRETER -DXT_CODE
> -c g3str.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3shm.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3cmap.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3tim.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3keyb.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3edit.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3st.c
>         eval cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c -DDATE=\'\"`date`\"\' g3verdate.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3func.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c g3motif
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c UxMethod.c
>         cc -g -I /usr/lpp/UMS/include -I /usr/lpp/som/include -I
> /ual/C/include -D_BSD -D_NO_PROTO -DXOPEN_CATALOG -DMOTIF
> -UUX_INTERPRETER -DXT_CODE -c logerr.c
> cc: "logerr.c", line 20: warning 533: Inconsistent type declaration for
> function "time".
>         cc -g -v  -Wl,-yError g3.o g3events.o g3press.o  g3beep.o g3c.o
> g3str.o g3shm.o  g3cmap.o g3tim.o g3keyb.o g3edit.o g3st.o g3verdate.o
> g3func.o g3motif.o UxXt.o  UxMethod.o logerr.o -lXm -L/usr/lib -lXt
> -lX11 -lm  -o ps_c
> cc: CCOPTS is not set.
> cc: LPATH is /usr/lib/pa1.1:/usr/lib:/opt/langtools/lib:
> /usr/ccs/bin/ld /opt/langtools/lib/crt0.o -u main -yError g3.o
> g3events.o g3press.o g3beep.o g3c.o g3str.o g3shm.o g3cmap.o g3tim.o
> g3keyb.o g3edit.o g3st.o g3verdate.o g3func.o g3motif.o UxXt.o
> UxMethod.o logerr.o -lXm -L/usr/lib -lXt -lX11 -lm -o ps_c -lc
> /opt/langtools/lib/end.o
> cc: Entering Link editor.
> /usr/ccs/bin/ld: (Warning) Linker features were used that may not be
> supported in future releases. The +vallcompatwarnings option can be
> used to display more details, and the ld(1) man page contains
> additional information. This warning can be suppressed with the
> +vnocompatwarnings option.
> root@wwhq478c [/ual/C/ps/ps043001_888]
>
> So you can see I'm using -g and end.o is a part of the link.
>
> The error message seems to indicate that the program is doing a system
> call that is preventing the debugger from continuing.  Any idea what a
> program could do to stop the debugger cold?  Thanks.
>
> Jeff Minch
> 847-700-9728
> WHQKA
>
>  _________________________________________________________________
>  To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
>     with the message UNSUBSCRIBE hpux-devtools
>  _________________________________________________________________

 _________________________________________________________________
 To leave this mailing list, send mail to majordomo@cxx.cup.hp.com
    with the message UNSUBSCRIBE hpux-devtools
 _________________________________________________________________

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic