home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!brooke
- From: brooke@cco.caltech.edu (Brooke Paul Anderson)
- Newsgroups: comp.os.os2.programmer
- Subject: Does "call" work in emx-0.8e version of gdb?
- Date: 21 Nov 1992 18:18:04 GMT
- Organization: California Institute of Technology, Pasadena
- Lines: 14
- Message-ID: <1elugsINNomh@gap.caltech.edu>
- NNTP-Posting-Host: sandman.caltech.edu
-
- I've been trying to use the call function in the emx-0.8e version of
- gdb without success. It seems arguments are set to zero. For example,
- if I have the function
-
- float crap(float inval)
- {
- return(exp(inval));
- }
-
- in my program, and I type "call crap(2.0)" while using gdb, I get a
- return value of 1.0.
-
- Am I doing something wrong?
-
-