This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[obv] Fix new FAIL on 64-bit targets [Re: [PATCH 1/3] Test of breakpoint output for dprintf]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Fri, 11 Jan 2013 16:21:51 +0100
- Subject: [obv] Fix new FAIL on 64-bit targets [Re: [PATCH 1/3] Test of breakpoint output for dprintf]
- References: <1355285581-28889-1-git-send-email-yao@codesourcery.com> <1355285581-28889-2-git-send-email-yao@codesourcery.com> <87vcb6w0v7.fsf@fleche.redhat.com> <20130110054342.GI6143@adacore.com> <50EED5CD.9020802@codesourcery.com>
On Thu, 10 Jan 2013 15:53:01 +0100, Yao Qi wrote:
> * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
> for dprintf.
> * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
> Check the fields in "=breakpoint-created" for dprintf.
It has FAIL on 64-bit targets:
gdb_expect_list pattern: /[^M
]Num Type Disp Enb Address What/
info breakpoints^M
Num Type Disp Enb Address What^M
2 breakpoint keep y 0x0000000000400743 in main at ./gdb.base/dprintf.c:33^M
[...]
(gdb) FAIL: gdb.base/dprintf.exp: dprintf info 1 (pattern 1)
Checked in as obvious.
Thanks,
Jan
http://sourceware.org/ml/gdb-cvs/2013-01/msg00059.html
--- src/gdb/testsuite/ChangeLog 2013/01/11 00:31:56 1.3500
+++ src/gdb/testsuite/ChangeLog 2013/01/11 15:21:13 1.3501
@@ -1,3 +1,8 @@
+2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
+ targets.
+
2013-01-11 Yao Qi <yao@codesourcery.com>
* gdb.base/dprintf.exp: Check the output of 'info breakpoints'
--- src/gdb/testsuite/gdb.base/dprintf.exp 2013/01/11 00:31:58 1.7
+++ src/gdb/testsuite/gdb.base/dprintf.exp 2013/01/11 15:21:14 1.8
@@ -44,7 +44,7 @@
"Dprintf .*"
gdb_test_sequence "info breakpoints" "dprintf info 1" {
- "\[\r\n\]Num Type Disp Enb Address What"
+ "\[\r\n\]Num Type Disp Enb Address +What"
"\[\r\n\]2 breakpoint"
"\[\r\n\]3 dprintf"
"\[\r\n\] printf \"At foo entry\\\\n\""