Article View: gnu.gdb.bug
Article #10186"info method" command?
From: Steve Turner
Date: Thu, 26 Apr 1990 20:49
Date: Thu, 26 Apr 1990 20:49
31 lines
1996 bytes
1996 bytes
Configuration: gdb-3.5 running programs compiled with g++-1.37.1,
gas-1.35, and gnu-ld (from gcc-1.37.1) on sun3-OS4.
In trying to find out the address of a function (since I was
initializing a pointer to it, see below) I got the following error:
... (startup, breakpoint, run, stuff deleted) ...
Bpt 1, initStack__4Task ($this=(struct Task *) 0x21f18) (Task.cc line 73)
(gdb) print &(CPU->realMain)
use `info method' command to print value of method "realMain"
But then, trying to use this command gives:
(gdb) info method
Undefined info command: "method".
Never mind that I don't want the "value" of the method, but its
address - what is the meaning of this message? Is it a
yet-to-be-implemented feature, or just a bug?
--
------------------------------------------------------------------
Steve Turner (on the Si prairie - UIUC CSRD)
ARPANET: turner@uicsrd.csrd.uiuc.edu
UUCP: {ihnp4,seismo,pur-ee,convex}!uiucdcs!uicsrd!turner
I went walking in the wasted city / Started thinking about entropy
Smelled the wind from the ruined river / Went home to watch TV
-- Warren Zevon
------------------------------------------------------------------
Technical Details
Message-ID:
<TURNER.90Apr26154917@sp16.csrd.uiuc.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!turnerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,33ef6cad2e7cd4dd,start X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 1990-04-26 13:49:17 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!turner From: turner@sp16.csrd.uiuc.edu (Steve Turner) Newsgroups: gnu.gdb.bug Subject: "info method" command? Message-ID: <TURNER.90Apr26154917@sp16.csrd.uiuc.edu> Date: 26 Apr 90 20:49:17 GMT Sender: usenet@ux1.cso.uiuc.edu (News) Reply-To: turner@uicsrd.csrd.uiuc.edu Distribution: gnu Organization: Center for Supercomputing R&D Lines: 31 Posted: Thu Apr 26 21:49:17 1990