From: Joel Brobecker <brobecker@gnat.com>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa/testsuite] add test embryo for lang = minimal
Date: Fri, 23 May 2003 00:45:00 -0000 [thread overview]
Message-ID: <20030523004519.GM923@gnat.com> (raw)
In-Reply-To: <16076.55217.140146.243779@localhost.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 473 bytes --]
> Hmmm, it's ok, I wonder if it could be folded into langs.exp? Also,
> default.exp, setshow.exp, help.exp have language tests that should
> probably be updated including the minimal language.
Is the attached better? (merged the minimal.exp test into langs.exp).
I will be looking at setshow, default, and help momentarily.
2003-05-22 J. Brobecker <brobecker@gnat.com>
* gdb.base/langs.exp: Add some tests for the "minimal" language
support
--
Joel
[-- Attachment #2: langs.exp.diff --]
[-- Type: text/plain, Size: 728 bytes --]
Index: langs.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/langs.exp,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 langs.exp
--- langs.exp 28 Jun 1999 16:03:20 -0000 1.1.1.2
+++ langs.exp 23 May 2003 00:41:29 -0000
@@ -145,5 +145,20 @@
}
}
+gdb_exit
+gdb_start
+gdb_reinitialize_dir $srcdir/$subdir
+gdb_load $binfile
+
+# Try exercising the "minimal" language a bit...
+
+if [runto csub] then {
+ gdb_test "set lang minimal" \
+ "Warning: the current language does not match this frame." \
+ "set lang to minimal"
+
+ gdb_test "print x" " = 5000" "print parameter value"
+}
+
set timeout $oldtimeout
return 0
next prev parent reply other threads:[~2003-05-23 0:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-22 0:13 Joel Brobecker
2003-05-22 13:53 ` Elena Zannoni
2003-05-23 0:45 ` Joel Brobecker [this message]
2003-06-13 0:00 ` Joel Brobecker
2003-06-23 19:48 ` Elena Zannoni
2003-06-23 23:41 ` 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=20030523004519.GM923@gnat.com \
--to=brobecker@gnat.com \
--cc=ezannoni@redhat.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