From: Jan Kratochvil <jkratochvil@azul.com>
To: Luis Machado <luis.machado@arm.com>
Cc: gdb-patches@sourceware.org, Alan Hayward <alan.hayward@arm.com>
Subject: Re: [PING] [PATCH] gdb/arm: Fix backtrace for pthread_cond_timedwait
Date: Thu, 19 Jan 2023 11:15:02 +0800 [thread overview]
Message-ID: <Y8i1tia0S0Ad/lkn@host1.jankratochvil.net> (raw)
In-Reply-To: <90ba687c-952f-9fa8-b6d4-90d9735621a8@arm.com>
On Wed, 18 Jan 2023 22:22:51 +0800, Luis Machado wrote:
> I'm on Ubuntu 22.04/20.04, but running 32-bit on a 64-bit system via Docker.
Ubuntu is the host OS. But I haven't found recent armv7 (32-bit) Ubuntu.
What is the Docker container you use?
> x/i $pc
> => 0xf7eadb04 <__libc_do_syscall+4>: svc 0
>
> The test seems to be expecting a pattern of
>
> x/i $pc
> => 0xf7eadb04 <__libc_do_syscall+4>: svc 0x00000000
>
> If I replaced the pattern to force a match, the test continues until the unwinder check.
I forgot to update this pattern but it would not help the testcase anyway.
The purpose is to stop in the function pthread_cond_timedwait.
Here it stops in function __libc_do_syscall.
It would be helpful at least a backtrace but I would more like to reproduce
your environment.
> Then it runs into a
> UNTESTED again because I see the dwarf2 unwinder being used.
>
> That may be because I have debug info installed I suppose. I wonder if there
> is a way to force gdb not to use the dwarf2 unwinder for libc, even if it is
> available on the system.
I have fixed that part:
gdb_test_no_output "set debug-file-directory" ""
Thanks,
Jan
next prev parent reply other threads:[~2023-01-19 3:15 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-31 8:48 Jan Kratochvil
2023-01-16 16:10 ` [PING] " Jan Kratochvil
2023-01-17 11:14 ` Luis Machado
2023-01-18 11:51 ` Jan Kratochvil
2023-01-18 14:22 ` Luis Machado
2022-12-31 8:48 ` [PATCH v2] " Jan Kratochvil
2023-01-19 3:15 ` Jan Kratochvil [this message]
2023-01-20 17:41 ` [PING] [PATCH] " Luis Machado
2022-12-31 8:48 ` [PATCH v3] " Jan Kratochvil
2023-02-24 13:38 ` [PING] [PATCH] " Jan Kratochvil
2023-02-24 16:56 ` Luis Machado
2022-12-31 8:48 ` [PATCH v4] " Jan Kratochvil
2023-02-25 10:04 ` [PING] [PATCH] " Jan Kratochvil
2023-03-20 12:51 ` [PING^2] " Jan Kratochvil
2023-03-30 14:30 ` Luis Machado
2023-03-30 16:09 ` Luis Machado
2023-04-01 13:49 ` [committed] " 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=Y8i1tia0S0Ad/lkn@host1.jankratochvil.net \
--to=jkratochvil@azul.com \
--cc=alan.hayward@arm.com \
--cc=gdb-patches@sourceware.org \
--cc=luis.machado@arm.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).