From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: Re: [commit/Ada] Print the correct type for float division/multiplication
Date: Fri, 13 Mar 2009 02:32:00 -0000 [thread overview]
Message-ID: <20090313022522.GE8368@adacore.com> (raw)
In-Reply-To: <20090313022135.GF11284@adacore.com>
[-- Attachment #1: Type: text/plain, Size: 423 bytes --]
> (I do realize now that I forgot to remove some commented out code
> in the .exp file, so I'll fix that next. Sorry!)
Fixed thusly:
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
that was checked in by mistake. Remove loading of ada.exp, since
this is not necessary in this case.
Tested on amd64-linux. Checked in.
--
Joel
[-- Attachment #2: 12-erratum.diff --]
[-- Type: text/x-diff, Size: 1750 bytes --]
Index: gdb.ada/ptype_arith_binop.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.ada/ptype_arith_binop.exp,v
retrieving revision 1.1
diff -u -p -r1.1 ptype_arith_binop.exp
--- gdb.ada/ptype_arith_binop.exp 13 Mar 2009 02:15:36 -0000 1.1
+++ gdb.ada/ptype_arith_binop.exp 13 Mar 2009 02:23:54 -0000
@@ -17,28 +17,9 @@ if $tracelevel then {
strace $tracelevel
}
-load_lib "ada.exp"
-
-# set testdir "array_bounds"
-# set testfile "${testdir}/bar"
-# set srcfile ${srcdir}/${subdir}/${testfile}.adb
-# set binfile ${objdir}/${subdir}/${testfile}
-#
-# file mkdir ${objdir}/${subdir}/${testdir}
-# if {[gdb_compile_ada "${srcfile}" "${binfile}" executable [list debug ]] != "" } {
-# return -1
-# }
-
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
-# gdb_load ${binfile}
-
-#set bp_location [gdb_get_line_number "STOP" ${testdir}/bar.adb]
-#if ![runto "bar.adb:$bp_location" ] then {
-# perror "Couldn't run ${testfile}"
-# return
-#}
gdb_test "set lang ada" \
"" \
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/ChangeLog,v
retrieving revision 1.1824
diff -u -p -r1.1824 ChangeLog
--- ChangeLog 13 Mar 2009 02:15:36 -0000 1.1824
+++ ChangeLog 13 Mar 2009 02:24:00 -0000
@@ -1,5 +1,11 @@
2009-03-12 Joel Brobecker <brobecker@adacore.com>
+ * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
+ that was checked in by mistake. Remove loading of ada.exp, since
+ this is not necessary in this case.
+
+2009-03-12 Joel Brobecker <brobecker@adacore.com>
+
* gdb.ada/ptype_arith_binop.exp: New testcase.
2009-03-12 Joel Brobecker <brobecker@adacore.com>
prev parent reply other threads:[~2009-03-13 2:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-13 2:25 Joel Brobecker
2009-03-13 2:32 ` Joel Brobecker [this message]
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=20090313022522.GE8368@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
/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