From: Andrew Burgess <aburgess@redhat.com>
To: gdb-patches@sourceware.org
Cc: Andrew Burgess <aburgess@redhat.com>
Subject: [PATCH 0/2] New test for find_pc_sect_line
Date: Thu, 18 May 2023 09:37:53 +0100 [thread overview]
Message-ID: <cover.1684398918.git.aburgess@redhat.com> (raw)
Adds a new test to extend coverage of find_pc_sect_line, then adds
some asserts and safety checks to skip_prologue_using_sal.
---
Andrew Burgess (2):
gdb/testsuite: test for a function with no line table
gdb: safety checks in skip_prologue_using_sal
gdb/symtab.c | 8 +-
gdb/testsuite/gdb.dwarf2/missing-line-table.c | 32 +++++
.../gdb.dwarf2/missing-line-table.exp | 122 ++++++++++++++++++
3 files changed, 159 insertions(+), 3 deletions(-)
create mode 100644 gdb/testsuite/gdb.dwarf2/missing-line-table.c
create mode 100644 gdb/testsuite/gdb.dwarf2/missing-line-table.exp
base-commit: 66b8e6c7b8d3c137029f4f2ab8c5b798aa1cbdd7
--
2.25.4
next reply other threads:[~2023-05-18 8:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-18 8:37 Andrew Burgess [this message]
2023-05-18 8:37 ` [PATCH 1/2] gdb/testsuite: test for a function with no line table Andrew Burgess
2023-05-18 8:37 ` [PATCH 2/2] gdb: safety checks in skip_prologue_using_sal Andrew Burgess
2023-05-18 17:22 ` [PATCH 0/2] New test for find_pc_sect_line Tom Tromey
2023-05-19 10:06 ` Andrew Burgess
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=cover.1684398918.git.aburgess@redhat.com \
--to=aburgess@redhat.com \
--cc=gdb-patches@sourceware.org \
/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).