This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix compilation failure in bfd/som.c under HPUX 11.00
- To: Joel Brobecker <brobecker at act-europe dot fr>
- Subject: Re: [RFA] Fix compilation failure in bfd/som.c under HPUX 11.00
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 27 Sep 2001 14:32:19 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <20010927160703.G21075@act-europe.fr>
> There is a small error in this file. The type of the parameter current_offset in function som_write_symbol_strings () do not oatc between the declaration of the function (declared as unsigned long)
> and its implementation (declared as file_ptr). Judjing from the rest of
> the code, it should be "unsigned long".
>
> So I suggest the following change. With the changes to hpux-thread.c
> reported earlier, this is the only other change that I needed in order
> to compile GDB on HPUX-11.00. For the same reasons, I did not have time
> to test it, it also seems quite reasonable a change.
>
> 2001-09-27 J. Brobecker <brobecker@gnat.com> * som.c (som_write_symbol_strings): Fix incorrect type of
> current_offset to match the function definition. Fixes a build
> failure on HPUX-11.00
>
>
Fine with me. Per Kevins comments on the other patch just tweek it and
it can too go in.
Build problems and bit rot like this are pretty obvious.
Andrew