Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!randy From: randy@WHEATIES.AI.MIT.EDU (Randy Smith) Newsgroups: gnu.gdb.bug Subject: Question for gdb on gould machines . . . Message-ID: <8901172212.AA11878@hobbes> Date: 17 Jan 89 22:12:11 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 20 Could someone who knows the gould architecture give me a (reasonably general) way to find out if a pc value is within the "start" routine (the one that is called by the kernel and calls "main"). This is so that I can tell when a backtrace is begun from a location within this routine so that I can keep it from going any higher (the FRAME_CHAIN_VALID macro checks the chain *above* the current one). In all of the machines which gdb currently runs on except the gould machine, /lib/crt0.o is the first object file loaded (always) and if a pc value is less than "first_object_file_end" it may be assumed to be inside of this routine. Is this a reasonable assumption for the gould machines also? Please reply to "randy@wheaties.ai.mit.edu". Much thanks in advance . . . -- Randy Smith GNU Gdb maintainer