Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Kei Sakamoto" <sakamoto.kei@renesas.com>
To: "Daniel Jacobowitz" <drow@mvista.com>
Cc: <gdb-patches@sources.redhat.com>
Subject: Re: [patch/testcase] fix gdb.objc/basicclass.exp
Date: Tue, 08 Jul 2003 00:58:00 -0000	[thread overview]
Message-ID: <005101c344ec$5bfbb8e0$5169910a@KEI> (raw)
In-Reply-To: <20030707141226.GB27227@nevyn.them.org>

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

> On Fri, Jul 04, 2003 at 12:09:36PM +0900, Kei Sakamoto wrote:
> > The attached patch fixes gdb.objc.basicclass.exp.
> >
> > The current test always fail with sim because of libobjc's error.
> >
> > (gdb) PASS: gdb.objc/basicclass.exp: continue until method breakpoint
> > run
> > The program being debugged has been started already.
> > Start it from the beginning? (y or n) y
> > Starting program:
> > /project/m32r-tools/insight-20030703/build/gdb/testsuite/gdb.objc/basicclass
> > Virtual memory exhausted
> >
> > *** EXIT code 4242
> >
> > Program exited with code 0157255.
> > [Switching to process 0]
> > (gdb) FAIL: gdb.objc/basicclass.exp: resetting breakpoints when rerunning
> >
> > I assume this is not libobjc's bug. Please tell me if my
> > assumption is wrong.
> >
> > Anyway, I inserted load command before run command. I checked
> > this patch with m32r-elf, arm-elf, and sh-elf.
>
> You missed the patch - would you mind posting it?

I'm sorry about that. This is the patch.

Kei

[-- Attachment #2: basicclass.exp.patch --]
[-- Type: application/octet-stream, Size: 457 bytes --]

--- insight-20030703.orig/src/gdb/testsuite/gdb.objc/basicclass.exp	Tue Jun 24 05:20:31 2003
+++ insight-20030703/src/gdb/testsuite/gdb.objc/basicclass.exp	Mon Jul  7 12:15:23 2003
@@ -125,6 +125,10 @@
 #
 # Test resetting breakpoints when re-running program
 #
+if { [target_info protocol] == "sim" } {
+    send_gdb "load\n"
+    exp_continue
+}
 send_gdb "run\n"
 gdb_expect {
     -re "The program .* has been started already.*y or n. $" {

  reply	other threads:[~2003-07-08  0:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-04  3:07 Kei Sakamoto
2003-07-07 14:13 ` Daniel Jacobowitz
2003-07-08  0:58   ` Kei Sakamoto [this message]
2003-07-08  2:26     ` Doug Evans
2003-07-08 19:45       ` Michael Snyder
2003-08-28 19:37     ` Daniel Jacobowitz

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='005101c344ec$5bfbb8e0$5169910a@KEI' \
    --to=sakamoto.kei@renesas.com \
    --cc=drow@mvista.com \
    --cc=gdb-patches@sources.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