X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Flanguage.c;h=117bd2e608fe1cce131511a0950abbdb3b280e7d;hb=56e2d25ab5b69584198204090fe049e920cd57db;hp=f224b95233d59a10e7c383b7789a38563b99e2a0;hpb=e1e9e218c189882084a89fdee655a0a523efbaf8;p=binutils-gdb.git diff --git a/gdb/language.c b/gdb/language.c index f224b95233d..117bd2e608f 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -1,5 +1,6 @@ /* Multiple source language support for GDB. - Copyright 1991, 1992, 2000, 2001 Free Software Foundation, Inc. + Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 + Free Software Foundation, Inc. Contributed by the Department of Computer Science at the State University of New York at Buffalo. @@ -36,7 +37,6 @@ #include "gdbtypes.h" #include "value.h" #include "gdbcmd.h" -#include "frame.h" #include "expression.h" #include "language.h" #include "target.h" @@ -720,7 +720,7 @@ longest_local_hex_string_custom (LONGEST num, char *width) num_pad_chars = field_width - strlen (temp_nbr_buf); /* possibly negative */ if (strlen (local_hex_format_prefix ()) + num_len + num_pad_chars - < RESULT_BUF_LEN) /* paranoia */ + >= RESULT_BUF_LEN) /* paranoia */ internal_error (__FILE__, __LINE__, "longest_local_hex_string_custom: insufficient space to store result");