public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PING][PATCH,V3 0/3] CTF: bug fixes and new features.
@ 2021-04-01  0:39 Weimin Pan
  2021-04-01  0:39 ` [PATCH,V3 1/3] CTF: fix incorrect function return type Weimin Pan
  0 siblings, 1 reply; 10+ messages in thread
From: Weimin Pan @ 2021-04-01  0:39 UTC (permalink / raw)
  To: gdb-patches

[Changes from V2:
 - Don't strdup name that's returned from libctf's ctf_type_aname_raw.
 - Simplify struct ctf_per_tu_data.]
[Changes from V1:
 - Created a test directory gdb.ctf for CTF tests.
 - Replaced XNEW with std::vector.
 - Added ChangeLog and/or testsuite/ChangeLog for each patch.]

    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 and BTF debug format:
       https://gcc.gnu.org/pipermail/gcc-patches/2021-March/565998.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 (3):
  CTF: fix incorrect function return type
  CTF: handle forward reference type
  CTF: multi-CU and archive support

 gdb/ChangeLog                             |  27 ++
 gdb/ctfread.c                             | 441 +++++++++++++++++++-----------
 gdb/testsuite/ChangeLog                   |  16 ++
 gdb/testsuite/gdb.base/ctf-ptype.c        |  12 +
 gdb/testsuite/gdb.base/ctf-ptype.exp      |   2 +
 gdb/testsuite/gdb.ctf/cross-tu-cyclic-1.c |  18 ++
 gdb/testsuite/gdb.ctf/cross-tu-cyclic-2.c |  16 ++
 gdb/testsuite/gdb.ctf/cross-tu-cyclic-3.c |   3 +
 gdb/testsuite/gdb.ctf/cross-tu-cyclic-4.c |   4 +
 gdb/testsuite/gdb.ctf/cross-tu-cyclic.exp |  43 +++
 gdb/testsuite/gdb.ctf/ctf-a.c             |  32 +++
 gdb/testsuite/gdb.ctf/ctf-a.h             |  22 ++
 gdb/testsuite/gdb.ctf/ctf-b.c             |  25 ++
 gdb/testsuite/gdb.ctf/ctf-b.h             |  22 ++
 gdb/testsuite/gdb.ctf/ctf-c.c             |  25 ++
 gdb/testsuite/gdb.ctf/ctf-c.h             |  21 ++
 gdb/testsuite/gdb.ctf/funcreturn.exp      | 190 +++++++++++++
 gdb/testsuite/gdb.ctf/multi.exp           |  42 +++
 gdb/testsuite/gdb.ctf/whatis.c            | 339 +++++++++++++++++++++++
 19 files changed, 1139 insertions(+), 161 deletions(-)
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic-1.c
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic-2.c
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic-3.c
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic-4.c
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic.exp
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-a.c
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-a.h
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-b.c
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-b.h
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-c.c
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-c.h
 create mode 100644 gdb/testsuite/gdb.ctf/funcreturn.exp
 create mode 100644 gdb/testsuite/gdb.ctf/multi.exp
 create mode 100644 gdb/testsuite/gdb.ctf/whatis.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 10+ messages in thread
* [PATCH,V3 0/3] CTF: bug fixes and new features.
@ 2021-03-20  0:44 Weimin Pan
  2021-03-20  0:44 ` [PATCH,V3 1/3] CTF: fix incorrect function return type Weimin Pan
  0 siblings, 1 reply; 10+ messages in thread
From: Weimin Pan @ 2021-03-20  0:44 UTC (permalink / raw)
  To: gdb-patches

[Changes from V2:
 - Don't strdup name that's returned from libctf's ctf_type_aname_raw.
 - Simplify struct ctf_per_tu_data.]
[Changes from V1:
 - Created a test directory gdb.ctf for CTF tests.
 - Replaced XNEW with std::vector.
 - Added ChangeLog and/or testsuite/ChangeLog for each patch.]

    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 and BTF debug format:
       https://gcc.gnu.org/pipermail/gcc-patches/2021-March/565998.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 (3):
  CTF: fix incorrect function return type
  CTF: handle forward reference type
  CTF: multi-CU and archive support

 gdb/ChangeLog                             |  27 ++
 gdb/ctfread.c                             | 441 +++++++++++++++++++-----------
 gdb/testsuite/ChangeLog                   |  16 ++
 gdb/testsuite/gdb.base/ctf-ptype.c        |  12 +
 gdb/testsuite/gdb.base/ctf-ptype.exp      |   2 +
 gdb/testsuite/gdb.ctf/cross-tu-cyclic-1.c |  18 ++
 gdb/testsuite/gdb.ctf/cross-tu-cyclic-2.c |  16 ++
 gdb/testsuite/gdb.ctf/cross-tu-cyclic-3.c |   3 +
 gdb/testsuite/gdb.ctf/cross-tu-cyclic-4.c |   4 +
 gdb/testsuite/gdb.ctf/cross-tu-cyclic.exp |  43 +++
 gdb/testsuite/gdb.ctf/ctf-a.c             |  32 +++
 gdb/testsuite/gdb.ctf/ctf-a.h             |  22 ++
 gdb/testsuite/gdb.ctf/ctf-b.c             |  25 ++
 gdb/testsuite/gdb.ctf/ctf-b.h             |  22 ++
 gdb/testsuite/gdb.ctf/ctf-c.c             |  25 ++
 gdb/testsuite/gdb.ctf/ctf-c.h             |  21 ++
 gdb/testsuite/gdb.ctf/funcreturn.exp      | 190 +++++++++++++
 gdb/testsuite/gdb.ctf/multi.exp           |  42 +++
 gdb/testsuite/gdb.ctf/whatis.c            | 339 +++++++++++++++++++++++
 19 files changed, 1139 insertions(+), 161 deletions(-)
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic-1.c
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic-2.c
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic-3.c
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic-4.c
 create mode 100644 gdb/testsuite/gdb.ctf/cross-tu-cyclic.exp
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-a.c
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-a.h
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-b.c
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-b.h
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-c.c
 create mode 100644 gdb/testsuite/gdb.ctf/ctf-c.h
 create mode 100644 gdb/testsuite/gdb.ctf/funcreturn.exp
 create mode 100644 gdb/testsuite/gdb.ctf/multi.exp
 create mode 100644 gdb/testsuite/gdb.ctf/whatis.c

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2021-04-08  1:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01  0:39 [PING][PATCH,V3 0/3] CTF: bug fixes and new features Weimin Pan
2021-04-01  0:39 ` [PATCH,V3 1/3] CTF: fix incorrect function return type Weimin Pan
2021-04-01  0:39   ` [PATCH,V3 2/3] CTF: handle forward reference type Weimin Pan
2021-04-01  0:39     ` [PATCH,V3 3/3] CTF: multi-CU and archive support Weimin Pan
2021-04-01 17:30       ` Tom Tromey
2021-04-01 16:56     ` [PATCH,V3 2/3] CTF: handle forward reference type Tom Tromey
2021-04-08  1:09       ` Weimin Pan
2021-04-01 16:54   ` [PATCH,V3 1/3] CTF: fix incorrect function return type Tom Tromey
2021-04-01 19:00     ` Wei-min Pan
  -- strict thread matches above, loose matches on Subject: below --
2021-03-20  0:44 [PATCH,V3 0/3] CTF: bug fixes and new features Weimin Pan
2021-03-20  0:44 ` [PATCH,V3 1/3] CTF: fix incorrect function return type Weimin Pan
2021-03-20  0:44   ` [PATCH,V3 2/3] CTF: handle forward reference type Weimin Pan

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).