From: Vladimir Prus <ghost@cs.msu.su>
To: Jan Kratochvil <jan.kratochvil@redhat.com>,
gdb-patches@sources.redhat.com
Subject: Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32)
Date: Fri, 30 Nov 2007 07:42:00 -0000 [thread overview]
Message-ID: <E1Iy0Vd-0006lL-64@zigzag.lvk.cs.msu.su> (raw)
In-Reply-To: <20071124154339.GA14913@host0.dyn.jankratochvil.net>
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
Jan Kratochvil wrote:
> On Tue, 09 Oct 2007 20:59:31 +0200, Daniel Jacobowitz wrote:
> ...
>> Does that work with the default linker script and without -nostdlib?
>
> Attached the patch with the testcase no longer using its own .lds.
Jan,
I'm afraid this patch causes the following regression for me:
FAIL: gdb.threads/thread_check.exp: breakpoint at tf
This FAIL disappears as soon as I revert to revision 1.236 of
gdb/dwarf2read.c -- right before your changes. Do you see the same
failure?
I attach the gdb.log, if that helps.
Thanks,
Volodya
[-- Attachment #2: gdb.log --]
[-- Type: text/plain, Size: 4669 bytes --]
Test Run By ghost on Fri Nov 30 10:39:14 2007
Native configuration is i686-pc-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/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/config/unix.exp as tool-and-target-specific interface file.
Running /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads/thread_check.exp ...
Executing on host: gcc /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads/thread_check.c -I/home/ghost/Build/gdb_ericsson/gdb/testsuite -g -lpthreads -lm -o /home/ghost/Build/gdb_ericsson/gdb/testsuite/gdb.threads/thread_check (timeout = 300)
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
compiler exited with status 1
output is:
/usr/bin/ld: cannot find -lpthreads
collect2: ld returned 1 exit status
Executing on host: gcc /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads/thread_check.c -I/home/ghost/Build/gdb_ericsson/gdb/testsuite -g -lpthread -lm -o /home/ghost/Build/gdb_ericsson/gdb/testsuite/gdb.threads/thread_check (timeout = 300)
PASS: gdb.threads/thread_check.exp: successfully compiled posix threads test case
GNU gdb 6.7.50.20071127-cvs
Copyright (C) 2007 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. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
(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 /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads
Source directories searched: /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads:$cdir:$cwd
(gdb) kill
The program is not being run.
(gdb) file /home/ghost/Build/gdb_ericsson/gdb/testsuite/gdb.threads/thread_check
Reading symbols from /home/ghost/Build/gdb_ericsson/gdb/testsuite/gdb.threads/thread_check...done.
(gdb) delete breakpoints
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) break main
Breakpoint 1 at 0x804863b: file /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads/thread_check.c, line 50.
(gdb) run
Starting program: /home/ghost/Build/gdb_ericsson/gdb/testsuite/gdb.threads/thread_check
[Thread debugging using libthread_db enabled]
[New Thread 0x401b76c0 (LWP 11072)]
[Switching to Thread 0x401b76c0 (LWP 11072)]
Breakpoint 1, main () at /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads/thread_check.c:50
50 int unslept = 2;
(gdb) break tf
Breakpoint 2 at 0x804856d
(gdb) FAIL: gdb.threads/thread_check.exp: breakpoint at tf
continue
Continuing.
[New Thread 0x403b8b90 (LWP 11075)]
[Switching to Thread 0x403b8b90 (LWP 11075)]
Breakpoint 2, 0x0804856d in tf (arg=0xa8428197) at /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads/thread_check.c:31
31 {
(gdb) PASS: gdb.threads/thread_check.exp: continue to tf
backtrace
#0 0x0804856d in tf (arg=0xa8428197) at /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads/thread_check.c:31
#1 0x4003c31b in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#2 0x4014557e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) PASS: gdb.threads/thread_check.exp: backtrace from thread function
delete breakpoints
Delete all breakpoints? (y or n) y
(gdb) info breakpoints
No breakpoints or watchpoints.
(gdb) testcase /home/ghost/Work/CodeSourcery/Projects/egdb/gdb/gdb/testsuite/gdb.threads/thread_check.exp completed in 1 seconds
=== gdb Summary ===
# of expected passes 3
# of unexpected failures 1
Executing on host: /home/ghost/Build/gdb_ericsson/gdb/testsuite/../../gdb/gdb -nw --command gdb_cmd (timeout = 300)
GNU gdb 6.7.50.20071127-cvs
Copyright (C) 2007 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. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
Hi
/home/ghost/Build/gdb_ericsson/gdb/testsuite/../../gdb/gdb version 6.7.50.20071127-cvs -nx
runtest completed at Fri Nov 30 10:39:16 2007
next prev parent reply other threads:[~2007-11-30 7:42 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-09 18:17 Jan Kratochvil
2007-10-09 18:22 ` Daniel Jacobowitz
2007-10-09 18:59 ` Jan Kratochvil
2007-10-09 19:13 ` Daniel Jacobowitz
2007-11-24 15:43 ` Jan Kratochvil
2007-11-25 14:48 ` Daniel Jacobowitz
2007-11-30 7:42 ` Vladimir Prus [this message]
2007-11-30 11:10 ` Jan Kratochvil
2007-11-30 14:56 ` Daniel Jacobowitz
2007-11-30 15:09 ` Jan Kratochvil
2007-12-01 0:55 ` Jim Blandy
2007-12-01 17:30 ` Joel Brobecker
2007-12-09 20:40 ` [patch] Discontiguous PSYMTABs [Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32)] Jan Kratochvil
2007-12-10 0:21 ` [patch] Removal of the FIND_PC_SECT_PSYMTAB search [Re: [patch] Discontiguous PSYMTABs] Jan Kratochvil
2007-12-17 1:02 ` [patch] Discontiguous PSYMTABs [Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32)] Daniel Jacobowitz
2007-12-17 1:03 ` Daniel Jacobowitz
2007-12-17 2:41 ` [patch] Discontiguous PSYMTABs Jan Kratochvil
2007-12-17 3:41 ` Daniel Jacobowitz
2008-04-23 22:15 ` [patch] [0/2] " Jan Kratochvil
2008-04-23 22:18 ` [patch] [1/2] Discontiguous PSYMTABs (partial DIEs base address) Jan Kratochvil
2008-05-01 19:43 ` Daniel Jacobowitz
2008-04-23 22:24 ` [patch] [2/2] Discontiguous PSYMTABs (psymtabs->symtabs by addrmap) Jan Kratochvil
2008-05-01 19:46 ` Daniel Jacobowitz
2008-05-04 17:38 ` Jan Kratochvil
2008-05-12 22:24 ` Overlay support broken (Re: [patch] [2/2] Discontiguous PSYMTABs (psymtabs->symtabs by addrmap)) Ulrich Weigand
2008-05-12 22:37 ` Michael Snyder
2008-05-13 1:39 ` Daniel Jacobowitz
2008-05-13 3:17 ` Jan Kratochvil
2008-05-13 15:37 ` Doug Evans
2008-05-13 15:42 ` Michael Snyder
2008-05-13 15:31 ` Doug Evans
2008-05-12 23:52 ` Jan Kratochvil
2008-05-13 18:45 ` Ulrich Weigand
2008-05-13 19:08 ` Pedro Alves
2008-05-13 19:01 ` Pedro Alves
2008-05-13 19:11 ` Michael Snyder
2008-05-15 16:39 ` Jan Kratochvil
2008-05-15 18:16 ` Ulrich Weigand
2008-05-15 18:44 ` Daniel Jacobowitz
2008-05-15 19:06 ` Ulrich Weigand
2008-05-16 18:32 ` Ulrich Weigand
2008-05-15 19:18 ` Michael Snyder
2008-04-23 21:31 ` [patch] Discontiguous PSYMTABs [Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32)] Doug Evans
2008-04-23 21:31 ` Jan Kratochvil
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=E1Iy0Vd-0006lL-64@zigzag.lvk.cs.msu.su \
--to=ghost@cs.msu.su \
--cc=gdb-patches@sources.redhat.com \
--cc=jan.kratochvil@redhat.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