🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3074

Does "call" work in emx-0.8e version of gdb?

#3074
From: Brooke Paul Anderson
Date: Sat, 21 Nov 1992 18:18
13 lines
754 bytes
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?
Technical Details
Message-ID: <1elugsINNomh@gap.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!nntp-server.caltech.edu!brooke

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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