Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: brobecker@adacore.com, gdb-patches@sourceware.org
Subject: Re: [patch] Fix watchpoint-at-epilogue 7.0 regression (s390x)
Date: Sun, 27 Dec 2009 19:56:00 -0000	[thread overview]
Message-ID: <83y6kodw8m.fsf@gnu.org> (raw)
In-Reply-To: <20091227192916.GA15866@host0.dyn.jankratochvil.net>

> Date: Sun, 27 Dec 2009 20:29:16 +0100
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb-patches@sourceware.org
> 
> gdb/
> 2009-12-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* config/djgpp/fnchange.lst: Add translations for 
> 	watchpoint-cond-gone.exp, watchpoint-cond-gone.c and
> 	watchpoint-cond-gone-stripped.c.
> 
> (not tested)
> 
> I will include it on its check-in.

Thanks.

> Still I do not understand it fully - it cannot work after the rename

The test suite does not work with DJGPP, anyway, since there's no
`expect' (no async subprocesses).  So renaming does not break anything
that isn't already broken.

> and it gets extracted fine by DJGPP tar.exe:
> watch-~1.c   watch_~1.exp watchp~2.c   watchp~3.exp watchp~5.c   watchp~6.exp
> watch-~1.exp watchp~1.c   watchp~2.exp watchp~4.c   watchp~5.exp watchp~7.c
> watch_~1.c   watchp~1.exp watchp~3.c   watchp~4.exp watchp~6.c   watchp~8.c

When GDB is built for DJGPP, it needs to be extracted by djunpack.bat,
not by Tar.  That is because Tar (and gzip/bzip2) can not be
guaranteed to be available on DJGPP platforms.  djunpack.bat invokes
djtar.exe, which is part of the core DJGPP distro and includes gzip
and bzip2 decompressors built-in.  djtar.exe will complain when it
encounters file-name clashes, and will ask for a different file name.
Typing a new name for a lot of files is annoying.  The file produced
from fnchange.lst is submitted to djtar.exe to tell it how to rename
each file whose name will otherwise clash, so the user is not
bothered.  Using fnchange.lst also ensures all DJGPP users have the
same files after unpacking, instead of relying on various tools each
of which does its own trickery to cope with 8+3 namespace.

> --- a/gdb/config/djgpp/fnchange.lst
> +++ b/gdb/config/djgpp/fnchange.lst
> @@ -400,6 +400,9 @@
>  @V@/gdb/testsuite/gdb.base/watchpoint-solib.c @V@/gdb/testsuite/gdb.base/wp-solib.c
>  @V@/gdb/testsuite/gdb.base/watchpoint-hw.exp @V@/gdb/testsuite/gdb.base/wp-hw.exp
>  @V@/gdb/testsuite/gdb.base/watchpoint-solib.exp @V@/gdb/testsuite/gdb.base/wp-solib.exp
> +@V@/gdb/testsuite/gdb.base/watchpoint-cond-gone.exp @V@/gdb/testsuite/gdb.base/wpcondg.exp
> +@V@/gdb/testsuite/gdb.base/watchpoint-cond-gone.c @V@/gdb/testsuite/gdb.base/wpcondg.c
> +@V@/gdb/testsuite/gdb.base/watchpoint-cond-gone-stripped.c @V@/gdb/testsuite/gdb.base/wpcondgs.c
>  @V@/gdb/testsuite/gdb.cell/coremaker-spu.c @V@/gdb/testsuite/gdb.cell/core-spu.c
>  @V@/gdb/testsuite/gdb.cell/ea-cache-spu.c @V@/gdb/testsuite/gdb.cell/ea-spu.c
>  @V@/gdb/testsuite/gdb.cell/mem-access-spu.c @V@/gdb/testsuite/gdb.cell/mem-spu.c

This is fine.


  reply	other threads:[~2009-12-27 19:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-25 14:20 Jan Kratochvil
2009-12-26  5:36 ` Joel Brobecker
2009-12-27  5:33   ` Joel Brobecker
2009-12-27 19:29     ` Jan Kratochvil
2009-12-27 19:56       ` Eli Zaretskii [this message]
2009-12-27 20:03         ` Jan Kratochvil
2010-01-19 20:52   ` Jan Kratochvil
2010-01-20  2:48     ` Joel Brobecker

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=83y6kodw8m.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    --cc=jan.kratochvil@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