Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: luisgpm@linux.vnet.ibm.com
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] PPC atomic single stepping testcase
Date: Tue, 04 Dec 2007 23:16:00 -0000	[thread overview]
Message-ID: <200712042316.lB4NGkjV014646@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <1196793096.15766.8.camel@gargoyle> from "Luis Machado" at Dec 04, 2007 04:31:36 PM

Luis Machado wrote:

> +gdb_test "x/g &puts" "$hex <puts>:\[\t\]+$hex" \
> +  "Get the address of the puts function"
> +
> +gdb_breakpoint "*(\$__ + 88)" "Breakpoint $decimal at $hex" \
> +  "Set the breakpoint at the start of the sequence"

This appears to make quite a lot of assumptions about
glibc implementation details.  I'd except just about
any glibc update to break this test ...

As this is a PowerPC-specific case anyway, can you not
use a test that explicitly has the atomic sequence in
the code provided with the test case?

Bye,
Ulrich


-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  reply	other threads:[~2007-12-04 23:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-04 20:16 Luis Machado
2007-12-04 23:16 ` Ulrich Weigand [this message]
2007-12-05 19:29   ` Luis Machado
2007-12-10 17:31   ` Luis Machado
2007-12-16 22:49     ` Daniel Jacobowitz
2007-12-18 18:47       ` Luis Machado
2008-01-07 16:10         ` Luis Machado
2008-01-29 17:49         ` Daniel Jacobowitz
2008-01-31 17:25           ` Luis Machado
2007-12-17  4:12     ` Thiago Jung Bauermann
2007-12-04 20:24 Luis Machado

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=200712042316.lB4NGkjV014646@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=luisgpm@linux.vnet.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