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

[Changes from V3:
 - Use ctf_type_name_raw to get type name which will live as long as its 
   ctf file remains open.]
[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 (2):
  CTF: fix incorrect function return type
  CTF: multi-CU and archive support

 gdb/ChangeLog                             |   6 +
 gdb/ctfread.c                             | 368 +++++++++++++++++-------------
 gdb/testsuite/ChangeLog                   |   5 +
 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 +++++++++++++++++++++++++++
 17 files changed, 1027 insertions(+), 154 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] 16+ messages in thread

end of thread, other threads:[~2021-05-16 22:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27  1:00 [PATCH,V4 0/2] CTF: bug fixes and new features Weimin Pan
2021-04-27  1:00 ` [PATCH,V4 1/2] CTF: fix incorrect function return type Weimin Pan
2021-04-27  1:00   ` [PATCH,V4 2/2] CTF: multi-CU and archive support Weimin Pan
2021-05-07 20:29     ` Tom Tromey
2021-05-10  3:11       ` Wei-min Pan
2021-05-10 21:27         ` Tom Tromey
2021-05-11  0:33           ` Weimin Pan
2021-05-11 18:58           ` Weimin Pan
2021-05-13 17:21             ` Tom Tromey
2021-05-13 21:40               ` Wei-min Pan
2021-05-08 20:13     ` Tom Tromey
2021-05-10  3:12       ` Wei-min Pan
2021-05-07 20:07   ` [PATCH,V4 1/2] CTF: fix incorrect function return type Tom Tromey
2021-05-10  2:40     ` Wei-min Pan
2021-05-10 14:00       ` Tom Tromey
2021-05-16 22:31     ` Wei-min 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).