From: Ulrich Weigand <uweigand@de.ibm.com>
To: drow@false.org (Daniel Jacobowitz)
Cc: uweigand@de.ibm.com (Ulrich Weigand),
mark.kettenis@xs4all.nl (Mark Kettenis),
manjo@austin.ibm.com, gdb-patches@sources.redhat.com
Subject: Re: [RFC/RFA] Target vectors for native Linux targets
Date: Mon, 05 Sep 2005 17:32:00 -0000 [thread overview]
Message-ID: <200509051731.j85HVxKc030681@53v30g15.boeblingen.de.ibm.com> (raw)
In-Reply-To: <20050904224653.GC1978@nevyn.them.org> from "Daniel Jacobowitz" at Sep 04, 2005 06:46:53 PM
Daniel Jacobowitz wrote:
>I'm presenting an alternative patch, stealing bits from mine last
>December and other clever bits from Ulrich's. His patch was much
>prettier than mine - but missed some important things that generated
>ugliness in my first patch (for instance non-FETCH_INFERIOR_REGISTERS
>targets). I've come up with cleaner solutions than I did the first
>time round.
Thanks for looking into this again!
> On Fri, Aug 19, 2005 at 02:51:24AM +0200, Ulrich Weigand wrote:
> > One problem with the conversion is that I wouldn't want to have to
> > convert all the various Linux subtargets at the same time. It's a
> > lot of work, and I'm unable to test most of those platforms. Thus
> > I've thought of a way to stage the conversion:
>
> I bit the bullet and did them all, since I had most of it lying around
> anyway.
Excellent ;-)
> This patch has only been tested on i686-pc-linux-gnu at the moment, but
> it's been mightily proofread, and I have high confidence in it. It
> obsoletes about half your posted patch for S/390 (the watchpoint bits
> are an obvious follow-up). Could you give this a spin on S/390 for me?
Your patch works fine with no regressions on s390-ibm-linux and
s390x-ibm-linux. I'll be happy to do the watchpoint bits once
your patch is committed ...
> + /* FIXME drow/2005-09-04: The hardcoded use of register_addr should go
> + away. This requires disentangling the various definitions of it
> + (particularly alpha-nat.c's). */
> +#ifdef FETCH_INFERIOR_REGISTERS
> + t = inf_ptrace_target ();
> +#else
> + t = inf_ptrace_trad_target (register_addr);
> +#endif
This means FETCH_INFERIOR_REGISTERS needs to be kept around in various
nm-linux.h files for now? I'd have hoped to get rid of at least the
s390 variant ...
Bye,
Ulrich
--
Dr. Ulrich Weigand
Linux on zSeries Development
Ulrich.Weigand@de.ibm.com
next prev parent reply other threads:[~2005-09-05 17:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-17 18:30 [RFC] GDB patches for hw watchpoints Manoj Iyer
2005-08-17 18:46 ` Eli Zaretskii
2005-08-17 23:03 ` Mark Kettenis
2005-08-19 0:53 ` [RFC/RFA] Target vectors for native Linux targets Ulrich Weigand
2005-08-21 10:48 ` Mark Kettenis
2005-08-21 15:21 ` Ulrich Weigand
2005-08-21 15:53 ` Mark Kettenis
2005-09-04 15:48 ` Daniel Jacobowitz
2005-09-04 22:48 ` Daniel Jacobowitz
2005-09-05 17:32 ` Ulrich Weigand [this message]
2005-09-10 18:13 ` Daniel Jacobowitz
2005-09-11 22:02 ` [committed] s390 watchpoints (Re: [RFC/RFA] Target vectors for native Linux targets) Ulrich Weigand
2005-09-11 23:09 ` Daniel Jacobowitz
2005-09-18 1:20 ` [RFC] GDB patches for hw watchpoints Daniel Jacobowitz
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=200509051731.j85HVxKc030681@53v30g15.boeblingen.de.ibm.com \
--to=uweigand@de.ibm.com \
--cc=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=manjo@austin.ibm.com \
--cc=mark.kettenis@xs4all.nl \
/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