public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Frame debug output improvements
@ 2021-06-28 17:44 Simon Marchi
  2021-06-28 17:44 ` [PATCH 1/5] gdb: make frame_debug a boolean Simon Marchi
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Simon Marchi @ 2021-06-28 17:44 UTC (permalink / raw)
  To: gdb-patches

I started improving the frame debug messages a while ago, while helping
Eli figure out why GDB couldn't unwind past a JIT frame.  I've been
sitting on these changes since, and finally cleaned them up for
submission.

While doing so, I found a little bug (that only happens when "set debug
frame" is in effect), which is fixed by patch 2.

Simon Marchi (5):
  gdb: make frame_debug a boolean
  gdb: value_fetch_lazy_register: fix getting frame id while it is
    computed
  gdb: introduce frame_debug_printf
  gdb: add names to unwinders, add debug messages when looking for
    unwinder
  gdb: introduce FRAME_SCOPED_DEBUG_ENTER_EXIT

 gdb/aarch64-tdep.c                            |   2 +
 gdb/alpha-mdebug-tdep.c                       |   4 +-
 gdb/alpha-tdep.c                              |   8 +-
 gdb/amd64-obsd-tdep.c                         |   4 +-
 gdb/amd64-tdep.c                              |   3 +
 gdb/amd64-windows-tdep.c                      |  76 ++--
 gdb/arc-tdep.c                                |   2 +
 gdb/arm-tdep.c                                |   5 +
 gdb/avr-tdep.c                                |   1 +
 gdb/bfin-tdep.c                               |   1 +
 gdb/bpf-tdep.c                                |   1 +
 gdb/cris-tdep.c                               |   2 +
 gdb/csky-tdep.c                               |   2 +
 gdb/dummy-frame.c                             |   1 +
 gdb/dwarf2/frame-tailcall.c                   |   1 +
 gdb/dwarf2/frame.c                            |   2 +
 gdb/frame-unwind.c                            |  12 +-
 gdb/frame-unwind.h                            |   1 +
 gdb/frame.c                                   | 335 +++++++-----------
 gdb/frame.h                                   |  13 +-
 gdb/frv-linux-tdep.c                          |   1 +
 gdb/frv-tdep.c                                |   1 +
 gdb/ft32-tdep.c                               |   1 +
 gdb/h8300-tdep.c                              |   1 +
 gdb/hppa-linux-tdep.c                         |   1 +
 gdb/hppa-tdep.c                               |   3 +
 gdb/i386-obsd-tdep.c                          |   1 +
 gdb/i386-tdep.c                               |   4 +
 gdb/ia64-tdep.c                               |   4 +
 gdb/inline-frame.c                            |   1 +
 gdb/iq2000-tdep.c                             |   1 +
 gdb/jit.c                                     |   1 +
 gdb/lm32-tdep.c                               |   1 +
 gdb/m32c-tdep.c                               |   1 +
 gdb/m32r-linux-tdep.c                         |   1 +
 gdb/m32r-tdep.c                               |   1 +
 gdb/m68hc11-tdep.c                            |   1 +
 gdb/m68k-linux-tdep.c                         |   1 +
 gdb/m68k-tdep.c                               |   1 +
 gdb/mep-tdep.c                                |   1 +
 gdb/microblaze-tdep.c                         |   1 +
 gdb/mips-sde-tdep.c                           |   1 +
 gdb/mips-tdep.c                               |   4 +
 gdb/mn10300-tdep.c                            |   1 +
 gdb/moxie-tdep.c                              |   1 +
 gdb/msp430-tdep.c                             |   1 +
 gdb/nds32-tdep.c                              |   2 +
 gdb/nios2-tdep.c                              |   2 +
 gdb/or1k-tdep.c                               |   1 +
 gdb/ppc-fbsd-tdep.c                           |   1 +
 gdb/ppc-obsd-tdep.c                           |   1 +
 gdb/python/py-unwind.c                        |   1 +
 gdb/record-btrace.c                           |   2 +
 gdb/riscv-tdep.c                              |   1 +
 gdb/rl78-tdep.c                               |   1 +
 gdb/rs6000-aix-tdep.c                         |   1 +
 gdb/rs6000-tdep.c                             |   2 +
 gdb/rx-tdep.c                                 |   2 +
 gdb/s12z-tdep.c                               |   1 +
 gdb/s390-linux-tdep.c                         |   1 +
 gdb/s390-tdep.c                               |   2 +
 gdb/score-tdep.c                              |   1 +
 gdb/sentinel-frame.c                          |   1 +
 gdb/sh-tdep.c                                 |   2 +
 gdb/sparc-netbsd-tdep.c                       |   1 +
 gdb/sparc-obsd-tdep.c                         |   1 +
 gdb/sparc-sol2-tdep.c                         |   1 +
 gdb/sparc-tdep.c                              |   1 +
 gdb/sparc64-fbsd-tdep.c                       |   1 +
 gdb/sparc64-netbsd-tdep.c                     |   1 +
 gdb/sparc64-obsd-tdep.c                       |   2 +
 gdb/sparc64-sol2-tdep.c                       |   1 +
 gdb/sparc64-tdep.c                            |   1 +
 .../gdb.dwarf2/dw2-reg-undefined.exp          |   5 +-
 gdb/tic6x-tdep.c                              |   2 +
 gdb/tilegx-tdep.c                             |   1 +
 gdb/v850-tdep.c                               |   1 +
 gdb/value.c                                   |  51 ++-
 gdb/vax-tdep.c                                |   1 +
 gdb/xstormy16-tdep.c                          |   1 +
 gdb/xtensa-tdep.c                             |   1 +
 81 files changed, 327 insertions(+), 284 deletions(-)

-- 
2.32.0


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

end of thread, other threads:[~2021-06-29 16:04 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-28 17:44 [PATCH 0/5] Frame debug output improvements Simon Marchi
2021-06-28 17:44 ` [PATCH 1/5] gdb: make frame_debug a boolean Simon Marchi
2021-06-28 17:44 ` [PATCH 2/5] gdb: value_fetch_lazy_register: fix getting frame id while it is computed Simon Marchi
2021-06-29  9:27   ` Andrew Burgess
2021-06-29 14:53     ` Simon Marchi
2021-06-28 17:44 ` [PATCH 3/5] gdb: introduce frame_debug_printf Simon Marchi
2021-06-28 17:44 ` [PATCH 4/5] gdb: add names to unwinders, add debug messages when looking for unwinder Simon Marchi
2021-06-28 17:44 ` [PATCH 5/5] gdb: introduce FRAME_SCOPED_DEBUG_ENTER_EXIT Simon Marchi
2021-06-28 19:06 ` [PATCH 0/5] Frame debug output improvements Tom Tromey
2021-06-29  9:31 ` Andrew Burgess
2021-06-29 16:04   ` Simon Marchi

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