public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Debug printing for some python/*.c files
@ 2021-05-08 17:07 Andrew Burgess
  2021-05-08 17:07 ` [PATCH 1/4] gdb: replace fprint_frame_id Andrew Burgess
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Andrew Burgess @ 2021-05-08 17:07 UTC (permalink / raw)
  To: gdb-patches

I wanted to add some debug printing to python/py-breakpoint.c so I
thought I'd use the new style debug printing.

As python/py-unwind.c is the only other python/*.c to have debug
printing I thought I'd update that to the new style debug output too.

But to make that change cleanly I needed to get rid of
fprint_frame_id, so I did that.

Then I realised the debug printing in py-unwind.c wasn't documented in
the manual, so I did that too.

---

Andrew Burgess (4):
  gdb: replace fprint_frame_id
  gdb/py: convert debug logging in py-unwind to use new scheme
  gdb/py: add some debugging to py-breakpoint.c
  gdb/doc: document 'set debug py-unwind'

 gdb/ChangeLog              | 45 ++++++++++++++++++++
 gdb/doc/ChangeLog          | 10 +++++
 gdb/doc/python.texi        | 18 ++++++++
 gdb/dummy-frame.c          |  3 +-
 gdb/frame.c                | 84 ++++++++++++++++----------------------
 gdb/frame.h                |  8 ++--
 gdb/guile/scm-frame.c      | 11 ++---
 gdb/python/py-breakpoint.c | 59 ++++++++++++++++++++++++--
 gdb/python/py-frame.c      |  6 +--
 gdb/python/py-unwind.c     | 60 +++++++++++++++++----------
 10 files changed, 212 insertions(+), 92 deletions(-)

-- 
2.25.4


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

end of thread, other threads:[~2021-05-10 15:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-08 17:07 [PATCH 0/4] Debug printing for some python/*.c files Andrew Burgess
2021-05-08 17:07 ` [PATCH 1/4] gdb: replace fprint_frame_id Andrew Burgess
2021-05-09  0:22   ` Simon Marchi
2021-05-08 17:07 ` [PATCH 2/4] gdb/py: convert debug logging in py-unwind to use new scheme Andrew Burgess
2021-05-09  0:32   ` Simon Marchi
2021-05-09 16:10     ` Andrew Burgess
2021-05-10  2:29       ` Simon Marchi
2021-05-10  8:20         ` Andrew Burgess
2021-05-10 15:12           ` Simon Marchi
2021-05-08 17:07 ` [PATCH 3/4] gdb/py: add some debugging to py-breakpoint.c Andrew Burgess
2021-05-08 17:30   ` Eli Zaretskii
2021-05-09  0:35   ` Simon Marchi
2021-05-10 13:23   ` Tom Tromey
2021-05-08 17:07 ` [PATCH 4/4] gdb/doc: document 'set debug py-unwind' Andrew Burgess
2021-05-08 17:31   ` Eli Zaretskii

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