🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #327

strtod

#327
From: Jim Kingdon
Date: Mon, 20 Nov 1989 21:34
10 lines
712 bytes
	(gdb) whatis strtod
	type = int ()

This is a common problem, but is not GDB's fault.  The problem is that
your system library was not compiled with -g, so GDB does not know the
type of strtod.

Recompile your system library -g if you have source, or use casts, e.g.
  (gdb) print ((double (*)())&atof)("1.55")
Technical Details
Message-ID: <8911202134.AA01902@hobbes.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!AI.MIT.EDU!kingdon
References: <8911200145.AA19059@aludra.usc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!AI.MIT.EDU!kingdon
From: kingdon@AI.MIT.EDU (Jim Kingdon)
Newsgroups: gnu.gdb.bug
Subject: strtod
Message-ID: <8911202134.AA01902@hobbes.ai.mit.edu>
Date: 20 Nov 89 21:34:35 GMT
References: <8911200145.AA19059@aludra.usc.edu>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 10