|
Jan Kratochvil |
dd7d988 |
http://sourceware.org/ml/gdb-patches/2016-04/msg00181.html
|
|
Jan Kratochvil |
dd7d988 |
Subject: [testsuite patch] Fix 7.11 regression: gdb.dwarf2/dw2-undefined-ret-addr.exp [now with the patch]
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
--oyUTqETQ0mS9luUI
|
|
Jan Kratochvil |
dd7d988 |
Content-Type: text/plain; charset=us-ascii
|
|
Jan Kratochvil |
dd7d988 |
Content-Disposition: inline
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
Hi,
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
a038fa3e14a477d4d72a26c2e139fa47d2774be2 is the first bad commit
|
|
Jan Kratochvil |
dd7d988 |
commit a038fa3e14a477d4d72a26c2e139fa47d2774be2
|
|
Jan Kratochvil |
dd7d988 |
Author: Markus Metzger <markus.t.metzger@intel.com>
|
|
Jan Kratochvil |
dd7d988 |
stack: check frame_unwind_caller_id
|
|
Jan Kratochvil |
dd7d988 |
[PATCH v3 2/3] stack: check frame_unwind_caller_id
|
|
Jan Kratochvil |
dd7d988 |
https://sourceware.org/ml/gdb-patches/2016-02/msg00363.html
|
|
Jan Kratochvil |
dd7d988 |
Message-Id: <1455207283-12660-2-git-send-email-markus.t.metzger@intel.com>
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
(gdb) PASS: gdb.dwarf2/dw2-undefined-ret-addr.exp: up refuses to go up
|
|
Jan Kratochvil |
dd7d988 |
info frame
|
|
Jan Kratochvil |
dd7d988 |
Stack level 0, frame at 0x0:
|
|
Jan Kratochvil |
dd7d988 |
- rip = 0x40059a in stop_frame (dw2-undefined-ret-addr.c:22); saved rip = <not saved>
|
|
Jan Kratochvil |
dd7d988 |
+ rip = 0x40059a in stop_frame (dw2-undefined-ret-addr.c:22); saved rip = <unavailable>
|
|
Jan Kratochvil |
dd7d988 |
Outermost frame: outermost
|
|
Jan Kratochvil |
dd7d988 |
source language c.
|
|
Jan Kratochvil |
dd7d988 |
Arglist at 0x7fffffffd610, args:
|
|
Jan Kratochvil |
dd7d988 |
Locals at 0x7fffffffd610, Previous frame's sp is 0x7fffffffd620
|
|
Jan Kratochvil |
dd7d988 |
Saved registers:
|
|
Jan Kratochvil |
dd7d988 |
rbp at 0x7fffffffd610
|
|
Jan Kratochvil |
dd7d988 |
-(gdb) PASS: gdb.dwarf2/dw2-undefined-ret-addr.exp: info frame
|
|
Jan Kratochvil |
dd7d988 |
+(gdb) FAIL: gdb.dwarf2/dw2-undefined-ret-addr.exp: info frame
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
It happens on normal native Fedora 23 x86_64.
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
I am not completely sure about the reasons but it looks to me GDB behavior has
|
|
Jan Kratochvil |
dd7d988 |
just changed.
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
OK for check-in?
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
Thanks,
|
|
Jan Kratochvil |
dd7d988 |
Jan
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
--oyUTqETQ0mS9luUI
|
|
Jan Kratochvil |
dd7d988 |
Content-Type: text/plain; charset=us-ascii
|
|
Jan Kratochvil |
dd7d988 |
Content-Disposition: inline; filename=1
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
gdb/testsuite/ChangeLog
|
|
Jan Kratochvil |
dd7d988 |
2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
* gdb.dwarf2/dw2-undefined-ret-addr.exp: Expect <unavailable>.
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-undefined-ret-addr.exp b/gdb/testsuite/gdb.dwarf2/dw2-undefined-ret-addr.exp
|
|
Jan Kratochvil |
dd7d988 |
index c666584..e43054b 100644
|
|
Jan Kratochvil |
dd7d988 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-undefined-ret-addr.exp
|
|
Jan Kratochvil |
dd7d988 |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-undefined-ret-addr.exp
|
|
Jan Kratochvil |
dd7d988 |
@@ -48,7 +48,7 @@ gdb_test "up" \
|
|
Jan Kratochvil |
dd7d988 |
# doesn't cause an error, and shows "<not saved>".
|
|
Jan Kratochvil |
dd7d988 |
gdb_test "info frame" [multi_line \
|
|
Jan Kratochvil |
dd7d988 |
"Stack level 0, frame at $hex\:" \
|
|
Jan Kratochvil |
dd7d988 |
- " rip = $hex in stop_frame \\(dw2-undefined-ret-addr\\.c:22\\); saved rip = <not saved>" \
|
|
Jan Kratochvil |
dd7d988 |
+ " rip = $hex in stop_frame \\(dw2-undefined-ret-addr\\.c:22\\); saved rip = <unavailable>" \
|
|
Jan Kratochvil |
dd7d988 |
" Outermost frame: outermost" \
|
|
Jan Kratochvil |
dd7d988 |
" source language c\\." \
|
|
Jan Kratochvil |
dd7d988 |
" Arglist at $hex, args\: " \
|
|
Jan Kratochvil |
dd7d988 |
|
|
Jan Kratochvil |
dd7d988 |
--oyUTqETQ0mS9luUI--
|
|
Jan Kratochvil |
dd7d988 |
|