randy@WHEATIES.AI.MIT.EDU (Randy Smith) (01/18/89)
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