Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Harvey J. Stein <hjstein@bfr.co.il>
Subject: Re: Strange gdb behavior - Hit heuristic-fence-post!!?!
Date: 20 Nov 1997 18:27:27 +0200	[thread overview]
Message-ID: <ea653768c493f6b8655e1dd9dde764a9.axp-list@archive.invalid> (raw)

I'm getting a strange warning from gdb when trying to get a backtrace:

   (gdb) c
   Continuing.

   Breakpoint 5, read_collat_loan () at cmo_new_file_routines.c:2617
   $18 = 0
   (gdb) bt
   #0  read_collat_loan () at cmo_new_file_routines.c:2617
   warning: Hit heuristic-fence-post without finding
   warning: enclosing function for address 0xffffffffffffffa5

According to the GDB Info pages:

      MIPS based computers use an unusual stack frame, which sometimes
   requires GDB to search backward in the object code to find the
   beginning of a function.

      To improve response time (especially for embedded applications, where
   GDB may be restricted to a slow serial line for this search) you may
   want to limit the size of this search, using one of these commands:

   `set heuristic-fence-post LIMIT'
	Restrict GDB to examining at most LIMIT bytes in its search for
	the beginning of a function.  A value of 0 (the default) means
	there is no limit.  However, except for 0, the larger the limit
	the more bytes `heuristic-fence-post' must search and therefore
	the longer it takes to run.

   `show heuristic-fence-post'
	Display the current limit.

   These commands are available *only* when GDB is configured for
   debugging programs on MIPS processors.

Isn't this a strange thing to have happen under Linux/axp?

Any ideas about what's going on?  Could it be related to very large
stack frames (which I do sometimes have floating around...)?

Thanks,

-- 
Dr. Harvey J. Stein
Berger Financial Research
hjstein@bfr.co.il

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

                 reply	other threads:[~1997-11-20 16:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox