Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Raunaq 12 <raunaq12@in.ibm.com>
Cc: gdb-patches@sourceware.org, brobecker@adacore.com
Subject: Re: [PATCH 3/5] powerpc64-aix inf-ptrace patch
Date: Wed, 10 Jul 2013 17:47:00 -0000	[thread overview]
Message-ID: <87r4f6fgst.fsf@fleche.redhat.com> (raw)
In-Reply-To: <OFE3A164F2.0E58AFE9-ON65257BA4.003110DC-65257BA4.0032D802@in.ibm.com>	(Raunaq's message of "Wed, 10 Jul 2013 14:44:12 +0530")

>>>>> ">" == Raunaq 12 <raunaq12@in.ibm.com> writes:

>> Since that is not the right way to go about it, I thought it would be
>> better to create a new file called 'inf-ptrace64.c' derived from
>> inf-ptrace instead, This new file contains all these above mentioned
>> changes.  inf-ptrace64 will be compiled only if the host is detected
>> as powerpc64-ibm-aix.  SO, it will not interfere with the original
>> inf-ptrace that is used if host is powerpc-ibm-aix

No, copying the file is worse than other available alternatives.
For example you can use configure to discover the proper argument types,
and then write a function that wraps ptrace and provides the needed
casts.

Tom


  reply	other threads:[~2013-07-10 17:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-10  9:15 Raunaq 12
2013-07-10 17:47 ` Tom Tromey [this message]
2013-07-10 19:07   ` Mark Kettenis
2013-07-15  7:32     ` Raunaq 12
2013-07-15  9:12       ` Mark Kettenis
2013-07-16 10:48         ` Raunaq 12
2013-07-23  5:35 Raunaq 12
2013-07-23  9:01 ` Mark Kettenis
2013-07-23 12:57   ` Raunaq 12
2013-07-23 14:25     ` Mark Kettenis
2013-07-23 19:40 ` Tom Tromey

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=87r4f6fgst.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=raunaq12@in.ibm.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