Article View: gnu.gdb.bug
Article #12gdb4.7: info reg pc broken(?)
From: Robert R. Henry
Date: Tue, 27 Oct 1992 23:16
Date: Tue, 27 Oct 1992 23:16
18 lines
859 bytes
859 bytes
When running gdb4.7 target=sparc, host=sparc doing break foo run i r pc gives a pc that's valid for foo, the top frame of the stack. if I then do up i r pc I still get the SAME pc, namely for foo, rather than for foo's caller. In fact, every frame reports that its pc is the same as for foo, which is clearly wrong. fp and l0 (the others that I tried) do seem to change on a per frame basis. -rrh
Technical Details
Message-ID:
<9210272316.AA14605@tera.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tera.com!rrhShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tera.com!rrh From: rrh@tera.com (Robert R. Henry) Newsgroups: gnu.gdb.bug Subject: gdb4.7: info reg pc broken(?) Message-ID: <9210272316.AA14605@tera.com> Date: 27 Oct 92 23:16:14 GMT Article-I.D.: tera.9210272316.AA14605 Sender: gnulists@ai.mit.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 18 Approved: bug-gdb@prep.ai.mit.edu