This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch]: Improve handling of DW_LNE_define_file
- From: Alan Modra <amodra at gmail dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: binutils Development <binutils at sourceware dot org>
- Date: Tue, 17 Jan 2012 08:46:14 +1030
- Subject: Re: [Patch]: Improve handling of DW_LNE_define_file
- References: <FB3BD091-6416-4F4D-B59C-B6A8B00362D2@adacore.com>
On Thu, Jan 12, 2012 at 01:05:15PM +0100, Tristan Gingold wrote:
> case DW_LNE_define_file:
> {
> - unsigned int dir_index = 0;
> + file_table = (File_Entry *)
> + xmalloc ((n_files + 1) * sizeof (File_Entry));
xrealloc. Otherwise OK.
--
Alan Modra
Australia Development Lab, IBM