From: Jeff Johnston <jjohnstn@redhat.com>
To: Michael Chastain <mec.gnu@mindspring.com>
Cc: gdb-patches@sources.redhat.com, eliz@gnu.org, drow@false.org
Subject: Re: [RFA]: Fix for pending breakpoints in manually loaded/unloaded shlibs
Date: Mon, 23 Aug 2004 22:35:00 -0000 [thread overview]
Message-ID: <412A713C.1020004@redhat.com> (raw)
In-Reply-To: <412A6B08.nailD8G118X9H@mindspring.com>
Michael Chastain wrote:
> The test script is not quite okay.
>
> The test script should match the output from the last released gdb,
> gdb 6.2, as well as the current gdb.
>
The test should behave the same because the gdb code that generates the message
it is checking hasn't been committed yet. On retrospect, perhaps I should not
have committed the testcase in with this particular check in place (the test
itself is a valid one regardless). There has been some questions regarding
whether I should be using an observer or not. Knowing that, do I still need to
do the following or can I check the change I attached in once I get final
approval on the code and most importantly, the message to be issued?
> When I compare gdb 6.2 with gdb HEAD, or with gdb 6.2.91 (when it
> comes out), I use the same current test suite with both the old
> and new gdb's. I can't compare:
>
> (gdb 6.2, suite 6.2)
> (gdb 6.2.91, suite 6.2.91)
>
> ... because there are thousands of new tests and test name changes.
> So I have to compare:
>
> (gdb 6.2, suite 6.2.91)
> (gdb 6.2.91, suite 6.2.91)
>
> So it helps me if the test suite continues to match
> the messages from the last released gdb.
>
> If you're curious, you can see some of these comparison tables here:
>
> http://www.shout.net/~mec/sunday/2004-08-18/Compare-by-gdb-branch-HEAD.html
>
> ===
>
> You can do this either by fuzzing the pattern up with some wild cards,
> or with the "(...|...)" construct, or by using a gdb_test_multiple
> with one arm for the old output and one arm for the new.
> Personally I would go for gdb_test_multiple:
>
> set name "continuing to end of program"
> gdb_test_multiple "continue" $name {
> -re "Continuing.*y is 7.*warning: ... disabling unloaded shared library breakpoints ....*$gdb_prompt $" {
> # old gdb 6.2
> pass $name
> }
> -re "Continuing.*y is 7.*warning: ... disabling breakpoints for.*unloadshr.sl.* ... $gdb_prompt $" {
> # new gdb HEAD 2004-08-23
> pass $name
> }
> }
>
> Also, what system did you test on?
>
> ===
>
> 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
>
> * gdb.base/unload.exp: Fix expected warning message to match
> latest format.
>
>
next prev parent reply other threads:[~2004-08-23 22:35 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 19:09 Jeff Johnston
2004-08-10 19:45 ` Kevin Buettner
2004-08-11 4:07 ` Eli Zaretskii
2004-08-11 15:58 ` Jeff Johnston
2004-08-11 16:58 ` Andrew Cagney
2004-08-11 17:59 ` Eli Zaretskii
2004-08-11 20:42 ` Andrew Cagney
2004-08-11 20:47 ` Daniel Jacobowitz
2004-08-11 22:19 ` Andrew Cagney
2004-08-12 12:58 ` Daniel Jacobowitz
2004-08-12 13:16 ` New observer objfile_mapped; was Andrew Cagney
2004-08-12 13:18 ` Daniel Jacobowitz
2004-08-12 3:45 ` [RFA]: Fix for pending breakpoints in manually loaded/unloaded shlibs Eli Zaretskii
2004-08-12 12:10 ` Andrew Cagney
2004-08-12 18:49 ` Eli Zaretskii
2004-08-12 20:44 ` Andrew Cagney
2004-08-14 11:50 ` Eli Zaretskii
2004-08-18 13:45 ` Daniel Jacobowitz
2004-08-19 3:57 ` Eli Zaretskii
2004-08-11 8:09 ` Michael Chastain
2004-08-11 15:42 ` Jeff Johnston
2004-08-12 13:05 ` Michael Chastain
2004-08-12 13:33 ` Michael Chastain
2004-08-12 17:47 ` Jeff Johnston
2004-08-12 18:59 ` Michael Chastain
2004-08-12 20:23 ` Jeff Johnston
2004-08-11 17:12 ` Daniel Jacobowitz
2004-08-11 20:12 ` Jeff Johnston
2004-08-18 13:56 ` Daniel Jacobowitz
2004-08-18 19:22 ` Jeff Johnston
2004-08-18 19:39 ` Daniel Jacobowitz
2004-08-18 20:03 ` Jeff Johnston
2004-08-19 4:01 ` Eli Zaretskii
2004-09-01 15:15 ` Andrew Cagney
2004-09-01 18:01 ` Jeff Johnston
2004-09-01 19:30 ` Michael Chastain
2004-09-01 20:44 ` Jeff Johnston
2004-09-01 20:59 ` Michael Chastain
2004-09-01 23:27 ` Jeff Johnston
2004-09-02 3:54 ` Eli Zaretskii
2004-08-23 21:33 ` Jeff Johnston
2004-08-23 22:09 ` Michael Chastain
2004-08-23 22:35 ` Jeff Johnston [this message]
2004-08-24 2:26 ` Michael Chastain
2004-08-24 15:51 ` Jeff Johnston
2004-08-24 16:04 ` Michael Chastain
2004-08-12 2:48 ` Andrew Cagney
2004-08-12 3:54 ` Eli Zaretskii
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=412A713C.1020004@redhat.com \
--to=jjohnstn@redhat.com \
--cc=drow@false.org \
--cc=eliz@gnu.org \
--cc=gdb-patches@sources.redhat.com \
--cc=mec.gnu@mindspring.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