[RFA] patch to solve libiberty strsignal changes (plus a minor cross-compilation fix)

Chris Faylor cgf@cygnus.com
Sat Jun 3 12:30:00 GMT 2000

On Sat, Jun 03, 2000 at 10:21:40PM +1000, Andrew Cagney wrote:
>Chris Faylor wrote:
>> Ok.  That doesn't help much with my current problem, though.  How do I build
>> a Windows version of gdb?  I don't think you want me to be making changes to
>> places like lowcore.c.  I'm really not qualified for that...
>Try the attached.  I think I might forget to check in the changes to the
>umax and suni386 files - the fix ruins their copyright lines :-)
>	Andrew
>Sat Jun  3 20:43:59 2000  Andrew Cagney  <cagney@b1.cygnus.com>
>	* defs.h (strsignal, safe_strsignal): Delete declarations.
>	* utils.c (safe_strsignal): Delete.
>	* corelow.c (core_open): Replace save_strsignal with
> 	target_signal_to_string + target_signal_from_host.
>	* umax-xdep.c (core_file_command), sun386-nat.c
> 	(core_file_command): Ditto.

That does the trick.  The embarrassing thing is that I *could* have made
those changes.

Thanks, Andrew.


More information about the Gdb-patches mailing list