diff options
author | John Gilmore <gnu@cygnus> | 1991-05-30 08:52:52 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-05-30 08:52:52 +0000 |
commit | d11c44f1ee9650339d5c874d3227611f82e3f104 (patch) | |
tree | 23487e3405f8e4c1202d95d6c3e3fa4fe67ac2fb /gdb/blockframe.c | |
parent | 924bbb3815705cba6e369cbea2dff86884e9265a (diff) | |
download | gdb-d11c44f1ee9650339d5c874d3227611f82e3f104.zip gdb-d11c44f1ee9650339d5c874d3227611f82e3f104.tar.gz gdb-d11c44f1ee9650339d5c874d3227611f82e3f104.tar.bz2 |
Roll in Tiemann changes for gcc -ansi. Fix assorted bugs. See ChangeLog.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 93d26cd..ba4cc24 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -18,6 +18,7 @@ You should have received a copy of the GNU General Public License along with GDB; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <stdio.h> #include "defs.h" #include "param.h" #include "symtab.h" @@ -575,7 +576,7 @@ find_pc_partial_function (pc, name, address) cache_pc_function_low = pc - FUNCTION_START_OFFSET; } cache_pc_function_name = misc_function_vector[miscfunc].name; - if (miscfunc < misc_function_count && 1 /* FIXME mf_text again? */ ) + if (miscfunc < misc_function_count /* && FIXME mf_text again? */ ) cache_pc_function_high = misc_function_vector[miscfunc+1].address; else cache_pc_function_high = cache_pc_function_low + 1; |