From ee622bddb62fa6f5df68036cecfb1c6460ec6499 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 7 Jan 2014 13:20:40 +0100 Subject: open_issues/gdb: 88020b8b5fe6c8e075416b3efd3d982d5e326f87 (2013-11-12) --- open_issues/gdb.mdwn | 197 +++++++++++++++++++++++++++++++++++++++------------ toolchain/logs | 2 +- 2 files changed, 154 insertions(+), 45 deletions(-) diff --git a/open_issues/gdb.mdwn b/open_issues/gdb.mdwn index db50b876..64c36ddd 100644 --- a/open_issues/gdb.mdwn +++ b/open_issues/gdb.mdwn @@ -33,8 +33,8 @@ git diff --patience --stat=$COLUMNS,$COLUMNS --patch --src-prefix=./ --dst-prefi --> -Last reviewed up to the [[Git mirror's d19fd090b7ec0a60846c52cad9fc0c24c3729565 -(2013-09-18) sources|source_repositories/gdb]]. +Last reviewed up to the [[Git mirror's 88020b8b5fe6c8e075416b3efd3d982d5e326f87 +(2013-11-12) sources|source_repositories/gdb]]. * Globally @@ -78,7 +78,7 @@ Last reviewed up to the [[Git mirror's d19fd090b7ec0a60846c52cad9fc0c24c3729565 Here's a log of a GDB build run; this is from our [[Git repository|source_repositories/gdb]]'s `tschwinge/Ferry_Tagscherer` branch, -commit d19fd090b7ec0a60846c52cad9fc0c24c3729565 (2013-09-18) plus +commit 88020b8b5fe6c8e075416b3efd3d982d5e326f87 (2013-11-12) plus `id:"87vbxxhww4.fsf@kepler.schwinge.homeip.net"`, run on kepler.SCHWINGE and coulomb.SCHWINGE. @@ -163,9 +163,6 @@ formats and more emulation vectors. gnu-nat.c: At top level: gnu-nat.c:1748:1: warning: no previous prototype for 'inf_task_died_status' [] gnu-nat.c: At top level: - gnu-nat.c:2273:1: warning: no previous prototype for 'gnu_read_inferior' [] - gnu-nat.c:2319:1: warning: no previous prototype for 'gnu_write_inferior' [] - gnu-nat.c: At top level: gnu-nat.c:3415:1: warning: no previous prototype for '_initialize_gnu_nat' [] notify_S.c:305:24: warning: no previous prototype for 'notify_server' [] notify_S.c:341:28: warning: no previous prototype for 'notify_server_routine' [] @@ -308,52 +305,98 @@ like `gdb/testsuite/boards/cc-with-tweaks.exp` would help, or setting 7939 1000 6817 7939 7939 2 144M 8.92M 93.8 5:29.23 10hrs /media/erich/home/thomas/tmp/gdb/tschwinge/Ferry_Tagscherer.build/gdb/testsuite/../../gdb/gdb -nw -nx -data-directory /media/erich/home/thomas/tmp/gdb/tschwinge/Ferry_Tagscherer.build/gdb/testsuite/../data-directory 7944 1000 7939 7944 7939 2 146M 744K 0.0 0:00.00 0:00.01 /media/erich/home/thomas/tmp/gdb/tschwinge/Ferry_Tagscherer.build/gdb/testsuite/gdb.base/interrupt - $ gdb/gdb -q gdb/gdb 7939 + $ gdb -q tmp/gdb/tschwinge/Ferry_Tagscherer.build/gdb/gdb 7961 Reading symbols from /media/erich/home/thomas/tmp/gdb/tschwinge/Ferry_Tagscherer.build/gdb/gdb...done. - Attaching to program `/media/erich/home/thomas/tmp/gdb/tschwinge/Ferry_Tagscherer.build/gdb/gdb', pid 7939 - [New Thread 7939.1] - [New Thread 7939.2] + Attaching to program `/media/erich/home/thomas/tmp/gdb/tschwinge/Ferry_Tagscherer.build/gdb/gdb', pid 7961 + [New Thread 7961.1] + [New Thread 7961.2] - warning: Can't modify tracing state for pid 7939: (ipc/rcv) timed out + warning: Can't modify tracing state for pid 7961: (ipc/rcv) timed out Reading symbols [...] (gdb) thread apply all bt full - Thread 2 (Thread 7939.2): - #0 0x014949cc in swtch_pri () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #1 0x01496354 in __spin_lock_solid () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #2 0x014aa677 in _hurd_sigstate_lock () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #3 0x014acbfb in ?? () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #4 0x014ae29e in ?? () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #5 0x014af98f in _S_catch_exception_raise () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #6 0x016442c2 in ?? () from /lib/i386-gnu/libmachuser.so.1 - No symbol table info available. - #7 0x01644344 in _S_exc_server () from /lib/i386-gnu/libmachuser.so.1 - No symbol table info available. - #8 0x014a58ec in ?? () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #9 0x01495898 in mach_msg_server_timeout () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #10 0x014959cb in mach_msg_server () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #11 0x014a597d in ?? () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #12 0x010f7956 in entry_point () from /lib/i386-gnu/libpthread.so.0.3 - No symbol table info available. - #13 0x00000000 in ?? () + Thread 2 (Thread 7961.2): + #0 0x014949cc in swtch_pri () at /build/eglibc-wYOBb2/eglibc-2.17/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + No locals. + #1 0x01496354 in __spin_lock_solid (lock=0x168100c) at spin-solid.c:26 + No locals. + #2 0x014aa677 in __spin_lock (__lock=) at ../mach/lock-intern.h:54 + No locals. + #3 _hurd_sigstate_lock (ss=0x1681808) at hurdsig.c:175 + No locals. + #4 0x014acbfb in post_signal (untraced=untraced@entry=0) at hurdsig.c:680 + err = + handler = + blocked = + __PRETTY_FUNCTION__ = "post_signal" + signo = 11 + act = 23593696 + ss = 0x1681808 + thread_state = {set = 0, basic = {gs = 1, fs = 17840912, es = 23594144, ds = 17840912, edi = 23290621, esi = 21506724, ebp = 23281960, esp = 1, ebx = 3, edx = 27255556, ecx = 23599112, eax = 163840, eip = 23273912, + cs = 29351492, efl = 29351424, uesp = 0, ss = 29351336}, fpu = {fpkind = 17840912, initialized = 29351344, + hw_state = "\364\213\002\000\000\000\000\000\000\000\000\000cfH\001\000\000\000\000\377\377\377\377\000 c\001T\244G\001\020;\020\001\b\030h\001\000\260g\001\370ݿ\001\060\357\277\001p\000\000\000\233\322e\001\220ݿ\001\216\246J\001\000\300b\001\260\341J\001\b\030h\001\000\000\000\000\000\000\000\000\000 c\001\022\000\000\000\000\200\002\000\020;\020\001\030\306b\001", exc_status = 359}} + ss_suspended = 0 + reply = 0x1bfddf4 + detail = 0x1bfde4c + #5 0x014ae29e in _hurd_internal_post_signal (ss=ss@entry=0x1681808, signo=11, detail=detail@entry=0x1bfde4c, reply_port=reply_port@entry=0, reply_port_type=reply_port_type@entry=17, untraced=untraced@entry=0) at hurdsig.c:1221 + reply_rpc = 0x165d200 <__msg_sig_post_reply> + #6 0x014af98f in _S_catch_exception_raise (port=142, thread=112, task=1, exception=1, code=2, subcode=19137735) at catch-exc.c:88 + ss = 0x1681808 + signo = 11 + d = {exc = 1, exc_code = 2, exc_subcode = 19137735, code = 2, error = EKERN_PROTECTION_FAILURE} + #7 0x016442c2 in _Xexception_raise (OutHeadP=0x1bfdf20, InHeadP=0x1bfef30) at /build/eglibc-wYOBb2/eglibc-2.17/build-tree/hurd-i386-libc/mach/mach/exc_server.c:150 + No locals. + #8 _Xexception_raise (InHeadP=0x1bfef30, OutHeadP=0x1bfdf20) at /build/eglibc-wYOBb2/eglibc-2.17/build-tree/hurd-i386-libc/mach/mach/exc_server.c:41 + In0P = 0x1bfef30 + OutP = 0x1bfdf20 + #9 0x01644344 in _S_exc_server (InHeadP=InHeadP@entry=0x1bfef30, OutHeadP=OutHeadP@entry=0x1bfdf20) at /build/eglibc-wYOBb2/eglibc-2.17/build-tree/hurd-i386-libc/mach/mach/exc_server.c:189 + InP = 0x1bfef30 + OutP = 0x1bfdf20 + routine = 0x1644220 <_Xexception_raise> + #10 0x014a58ec in msgport_server (outp=0x1bfdf20, inp=0x1bfef30) at msgportdemux.c:49 + No locals. + #11 msgport_server (inp=inp@entry=0x1bfef30, outp=outp@entry=0x1bfdf20) at msgportdemux.c:36 + d = 0x0 + #12 0x01495898 in __mach_msg_server_timeout (demux=demux@entry=0x14a5890 , max_size=max_size@entry=4096, rcv_name=rcv_name@entry=142, option=option@entry=0, timeout=timeout@entry=0) at msgserver.c:108 + request = 0x1bfef30 + reply = 0x1bfdf20 + mr = + __PRETTY_FUNCTION__ = "__mach_msg_server_timeout" + #13 0x014959cb in __mach_msg_server (demux=demux@entry=0x14a5890 , max_size=4096, rcv_name=142) at msgserver.c:195 + No locals. + #14 0x014a597d in _hurd_msgport_receive () at msgportdemux.c:67 + No locals. + #15 0x010f7956 in entry_point (self=0x8520788, start_routine=0x14a5920 <_hurd_msgport_receive>, arg=0x0) at ./pthread/pt-create.c:61 + No locals. + #16 0x00000000 in ?? () No symbol table info available. - Thread 1 (Thread 7939.1): - #0 0x014d33eb in sigreturn () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. - #1 0x014aef46 in ?? () from /lib/i386-gnu/libc.so.0.3 - No symbol table info available. + Thread 1 (Thread 7961.1): + #0 _hurd_userlink_unlink (link=0x81c2a20 ) at ../hurd/hurd/userlink.h:123 + No locals. + #1 __sigreturn (scp=0x81c2950 ) at ../sysdeps/mach/hurd/i386/sigreturn.c:47 + link = 0x81c2a20 + reply_port = + #2 0x014aef46 in trampoline () from /lib/i386-gnu/libc.so.0.3 + No locals. + #3 0x081c2950 in ?? () at ../../Ferry_Tagscherer/gdb/event-top.c:869 + sigtstp_token = 0x860a7c0 + sighup_token = 0x86089e0 + more_to_come = 0 + sigfpe_token = 0x860a7a8 + sigquit_token = 0x86089c8 + sigint_token = 0x860a3b0 + call_readline = 0x81c2ab0 + exec_done_display_p = 0 + input_handler = 0x81c2c50 + async_command_editing_p = 1 + after_char_processing_hook = 0x0 + async_annotation_suffix = 0x83d8648 "prompt" + input_fd = 0 + readline_input_state = {linebuffer = 0x0, linebuffer_ptr = 0x0} Backtrace stopped: previous frame inner to this frame (corrupt stack?) + (gdb) kill + Kill the program being debugged? (y or n) y * `gdb.base/readline.exp` @@ -662,6 +705,72 @@ like `gdb/testsuite/boards/cc-with-tweaks.exp` would help, or setting TODO. + * `gdb.base/exitsignal.exp` + + Running ../../../Ferry_Tagscherer/gdb/testsuite/gdb.base/exitsignal.exp ... + PASS: gdb.base/exitsignal.exp: $_exitsignal is void before running + PASS: gdb.base/exitsignal.exp: $_exitcode is void before running + PASS: gdb.base/exitsignal.exp: trigger SIGSEGV + PASS: gdb.base/exitsignal.exp: program terminated with SIGSEGV + FAIL: gdb.base/exitsignal.exp: $_exitsignal is 11 (SIGSEGV) after SIGSEGV. + PASS: gdb.base/exitsignal.exp: $_exitcode is still void after SIGSEGV + PASS: gdb.base/exitsignal.exp: rerun to main + FAIL: gdb.base/exitsignal.exp: $_exitsignal is 11 (SIGSEGV) after restarting the inferior + PASS: gdb.base/exitsignal.exp: $_exitcode is still void after restarting the inferior + PASS: gdb.base/exitsignal.exp: $_exitsignal is void before normal inferior is executed + PASS: gdb.base/exitsignal.exp: $_exitcode is void before normal inferior is executed + PASS: gdb.base/exitsignal.exp: continue until exit + PASS: gdb.base/exitsignal.exp: $_exitcode is zero after normal inferior is executed + PASS: gdb.base/exitsignal.exp: $_exitsignal is still void after normal inferior is executed + + TODO. + + * `gdb.pascal` + + Both on coulomb.SCHWINGE and kepler.SCHWINGE: + + Running ../../../Ferry_Tagscherer/gdb/testsuite/gdb.pascal/print.exp ... + PASS: gdb.pascal/print.exp: set language pascal + PASS: gdb.pascal/print.exp: set language to "pascal" + -PASS: gdb.pascal/print.exp: check fp + text + -PASS: gdb.pascal/print.exp: p 1. + -PASS: gdb.pascal/print.exp: p 1.5 + -PASS: gdb.pascal/print.exp: p 1.f + -PASS: gdb.pascal/print.exp: p 1.5f + -PASS: gdb.pascal/print.exp: p 1.l + -PASS: gdb.pascal/print.exp: p 1.5l + -PASS: gdb.pascal/print.exp: p 0x1.1 + +FAIL: gdb.pascal/print.exp: check fp + text + +FAIL: gdb.pascal/print.exp: p 1. + +FAIL: gdb.pascal/print.exp: p 1.5 + +FAIL: gdb.pascal/print.exp: p 1.f + +FAIL: gdb.pascal/print.exp: p 1.5f + +FAIL: gdb.pascal/print.exp: p 1.l + +FAIL: gdb.pascal/print.exp: p 1.5l + +FAIL: gdb.pascal/print.exp: p 0x1.1 + PASS: gdb.pascal/print.exp: reject p 1.1x + PASS: gdb.pascal/print.exp: reject p 1.1ff + PASS: gdb.pascal/print.exp: reject p 1.1ll + Running ../../../Ferry_Tagscherer/gdb/testsuite/gdb.pascal/types.exp ... + PASS: gdb.pascal/types.exp: set language pascal + PASS: gdb.pascal/types.exp: set language to "pascal" + -PASS: gdb.pascal/types.exp: pt 123 + +FAIL: gdb.pascal/types.exp: pt 123 + PASS: gdb.pascal/types.exp: pt TRUE + PASS: gdb.pascal/types.exp: pt FALSE + PASS: gdb.pascal/types.exp: pt 'a' + KFAIL: gdb.pascal/types.exp: pt 'a simple string' (PRMS: gdb/2326) + -PASS: gdb.pascal/types.exp: pt .44 + -PASS: gdb.pascal/types.exp: pt 44.0 + -PASS: gdb.pascal/types.exp: pt 10e20 + -PASS: gdb.pascal/types.exp: pt 10E20 + +FAIL: gdb.pascal/types.exp: pt .44 + +FAIL: gdb.pascal/types.exp: pt 44.0 + +FAIL: gdb.pascal/types.exp: pt 10e20 + +FAIL: gdb.pascal/types.exp: pt 10E20 + + TODO. + TODO. diff --git a/toolchain/logs b/toolchain/logs index 2b8e7e6c..9ee292d4 160000 --- a/toolchain/logs +++ b/toolchain/logs @@ -1 +1 @@ -Subproject commit 2b8e7e6c199575f9d7749d7e7f44aba49e6d06d4 +Subproject commit 9ee292d45f9909e4c16f4cab282a5d73067bcb2f -- cgit v1.2.3