aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-20 00:54:43 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-20 00:54:43 +0000
commit0e52036f1f47078a9863f6a377ff11e10a81e8c4 (patch)
tree843cc4d980261981f8a7053bd2d3a9c87c085ac6 /gdb/symfile.c
parent81b8eb809e1fd6ad16bbeda4a365b8e7a81a441c (diff)
downloadgdb-0e52036f1f47078a9863f6a377ff11e10a81e8c4.zip
gdb-0e52036f1f47078a9863f6a377ff11e10a81e8c4.tar.gz
gdb-0e52036f1f47078a9863f6a377ff11e10a81e8c4.tar.bz2
Move realoc() decl to utils.c. s/realloc()/xrealloc()/.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 111a51b..8efc5d4 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -1782,8 +1782,8 @@ add_filename_language (char *ext, enum language lang)
if (fl_table_next >= fl_table_size)
{
fl_table_size += 10;
- filename_language_table = realloc (filename_language_table,
- fl_table_size);
+ filename_language_table = xrealloc (filename_language_table,
+ fl_table_size);
}
filename_language_table[fl_table_next].ext = xstrdup (ext);