public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Weimin Pan <weimin.pan@oracle.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/5] CTF: bug fixes and new features.
Date: Mon,  1 Feb 2021 20:48:43 -0500	[thread overview]
Message-ID: <1612230528-25905-1-git-send-email-weimin.pan@oracle.com> (raw)

    This patch series contains bug fixes and new features for the CTF 
    (Compact Ansi-C Type Format) support in gdb.
    Two submissions on which this gdb work depends were posted earlier:

     * On the gcc mailing list - Support for the CTF debug format:
       https://gcc.gnu.org/pipermail/gcc-patches/2021-January/564092.html
     * On the binutils mailing list - adding libctf which creates, updates,
       reads, and manipulates the CTF data.

    For more information, please refer to the CTF specification:
    http://www.esperi.org.uk/~oranix/ctf/ctf-spec.pdf

Weimin Pan (5):
  CTF: fix incorrect function return type
  CTF: set up debug info for function arguments
  CTF: handle forward reference type
  CTF: add all members of an enum type to psymtab
  CTF: multi-CU and archive support

 gdb/ChangeLog                                  |  20 +
 gdb/ctfread.c                                  | 504 +++++++++++++++++--------
 gdb/testsuite/ChangeLog                        |  14 +
 gdb/testsuite/gdb.base/cross-tu-cyclic-1.c     |  18 +
 gdb/testsuite/gdb.base/cross-tu-cyclic-2.c     |  16 +
 gdb/testsuite/gdb.base/cross-tu-cyclic-3.c     |   3 +
 gdb/testsuite/gdb.base/cross-tu-cyclic-4.c     |   4 +
 gdb/testsuite/gdb.base/ctf-a.c                 |  32 ++
 gdb/testsuite/gdb.base/ctf-a.h                 |  22 ++
 gdb/testsuite/gdb.base/ctf-b.c                 |  25 ++
 gdb/testsuite/gdb.base/ctf-b.h                 |  22 ++
 gdb/testsuite/gdb.base/ctf-c.c                 |  25 ++
 gdb/testsuite/gdb.base/ctf-c.h                 |  21 ++
 gdb/testsuite/gdb.base/ctf-cross-tu-cyclic.exp |  43 +++
 gdb/testsuite/gdb.base/ctf-funcreturn.exp      | 190 ++++++++++
 gdb/testsuite/gdb.base/ctf-multi.exp           |  42 +++
 gdb/testsuite/gdb.base/ctf-ptype.c             |  12 +
 gdb/testsuite/gdb.base/ctf-ptype.exp           |  21 +-
 18 files changed, 882 insertions(+), 152 deletions(-)
 create mode 100644 gdb/testsuite/gdb.base/cross-tu-cyclic-1.c
 create mode 100644 gdb/testsuite/gdb.base/cross-tu-cyclic-2.c
 create mode 100644 gdb/testsuite/gdb.base/cross-tu-cyclic-3.c
 create mode 100644 gdb/testsuite/gdb.base/cross-tu-cyclic-4.c
 create mode 100644 gdb/testsuite/gdb.base/ctf-a.c
 create mode 100644 gdb/testsuite/gdb.base/ctf-a.h
 create mode 100644 gdb/testsuite/gdb.base/ctf-b.c
 create mode 100644 gdb/testsuite/gdb.base/ctf-b.h
 create mode 100644 gdb/testsuite/gdb.base/ctf-c.c
 create mode 100644 gdb/testsuite/gdb.base/ctf-c.h
 create mode 100644 gdb/testsuite/gdb.base/ctf-cross-tu-cyclic.exp
 create mode 100644 gdb/testsuite/gdb.base/ctf-funcreturn.exp
 create mode 100644 gdb/testsuite/gdb.base/ctf-multi.exp

-- 
1.8.3.1


             reply	other threads:[~2021-02-02  1:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-02  1:48 Weimin Pan [this message]
2021-02-02  1:48 ` [PATCH 1/5] CTF: fix incorrect function return type Weimin Pan
2021-02-02  1:48   ` [PATCH 2/5] CTF: set up debug info for function arguments Weimin Pan
2021-02-02  1:48     ` [PATCH 3/5] CTF: handle forward reference type Weimin Pan
2021-02-02  1:48       ` [PATCH 4/5] CTF: add all members of an enum type to psymtab Weimin Pan
2021-02-02  1:48         ` [PATCH 5/5] CTF: multi-CU and archive support Weimin Pan
2021-02-05 15:42       ` [PATCH 3/5] CTF: handle forward reference type Tom Tromey
2021-02-05 19:33         ` Wei-min Pan
2021-02-05 15:40     ` [PATCH 2/5] CTF: set up debug info for function arguments Tom Tromey
2021-02-05 19:21       ` Wei-min Pan
2021-02-05 15:33   ` [PATCH 1/5] CTF: fix incorrect function return type Tom Tromey
2021-02-05 19:12     ` Wei-min Pan

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=1612230528-25905-1-git-send-email-weimin.pan@oracle.com \
    --to=weimin.pan@oracle.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).