From mboxrd@z Thu Jan 1 00:00:00 1970 From: ming@ocdtt.com To: insight-gnats@sourceware.cygnus.com Subject: insight/102: patch for sim/ppc/sim_calls.c Date: Thu, 13 Sep 2001 03:33:00 -0000 Message-id: <20010913102656.19391.qmail@sourceware.cygnus.com> X-SW-Source: 2001-q3/msg00009.html List-Id: >Number: 102 >Category: insight >Synopsis: patch for sim/ppc/sim_calls.c >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Thu Sep 13 03:33:04 PDT 2001 >Closed-Date: >Last-Modified: >Originator: ming@ocdtt.com >Release: insignt-5.0 >Organization: >Environment: host: i686-pc-cygwin target: powerpc-linux >Description: Solve the conflict definition of strsignal() in insight's gdb/defs.h and /usr/include/string.h >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: text/plain; name="insight-gdb.patch" Content-Disposition: inline; filename="insight-gdb.patch" --- sim/ppc/sim_calls.c Tue Apr 27 02:33:34 1999 +++ sim/ppc/sim_calls.c Thu Sep 13 17:38:56 2001 @@ -28,6 +28,11 @@ #undef printf_filtered /* blow away the mapping */ +#include "defs.h" +#include "bfd.h" +#include "callback.h" +#include "remote-sim.h" + #ifdef HAVE_STDLIB_H #include #endif @@ -39,11 +44,6 @@ #include #endif #endif - -#include "defs.h" -#include "bfd.h" -#include "callback.h" -#include "remote-sim.h" /* Define the rate at which the simulator should poll the host for a quit. */