This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, x86, libgcc] PR target/83917 Correct debug for -mcall-ms2sysv-xlogues stubs
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Daniel Santos <daniel dot santos at pobox dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>, Uros Bizjak <ubizjak at gmail dot com>, Jason Merril <jason at redhat dot com>, Cary Coutant <ccoutant at gmail dot com>, Ian Lance Taylor <ian at airs dot com>, Richard Biener <rguenth at gcc dot gnu dot org>
- Date: Sun, 21 Jan 2018 08:24:26 +0100
- Subject: Re: [PATCH, x86, libgcc] PR target/83917 Correct debug for -mcall-ms2sysv-xlogues stubs
- Authentication-results: sourceware.org; auth=none
- References: <20180119233310.19670-1-daniel.santos@pobox.com> <20180119233519.GA2063@tucnak> <735d9f2c-b57d-775a-84b1-d6089f4d4c1e@pobox.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sat, Jan 20, 2018 at 06:01:16PM -0600, Daniel Santos wrote:
> As far as adding tests, I guess I would need to dig into
> lib/gcc-gdb-test.exp to figure out how to do that.
The gdb-test infrastructure allows essentially
b linenumber
p something
p somethingother
Not sure if it would work if instead of using a number of linenumber
you'd use the symbol for these snippets or symbol+number,
plus you are interested not in printing values of variables there, but
about sensible backtraces.
Probably gdb's testsuite is better suited for that.
Jakub