diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-20 00:54:43 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-20 00:54:43 +0000 |
commit | 0e52036f1f47078a9863f6a377ff11e10a81e8c4 (patch) | |
tree | 843cc4d980261981f8a7053bd2d3a9c87c085ac6 /gdb/lin-thread.c | |
parent | 81b8eb809e1fd6ad16bbeda4a365b8e7a81a441c (diff) | |
download | gdb-0e52036f1f47078a9863f6a377ff11e10a81e8c4.zip gdb-0e52036f1f47078a9863f6a377ff11e10a81e8c4.tar.gz gdb-0e52036f1f47078a9863f6a377ff11e10a81e8c4.tar.bz2 |
Move realoc() decl to utils.c. s/realloc()/xrealloc()/.
Diffstat (limited to 'gdb/lin-thread.c')
-rw-r--r-- | gdb/lin-thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/lin-thread.c b/gdb/lin-thread.c index 8c4caff..8c303fd 100644 --- a/gdb/lin-thread.c +++ b/gdb/lin-thread.c @@ -780,8 +780,8 @@ insert_thread (int tid, int lid, td_thr_state_e state, td_thr_type_e type) if (threadlist_top >= threadlist_max) { threadlist_max += THREADLIST_ALLOC; - threadlist = realloc (threadlist, - threadlist_max * sizeof (threadinfo)); + threadlist = xrealloc (threadlist, + threadlist_max * sizeof (threadinfo)); if (threadlist == NULL) return NULL; } |