From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24995 invoked by alias); 5 Mar 2012 21:21:48 -0000 Received: (qmail 24987 invoked by uid 22791); 5 Mar 2012 21:21:44 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Mar 2012 21:21:29 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q25LL6ed031418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 5 Mar 2012 16:21:07 -0500 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q25LL3N7028552 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 5 Mar 2012 16:21:04 -0500 From: Tom Tromey To: Joel Brobecker Cc: gdb-patches@sourceware.org Subject: Re: RFA: two Ada tests -vs- debug-file-directory References: <87y5revka9.fsf@fleche.redhat.com> <20120305210413.GK2853@adacore.com> Date: Mon, 05 Mar 2012 21:21:00 -0000 In-Reply-To: <20120305210413.GK2853@adacore.com> (Joel Brobecker's message of "Mon, 5 Mar 2012 13:04:13 -0800") Message-ID: <87ipiivj5s.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00164.txt.bz2 --=-=-= Content-Type: text/plain Content-length: 304 Joel> That would work for me. Thanks, I'm going to check it in. Joel> Do you still have a copy of the failures somewhere? I'd be interested Joel> in knowing what they are, to see if it's a weakness in the testcase Joel> or a real bug... I've attached gdb.log for a failing run of the two tests. Tom --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=gdb.log Content-Transfer-Encoding: 8bit Content-Description: gdb.log Content-length: 27013 Test Run By tromey on Mon Mar 5 14:19:51 2012 Native configuration is x86_64-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 ../../../archer/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file. Running ../../../archer/gdb/testsuite/gdb.ada/mi_task_arg.exp ... Executing on host: gnatmake task_switch.adb -gnata -P../../../archer/gdb/testsuite/gdb.ada/gnat_ada -XSRC=mi_task_arg -XOBJ=/home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/mi_task_arg -g -lm -o /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/mi_task_arg/task_switch (timeout = 300) spawn -ignore SIGHUP gnatmake task_switch.adb -gnata -P../../../archer/gdb/testsuite/gdb.ada/gnat_ada -XSRC=mi_task_arg -XOBJ=/home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/mi_task_arg -g -lm -o /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/mi_task_arg/task_switch gnatmake: "/home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/mi_task_arg/task_switch" up to date. output is: gnatmake: "/home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/mi_task_arg/task_switch" up to date. PASS: gdb.ada/mi_task_arg.exp: compilation task_switch.adb spawn /home/tromey/gnu/archer/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/tromey/gnu/archer/build/gdb/testsuite/../data-directory -i=mi =thread-group-added,id="i1" ~"GNU gdb (GDB) 7.4.50.20120305-cvs\n" ~"Copyright (C) 2012 Free Software Foundation, Inc.\n" ~"License GPLv3+: GNU GPL version 3 or later \nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n" ~"This GDB was configured as \"x86_64-unknown-linux-gnu\".\nFor bug reporting instructions, please see:\n" ~".\n" (gdb) 100-gdb-set height 0 100^done (gdb) 101-gdb-set width 0 101^done (gdb) show target-async &"show target-async\n" ~"Controlling the inferior in asynchronous mode is off.\n" ^done (gdb) 102-break-delete 102^done (gdb) 103-break-list 103^done,BreakpointTable={nr_rows="0",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[]} (gdb) 104-environment-directory -r 104^done,source-path="$cdir:$cwd" (gdb) 105-environment-directory ../../../archer/gdb/testsuite/gdb.ada 105^done,source-path="/home/tromey/gnu/archer/build/gdb/testsuite/../../../archer/gdb/testsuite/gdb.ada:$cdir:$cwd" (gdb) 105-file-exec-and-symbols /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/mi_task_arg/task_switch 105^done (gdb) Expecting: ^(200-break-insert -t task_switch\.break_me[ ]+)?(200\^done,bkpt={number="[0-9]+",type="breakpoint",disp="del",enabled="y",addr="0x[0-9A-Fa-f]+",func="task_switch.break_me(\(.*\))?",file=".*",line="[0-9]*",times="0",original-location=".*"}[ ]+[(]gdb[)] [ ]*) 200-break-insert -t task_switch.break_me 200^done,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x0000000000403018",func="task_switch.break_me",file="/home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/mi_task_arg/task_switch.adb",fullname="/home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/mi_task_arg/task_switch.adb",line="57",times="0",original-location="task_switch.break_me"} (gdb) PASS: gdb.ada/mi_task_arg.exp: breakpoint at task_switch.break_me 220-exec-run =thread-group-started,id="i1",pid="11251" =thread-created,id="1",group-id="i1" 220^running *running,thread-id="all" (gdb) mi_expect_stop: expecting: \*stopped,reason="breakpoint-hit",disp="del",bkptno="[0-9]+",frame={addr="0x[0-9A-Fa-f]+",func="task_switch.break_me",args=\[.*\],(?:file="[^ ]*.*",fullname="(/[^\n]*/|\\\\[^\\]+\\[^\n]+\\|\\[^\\][^\n]*\\|[a-zA-Z]:[^\n]*\\).*",line="[0-9]+"|from=".*")},thread-id="[0-9]+",stopped-threads=[^ ]* (=thread-selected,id="[0-9]+" |=(?:breakpoint-created|breakpoint-deleted)[^ ]+" )*[(]gdb[)] $ =library-loaded,id="/lib64/ld-linux-x86-64.so.2",target-name="/lib64/ld-linux-x86-64.so.2",host-name="/lib64/ld-linux-x86-64.so.2",symbols-loaded="0",thread-group="i1" =library-loaded,id="/usr/lib64/libgnarl-4.6.so",target-name="/usr/lib64/libgnarl-4.6.so",host-name="/usr/lib64/libgnarl-4.6.so",symbols-loaded="0",thread-group="i1" =library-loaded,id="/usr/lib64/libgnat-4.6.so",target-name="/usr/lib64/libgnat-4.6.so",host-name="/usr/lib64/libgnat-4.6.so",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib64/libpthread.so.0",target-name="/lib64/libpthread.so.0",host-name="/lib64/libpthread.so.0",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib64/libc.so.6",target-name="/lib64/libc.so.6",host-name="/lib64/libc.so.6",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib64/librt.so.1",target-name="/lib64/librt.so.1",host-name="/lib64/librt.so.1",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib64/libgcc_s.so.1",target-name="/lib64/libgcc_s.so.1",host-name="/lib64/libgcc_s.so.1",symbols-loaded="0",thread-group="i1" =library-loaded,id="/lib64/libm.so.6",target-name="/lib64/libm.so.6",host-name="/lib64/libm.so.6",symbols-loaded="0",thread-group="i1" ~"[Thread debugging using libthread_db enabled]\n" ~"Using host libthread_db library \"/lib64/libthread_db.so.1\".\n" =thread-created,id="2",group-id="i1" ~"[New Thread 0x7ffff7887700 (LWP 11254)]\n" *running,thread-id="all" =thread-created,id="3",group-id="i1" ~"[New Thread 0x7ffff7683700 (LWP 11255)]\n" *running,thread-id="all" =breakpoint-modified,bkpt={number="1",type="breakpoint",disp="del",enabled="y",addr="0x0000000000403018",func="task_switch.break_me",file="/home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/mi_task_arg/task_switch.adb",fullname="/home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/mi_task_arg/task_switch.adb",line="57",times="1",original-location="task_switch.break_me"} ~"[Switching to Thread 0x7ffff7683700 (LWP 11255)]\n" *stopped,reason="breakpoint-hit",disp="del",bkptno="1",frame={addr="0x0000000000403018",func="task_switch.break_me",args=[],file="/home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/mi_task_arg/task_switch.adb",fullname="/home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/mi_task_arg/task_switch.adb",line="57"},thread-id="3",stopped-threads="all",core="1" =breakpoint-deleted,id="1" (gdb) PASS: gdb.ada/mi_task_arg.exp: mi runto task_switch.break_me Expecting: ^(-stack-list-arguments 1[ ]+)?(\^done,stack-args=\[frame={level="0",args=\[\]},frame={level="1",args=\[{name="<_task>",value="0x[0-9A-Fa-f]+"}\]},frame={level="2",args=\[\]}.*[ ]+[(]gdb[)] [ ]*) -stack-list-arguments 1 ^done,stack-args=[frame={level="0",args=[]},frame={level="1",args=[{name="<_task>",value="0x60e3e0"}]},frame={level="2",args=[{name="self_id",value="0x60e400"}]},frame={level="3",args=[{name="arg",value="0x7ffff7683700"}]},frame={level="4",args=[]}] (gdb) FAIL: gdb.ada/mi_task_arg.exp: -stack-list-arguments 1 testcase ../../../archer/gdb/testsuite/gdb.ada/mi_task_arg.exp completed in 1 seconds Running ../../../archer/gdb/testsuite/gdb.ada/operator_bp.exp ... Executing on host: gnatmake ops_test.adb -P../../../archer/gdb/testsuite/gdb.ada/gnat_ada -XSRC=operator_bp -XOBJ=/home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp -g -lm -o /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test (timeout = 300) spawn -ignore SIGHUP gnatmake ops_test.adb -P../../../archer/gdb/testsuite/gdb.ada/gnat_ada -XSRC=operator_bp -XOBJ=/home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp -g -lm -o /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test gnatmake: "/home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test" up to date. output is: gnatmake: "/home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test" up to date. PASS: gdb.ada/operator_bp.exp: compilation ops_test.adb spawn /home/tromey/gnu/archer/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/tromey/gnu/archer/build/gdb/testsuite/../data-directory GNU gdb (GDB) 7.4.50.20120305-cvs Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: . (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir ../../../archer/gdb/testsuite/gdb.ada Source directories searched: /home/tromey/gnu/archer/build/gdb/testsuite/../../../archer/gdb/testsuite/gdb.ada:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test Reading symbols from /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break ops_test.adb:20 Breakpoint 1 at 0x4013a5: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops_test.adb, line 20. (gdb) run Starting program: /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test Breakpoint 1, ops_test () at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops_test.adb:20 20 Dummy (Make (31) + Make (11)); -- BEGIN (gdb) break "+" Breakpoint 2 at 0x401176: "+". (80 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "+" break "-" Breakpoint 3 at 0x40118f: "-". (75 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "-" break "*" Breakpoint 4 at 0x4011ac: "*". (70 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "*" break "/" Breakpoint 5 at 0x4011c8: "/". (49 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "/" break "mod" Breakpoint 6 at 0x4011f8: "mod". (2 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "mod" break "rem" Breakpoint 7 at 0x40122a: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 50. (gdb) PASS: gdb.ada/operator_bp.exp: break "rem" break "**" Breakpoint 8 at 0x401258: "**". (35 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "**" break "<" Breakpoint 9 at 0x40129a: "<". (18 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "<" break "<=" Breakpoint 10 at 0x4012af: "<=". (18 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "<=" break ">" Breakpoint 11 at 0x4012c4: ">". (18 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break ">" break ">=" Breakpoint 12 at 0x4012d9: ">=". (18 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break ">=" break "=" Breakpoint 13 at 0x4012ee: "=". (18 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "=" break "and" Breakpoint 14 at 0x401303: "and". (10 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "and" break "or" Breakpoint 15 at 0x401317: "or". (19 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "or" break "xor" Breakpoint 16 at 0x40132b: "xor". (10 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "xor" break "&" Breakpoint 17 at 0x40133f: "&". (25 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "&" break "abs" Breakpoint 18 at 0x401350: "abs". (7 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "abs" break "not" Breakpoint 19 at 0x40135c: "not". (11 locations) (gdb) FAIL: gdb.ada/operator_bp.exp: break "not" continue Continuing. Breakpoint 2, ops."+" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:25 25 return Int (IntRep (I1) + IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "+" continue Continuing. Breakpoint 3, ops."-" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:30 30 return Int (IntRep (I1) - IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "-" continue Continuing. Breakpoint 4, ops."*" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:35 35 return Int (IntRep (I1) * IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "*" continue Continuing. Breakpoint 5, ops."/" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:40 40 return Int (IntRep (I1) / IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "/" continue Continuing. Breakpoint 6, ops."mod" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:45 45 return Int (IntRep (I1) mod IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "mod" continue Continuing. Breakpoint 7, ops."rem" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:50 50 return Int (IntRep (I1) rem IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "rem" continue Continuing. Breakpoint 8, ops."**" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:54 54 Result : IntRep := 1; (gdb) PASS: gdb.ada/operator_bp.exp: continue to "**" continue Continuing. Breakpoint 9, ops."<" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:64 64 return IntRep (I1) < IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "<" continue Continuing. Breakpoint 10, ops."<=" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:69 69 return IntRep (I1) <= IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "<=" continue Continuing. Breakpoint 11, ops.">" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:74 74 return IntRep (I1) > IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ">" continue Continuing. Breakpoint 12, ops.">=" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:79 79 return IntRep (I1) >= IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ">=" continue Continuing. Breakpoint 13, ops."=" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:84 84 return IntRep (I1) = IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "=" continue Continuing. Breakpoint 14, ops."and" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:89 89 return Int (IntRep (I1) and IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "and" continue Continuing. Breakpoint 15, ops."or" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:94 94 return Int (IntRep (I1) or IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "or" continue Continuing. Breakpoint 16, ops."xor" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:99 99 return Int (IntRep (I1) xor IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "xor" continue Continuing. Breakpoint 17, ops."&" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:104 104 return Int (IntRep (I1) and IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "&" continue Continuing. Breakpoint 18, ops."abs" (i1=42) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:109 109 return Int (abs IntRep (I1)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "abs" continue Continuing. Breakpoint 19, ops."not" (i1=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:114 114 return Int (not IntRep (I1)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to "not" spawn /home/tromey/gnu/archer/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/tromey/gnu/archer/build/gdb/testsuite/../data-directory GNU gdb (GDB) 7.4.50.20120305-cvs Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: . (gdb) set height 0 (gdb) set width 0 (gdb) dir Reinitialize source path to empty? (y or n) y Source directories searched: $cdir:$cwd (gdb) dir ../../../archer/gdb/testsuite/gdb.ada Source directories searched: /home/tromey/gnu/archer/build/gdb/testsuite/../../../archer/gdb/testsuite/gdb.ada:$cdir:$cwd (gdb) kill The program is not being run. (gdb) file /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test Reading symbols from /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test...done. (gdb) delete breakpoints (gdb) info breakpoints No breakpoints or watchpoints. (gdb) break ops_test.adb:20 Breakpoint 1 at 0x4013a5: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops_test.adb, line 20. (gdb) run Starting program: /home/tromey/gnu/archer/build/gdb/testsuite/gdb.ada/operator_bp/ops_test Breakpoint 1, ops_test () at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops_test.adb:20 20 Dummy (Make (31) + Make (11)); -- BEGIN (gdb) break ops."+" Breakpoint 2 at 0x401176: ops."+". (2 locations) (gdb) PASS: gdb.ada/operator_bp.exp: break ops."+" break ops."-" Breakpoint 3 at 0x40118f: ops."-". (2 locations) (gdb) PASS: gdb.ada/operator_bp.exp: break ops."-" break ops."*" Breakpoint 4 at 0x4011ac: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 35. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."*" break ops."/" Breakpoint 5 at 0x4011c8: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 40. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."/" break ops."mod" Breakpoint 6 at 0x4011f8: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 45. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."mod" break ops."rem" Breakpoint 7 at 0x40122a: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 50. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."rem" break ops."**" Breakpoint 8 at 0x401258: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 54. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."**" break ops."<" Breakpoint 9 at 0x40129a: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 64. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."<" break ops."<=" Breakpoint 10 at 0x4012af: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 69. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."<=" break ops.">" Breakpoint 11 at 0x4012c4: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 74. (gdb) PASS: gdb.ada/operator_bp.exp: break ops.">" break ops.">=" Breakpoint 12 at 0x4012d9: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 79. (gdb) PASS: gdb.ada/operator_bp.exp: break ops.">=" break ops."=" Breakpoint 13 at 0x4012ee: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 84. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."=" break ops."and" Breakpoint 14 at 0x401303: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 89. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."and" break ops."or" Breakpoint 15 at 0x401317: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 94. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."or" break ops."xor" Breakpoint 16 at 0x40132b: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 99. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."xor" break ops."&" Breakpoint 17 at 0x40133f: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 104. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."&" break ops."abs" Breakpoint 18 at 0x401350: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 109. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."abs" break ops."not" Breakpoint 19 at 0x40135c: file /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb, line 114. (gdb) PASS: gdb.ada/operator_bp.exp: break ops."not" continue Continuing. Breakpoint 2, ops."+" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:25 25 return Int (IntRep (I1) + IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."+" continue Continuing. Breakpoint 3, ops."-" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:30 30 return Int (IntRep (I1) - IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."-" continue Continuing. Breakpoint 4, ops."*" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:35 35 return Int (IntRep (I1) * IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."*" continue Continuing. Breakpoint 5, ops."/" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:40 40 return Int (IntRep (I1) / IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."/" continue Continuing. Breakpoint 6, ops."mod" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:45 45 return Int (IntRep (I1) mod IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."mod" continue Continuing. Breakpoint 7, ops."rem" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:50 50 return Int (IntRep (I1) rem IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."rem" continue Continuing. Breakpoint 8, ops."**" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:54 54 Result : IntRep := 1; (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."**" continue Continuing. Breakpoint 9, ops."<" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:64 64 return IntRep (I1) < IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."<" continue Continuing. Breakpoint 10, ops."<=" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:69 69 return IntRep (I1) <= IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."<=" continue Continuing. Breakpoint 11, ops.">" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:74 74 return IntRep (I1) > IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops.">" continue Continuing. Breakpoint 12, ops.">=" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:79 79 return IntRep (I1) >= IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops.">=" continue Continuing. Breakpoint 13, ops."=" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:84 84 return IntRep (I1) = IntRep (I2); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."=" continue Continuing. Breakpoint 14, ops."and" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:89 89 return Int (IntRep (I1) and IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."and" continue Continuing. Breakpoint 15, ops."or" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:94 94 return Int (IntRep (I1) or IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."or" continue Continuing. Breakpoint 16, ops."xor" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:99 99 return Int (IntRep (I1) xor IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."xor" continue Continuing. Breakpoint 17, ops."&" (i1=31, i2=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:104 104 return Int (IntRep (I1) and IntRep (I2)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."&" continue Continuing. Breakpoint 18, ops."abs" (i1=42) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:109 109 return Int (abs IntRep (I1)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."abs" continue Continuing. Breakpoint 19, ops."not" (i1=11) at /home/tromey/gnu/archer/archer/gdb/testsuite/gdb.ada/operator_bp/ops.adb:114 114 return Int (not IntRep (I1)); (gdb) PASS: gdb.ada/operator_bp.exp: continue to ops."not" testcase ../../../archer/gdb/testsuite/gdb.ada/operator_bp.exp completed in 2 seconds === gdb Summary === # of expected passes 59 # of unexpected failures 18 Executing on host: /home/tromey/gnu/archer/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/tromey/gnu/archer/build/gdb/testsuite/../data-directory --version (timeout = 300) spawn -ignore SIGHUP /home/tromey/gnu/archer/build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /home/tromey/gnu/archer/build/gdb/testsuite/../data-directory --version GNU gdb (GDB) 7.4.50.20120305-cvs Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu". For bug reporting instructions, please see: . /home/tromey/gnu/archer/build/gdb/testsuite/../../gdb/gdb version 7.4.50.20120305-cvs -nw -nx -data-directory /home/tromey/gnu/archer/build/gdb/testsuite/../data-directory runtest completed at Mon Mar 5 14:19:54 2012 --=-=-=--