From: Martin Gadbois <martin.gadbois@colubris.com>
To: Kevin Buettner <kevinb@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] Cross target core debugging: host=i386, Target=PPC
Date: Tue, 30 Jul 2002 05:30:00 -0000 [thread overview]
Message-ID: <3D4685C6.8050403@colubris.com> (raw)
In-Reply-To: <1020729215947.ZM11378@localhost.localdomain>
-----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 <time.h>
|>-#ifdef HAVE_SYS_PROCFS_H
|>-#include <sys/procfs.h>
|>-#endif
|>-#include <fcntl.h>
|>-#include <errno.h>
|> #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-----
prev parent reply other threads:[~2002-07-30 12:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-29 14:06 Martin Gadbois
2002-07-29 14:59 ` Kevin Buettner
2002-07-29 16:45 ` Jason R Thorpe
2002-07-29 18:50 ` Daniel Jacobowitz
2002-07-30 8:35 ` Daniel Jacobowitz
2002-07-30 8:50 ` Martin Gadbois
2002-07-30 12:09 ` Daniel Jacobowitz
2002-07-30 10:47 ` Kevin Buettner
2002-07-30 10:52 ` Martin Gadbois
2002-07-30 11:24 ` Kevin Buettner
2002-07-30 10:55 ` Daniel Jacobowitz
2002-07-30 12:05 ` Daniel Jacobowitz
2002-07-30 5:53 ` Martin Gadbois
2002-07-30 6:43 ` Martin Gadbois
2002-07-29 15:07 ` Kevin Buettner
2002-07-30 5:30 ` Martin Gadbois [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D4685C6.8050403@colubris.com \
--to=martin.gadbois@colubris.com \
--cc=gdb-patches@sources.redhat.com \
--cc=kevinb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox