Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: "Maciej W. Rozycki" <macro@codesourcery.com>
Cc: Pedro Alves <palves@redhat.com>, gdb-patches@sourceware.org
Subject: Re: [patch] Re: Regression for gdbserver  [Re: [PATCH] Linux/gdbserver: Fix memory read ptrace fallback issues]
Date: Wed, 23 May 2012 05:29:00 -0000	[thread overview]
Message-ID: <20120523052859.GA23755@host2.jankratochvil.net> (raw)
In-Reply-To: <alpine.DEB.1.10.1205230017560.11227@tp.orcam.me.uk>

On Wed, 23 May 2012 01:34:05 +0200, Maciej W. Rozycki wrote:
> On Tue, 22 May 2012, Jan Kratochvil wrote:
> > 	[RFC patch] non-release srctrees: --enable-targets=all & 64bit & -lmcheck
> > 	http://sourceware.org/ml/gdb-patches/2012-05/msg00714.html
[...]
>  Hmm, it wouldn't have triggered at the compilation time probably anyway.  
> I have switched to --enable-targets=all already, based on some past 
> experience.

I was trying to figure out why the problem is reproducible for me and not for
you.  I understand --enable-targets=all does not affect it but as the patch
already makes development vs. user build difference we could add even more
tweaks like special CFLAGS into the development build.  (Assuming special
CFLAGS can reproduce the bug.)


> > I find always more clear to calculate everything as START ADDRESS and ONE BYTE
> > AFTER THE LAST ADDRESS till the very last moment.
> 
>  That indeed, or START & SIZE in bytes.

The key is to never use any SIZE because then after you modify START
everything breaks down.


Regards,
Jan


      reply	other threads:[~2012-05-23  5:29 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16 22:57 [PATCH] Linux/gdbserver: Fix memory read ptrace fallback issues Maciej W. Rozycki
2012-05-18 16:53 ` Pedro Alves
2012-05-18 18:46   ` Maciej W. Rozycki
2012-05-18 20:11     ` Pedro Alves
2012-05-22  0:05       ` Maciej W. Rozycki
2012-05-22  8:04         ` Regression for gdbserver [Re: [PATCH] Linux/gdbserver: Fix memory read ptrace fallback issues] Jan Kratochvil
2012-05-22 12:43           ` Maciej W. Rozycki
2012-05-22 19:35             ` [patch] " Jan Kratochvil
2012-05-22 20:06               ` Maciej W. Rozycki
2012-05-22 20:42                 ` Jan Kratochvil
2012-05-22 23:34                   ` Maciej W. Rozycki
2012-05-23  5:29                     ` Jan Kratochvil [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=20120523052859.GA23755@host2.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=macro@codesourcery.com \
    --cc=palves@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