home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / programm / 6602 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  732 b 

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!brooke
  2. From: brooke@cco.caltech.edu (Brooke Paul Anderson)
  3. Newsgroups: comp.os.os2.programmer
  4. Subject: Does "call" work in emx-0.8e version of gdb?
  5. Date: 21 Nov 1992 18:18:04 GMT
  6. Organization: California Institute of Technology, Pasadena
  7. Lines: 14
  8. Message-ID: <1elugsINNomh@gap.caltech.edu>
  9. NNTP-Posting-Host: sandman.caltech.edu
  10.  
  11. I've been trying to use the call function in the emx-0.8e version of
  12. gdb without success.  It seems arguments are set to zero.  For example,
  13. if I have the function
  14.  
  15. float crap(float inval)
  16.   {
  17.   return(exp(inval));
  18.   }
  19.  
  20. in my program, and I type "call crap(2.0)" while using gdb, I get a
  21. return value of 1.0.
  22.  
  23. Am I doing something wrong?
  24.  
  25.