* Re: Strange gdb behavior - Hit heuristic-fence-post!!?!
@ 1997-11-20 16:27 Harvey J. Stein
0 siblings, 0 replies; only message in thread
From: Harvey J. Stein @ 1997-11-20 16:27 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-11-20 16:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-20 16:27 Strange gdb behavior - Hit heuristic-fence-post!!?! Harvey J. Stein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox