This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gdb/48: Hit heuristic-fence-post without founding



>Number:         48
>Category:       gdb
>Synopsis:       Hit heuristic-fence-post without founding
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 26 04:48:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Ratnakarprasad Tiwari
>Release:        5.0
>Organization:
>Environment:
DEC UNIX (OSF1)
>Description:
The following event occurs very frequently :
Breakpoint 2, work_ipc_layer (FDS=0x11ffff188) at ipc_layer.c:224
224             if ( ( gwa.no_clients < gwa.max_clients ) &&
(gdb) n
225                  ( gwa.listener_state == LISTENER_CONNECTED ) )
(gdb) n
224             if ( ( gwa.no_clients < gwa.max_clients ) &&
(gdb) n
227                     if ( FD_ISSET( server->socket, FDS ) )
(gdb) n
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x3ff8019ca20
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x3ff8019ca20
283             if ( gwa.listener_state == LISTENER_CONNECTED )
(gdb)                

This despite the fact that the program has been compiled with the -g flag to gcc.

Please help!


>How-To-Repeat:
I do not know how this can be done in the general case. But I have a really big program and I set the breakpoint at main and from there on I continue single stepping / continuing, addding / removing break points. Suddenly this message pops up
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]