public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Carl Love <cel@linux.ibm.com>
To: Tom Tromey <tromey@adacore.com>, gdb-patches@sourceware.org
Cc: cel@linux.ibm.com
Subject: Re: Ada compile with -fvar-tracking
Date: Tue, 14 Nov 2023 14:23:31 -0800	[thread overview]
Message-ID: <1d5e5408487d26a90cded2f599cba75ee60c2c6b.camel@linux.ibm.com> (raw)
In-Reply-To: <87ttpongbg.fsf@tromey.com>

Tom:

I have attached the patch, followed by the entire log file.  Hopefully
you can see something I am missing.  Thanks for the help.

                     Carl 
---------------------------------------------
[PATCH] tom suggestion

Gives compile failed
---
 gdb/testsuite/gdb.ada/finish-large.exp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gdb/testsuite/gdb.ada/finish-large.exp b/gdb/testsuite/gdb.ada/finish-large.exp
index 5661d132a18..d15697042a8 100644
--- a/gdb/testsuite/gdb.ada/finish-large.exp
+++ b/gdb/testsuite/gdb.ada/finish-large.exp
@@ -19,7 +19,9 @@ require allow_ada_tests
 
 standard_ada_testfile p
 
-if {[gdb_compile_ada "${srcfile}" "${binfile}" executable debug] != ""} {
+set flags {debug additional_flags=-cargs additional_flags=-fvar-tracking additional_flags=-margs}
+
+if {[gdb_compile_ada "${srcfile}" "${binfile} " executable $flags] != ""} {
   return -1
 }
 
-- 
2.41.0

-------------------------------------------------------------
Test run by carll on Tue Nov 14 17:17:50 2023
Native configuration is powerpc64le-unknown-linux-gnu

		=== gdb tests ===

Schedule of variations:
    unix

Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using /home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running /home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large.exp ...
Executing on build: rm -rf /home/carll/GDB/build-ada/gdb/testsuite/outputs/gdb.ada/finish-large    (timeout = 300)
builtin_spawn -ignore SIGHUP rm -rf /home/carll/GDB/build-ada/gdb/testsuite/outputs/gdb.ada/finish-large
Switching to directory /home/carll/GDB/build-ada/gdb/testsuite/outputs/gdb.ada/finish-large (saved CWD: /home/carll/GDB/build-ada/gdb/testsuite).
Executing on host: gnatmake  p.adb  -largs  -margs  -cargs -fvar-tracking -margs -f -I/home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large -g -largs  -lm  -margs -o /home/carll/GDB/build-ada/gdb/testsuite/outputs/gdb.ada/finish-large/p     (timeout = 300)
builtin_spawn -ignore SIGHUP gnatmake p.adb -largs -margs -cargs -fvar-tracking -margs -f -I/home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large -g -largs -lm -margs -o /home/carll/GDB/build-ada/gdb/testsuite/outputs/gdb.ada/finish-large/p
gcc -c -I./ -fvar-tracking -I/home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large -g -I- /home/carll/GDB/binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large/p.adb
gcc -c -I./ -fvar-tracking -I/home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large -g -I- /home/carll/GDB/binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large/pck.adb
gnatbind -I/home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large -x p.ali
gnatlink p.ali -g -lm -o /home/carll/GDB/build-ada/gdb/testsuite/outputs/gdb.ada/finish-large/p
Switching back to /home/carll/GDB/build-ada/gdb/testsuite.
compilation failed: gcc -c -I./ -fvar-tracking -I/home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large -g -I- /home/carll/GDB/binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large/p.adb
gcc -c -I./ -fvar-tracking -I/home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large -g -I- /home/carll/GDB/binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large/pck.adb
gnatbind -I/home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large -x p.ali
gnatlink p.ali -g -lm -o /home/carll/GDB/build-ada/gdb/testsuite/outputs/gdb.ada/finish-large/p

FAIL: gdb.ada/finish-large.exp: compilation p.adb
testcase /home/carll/GDB/build-ada/gdb/testsuite/../../../binutils-gdb-ada/gdb/testsuite/gdb.ada/finish-large.exp completed in 0 seconds

		=== gdb Summary ===

# of unexpected failures	1
Executing on host: /home/carll/bin/gdb -nw -nx -q -iex "set height 0" -iex "set width 0" --version    (timeout = 300)
builtin_spawn -ignore SIGHUP /home/carll/bin/gdb -nw -nx -q -iex set height 0 -iex set width 0 --version
GNU gdb (GDB) 15.0.50.20231114-git
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
/home/carll/bin/gdb version  15.0.50.20231114-git -nw -nx -q -iex "set height 0" -iex "set width 0" 

runtest completed at Tue Nov 14 17:17:50 2023



  reply	other threads:[~2023-11-14 22:23 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-14 19:24 Carl Love
2023-11-14 19:40 ` Tom Tromey
2023-11-14 21:17   ` Carl Love
2023-11-14 22:03     ` Tom Tromey
2023-11-14 22:23       ` Carl Love [this message]
2023-11-15 15:04         ` Tom Tromey
2023-11-15 16:42           ` Carl Love
2023-11-15 17:02             ` Tom Tromey
2023-11-15 17:12               ` Carl Love
2023-11-15 17:23                 ` Keith Seitz
2023-11-15 17:29                   ` Carl Love
2023-11-15 22:59                     ` Carl Love
2023-11-16 14:02     ` Luis Machado
2023-11-16 16:11       ` Carl Love
2023-11-16 21:07         ` Tom Tromey

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=1d5e5408487d26a90cded2f599cba75ee60c2c6b.camel@linux.ibm.com \
    --to=cel@linux.ibm.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@adacore.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).