Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jim Blandy <jimb@redhat.com>
To: mec.gnu@mindspring.com (Michael Elizabeth Chastain)
Cc: gdb-patches@sources.redhat.com
Subject: Re: RFA: New regression test for breakpoint command freeing
Date: Wed, 17 Dec 2003 21:35:00 -0000	[thread overview]
Message-ID: <vt2oeu7jfl8.fsf@zenia.home> (raw)
In-Reply-To: <20031217172958.707034B375@berman.michael-chastain.com>

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

mec.gnu@mindspring.com (Michael Elizabeth Chastain) writes:
> Is there a PR for this bug?  If not, can you file one?  Then change the
> FAIL's to KFAIL's with the PR number on it.  That way I can tell the
> "Invalid control type" from truly unexpected bugs.

I posted the fix when I posted the test.  To make sure things are
tracked properly until the review is done, I've filed gdb/1489, and
committed the first attached patch to make it a kfail.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Mark the interesting failure as known. --]
[-- Type: text/x-patch, Size: 1318 bytes --]

2003-12-17  Jim Blandy  <jimb@redhat.com>

	* gdb.base/freebpcmd.exp: Mark the interesting failure as known.

Index: gdb/testsuite/gdb.base/freebpcmd.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/freebpcmd.exp,v
retrieving revision 1.1
diff -c -r1.1 freebpcmd.exp
*** gdb/testsuite/gdb.base/freebpcmd.exp	13 Dec 2003 20:12:31 -0000	1.1
--- gdb/testsuite/gdb.base/freebpcmd.exp	17 Dec 2003 21:26:22 -0000
***************
*** 110,121 ****
  gdb_run_cmd
  gdb_test_multiple "" "run program with breakpoint commands" {
      -re "warning: Invalid control type in command structure" {
!         fail "run program with breakpoint commands"
      }
      -re "$gdb_prompt $" {
          pass "run program with breakpoint commands"
      }
      eof {
!         fail "run program with breakpoint commands (GDB died)"
      }
  }
--- 110,121 ----
  gdb_run_cmd
  gdb_test_multiple "" "run program with breakpoint commands" {
      -re "warning: Invalid control type in command structure" {
!         kfail "gdb/1489" "run program with breakpoint commands"
      }
      -re "$gdb_prompt $" {
          pass "run program with breakpoint commands"
      }
      eof {
!         kfail "gdb/1489" "run program with breakpoint commands (GDB died)"
      }
  }

[-- Attachment #3: Type: text/plain, Size: 106 bytes --]


> Also, freebpcmd.c needs a copyright notice.

Duh.  Thanks.  I've committed the second attached patch.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: Add copyright notice to test program. --]
[-- Type: text/x-patch, Size: 1463 bytes --]

2003-12-17  Jim Blandy  <jimb@redhat.com>

	* gdb.base/freebpcmd.c: Add copyright notice.

Index: gdb/testsuite/gdb.base/freebpcmd.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/freebpcmd.c,v
retrieving revision 1.1
diff -c -r1.1 freebpcmd.c
*** gdb/testsuite/gdb.base/freebpcmd.c	13 Dec 2003 20:12:31 -0000	1.1
--- gdb/testsuite/gdb.base/freebpcmd.c	17 Dec 2003 21:32:08 -0000
***************
*** 1,3 ****
--- 1,23 ----
+ /* Test program for GDB crashes while doing bp commands that continue inferior.
+    Copyright 2003 Free Software Foundation, Inc.
+ 
+    This file is part of the gdb testsuite.
+ 
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+ 
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+ 
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place - Suite 330,
+    Boston, MA 02111-1307, USA.  */
+ 
  int
  main (int argc, char **argv)
  {

  reply	other threads:[~2003-12-17 21:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-17 17:30 Michael Elizabeth Chastain
2003-12-17 21:35 ` Jim Blandy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-13  5:58 Jim Blandy
2003-12-13  6:04 ` Daniel Jacobowitz
2003-12-13 20:11   ` Jim Blandy

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=vt2oeu7jfl8.fsf@zenia.home \
    --to=jimb@redhat.com \
    --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