From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5425 invoked by alias); 30 Jul 2002 12:27:15 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5404 invoked from network); 30 Jul 2002 12:27:13 -0000 Received: from unknown (HELO exchange.colubris.com) (206.162.167.230) by sources.redhat.com with SMTP; 30 Jul 2002 12:27:13 -0000 Received: from colubris.com ([192.168.30.124]) by exchange.colubris.com with Microsoft SMTPSVC(5.0.2195.3779); Tue, 30 Jul 2002 08:23:46 -0400 Message-ID: <3D4685C6.8050403@colubris.com> Date: Tue, 30 Jul 2002 05:30:00 -0000 From: Martin Gadbois Organization: Colubris Networks Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Buettner CC: gdb-patches@sources.redhat.com Subject: Re: [PATCH] Cross target core debugging: host=i386, Target=PPC References: <3D45ACCC.9040803@colubris.com> <1020729215947.ZM11378@localhost.localdomain> X-Enigmail-Version: 0.49.5.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Jul 2002 12:23:46.0359 (UTC) FILETIME=[F385FC70:01C237C3] X-SW-Source: 2002-07/txt/msg00578.txt.bz2 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kevin Buettner wrote: | On Jul 29, 4:59pm, Martin Gadbois wrote: | | |>diff -Naur gdb-5.2/gdb/config/powerpc/linux.mt gdb-5.2-ppc-core/gdb/config/powerpc/linux.mt |>--- gdb-5.2/gdb/config/powerpc/linux.mt Fri Oct 19 20:16:44 2001 |>+++ gdb-5.2-ppc-core/gdb/config/powerpc/linux.mt Mon Jul 29 16:25:49 2002 |>@@ -1,5 +1,5 @@ |> # Target: Motorola PPC on Linux |>-TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o solib.o solib-svr4.o solib-legacy.o |>+TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o solib.o solib-svr4.o solib-legacy.o corelow.o core-regset.o |> TM_FILE= tm-linux.h |> |> SIM_OBS = remote-sim.o |>diff -Naur gdb-5.2/gdb/core-regset.c gdb-5.2-ppc-core/gdb/core-regset.c |>--- gdb-5.2/gdb/core-regset.c Fri Aug 3 17:34:01 2001 |>+++ gdb-5.2-ppc-core/gdb/core-regset.c Mon Jul 29 15:45:28 2002 |>@@ -35,13 +35,6 @@ |> */ |> |> #include "defs.h" |>- |>-#include |>-#ifdef HAVE_SYS_PROCFS_H |>-#include |>-#endif |>-#include |>-#include |> #include "gdb_string.h" |> |> #include "inferior.h" | | | Hi Martin, | | Can you explain the reason for the above change? | | Thanks, | | Kevin I really just applied the formula from the thread http://sources.redhat.com/ml/gdb/2002-05/msg00191.html I am not sure what I've done. I just wanted to read PPC core, applied said formula, and it worked! :-) I'm a novice GDB wizard that applies dangerous formula ;-) To answer your question, they said: "remove system header, 'cause it will compile from i386, not PPC". - -- ============== Martin Gadbois S/W Developper Colubris Networks Inc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAj1GhcYACgkQ9Y3/iTTCEDlW3gCaAoGvIL6f6K63ZA/nsr+yj0SX He8AoKuKFwBuPXs7uasvF04uTUH+P2Hn =SXNr -----END PGP SIGNATURE-----