Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/7] [gdb/tui] Some section hole handling fixes
@ 2026-09-09  9:48 Tom de Vries
  2026-09-09  9:48 ` [PATCH v2 1/7] [gdb/tui] Improve tui_disassemble comment Tom de Vries
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Tom de Vries @ 2026-09-09  9:48 UTC (permalink / raw)
  To: gdb-patches

This series consists of 7 patches.

The first two fix minor issues in tui disassembly handling.

The rest of the patches:
- fix a corner case in tui_find_backward_disassembly_start_address.
- refactor find_pc_section.
- add prev/next parameters in find_pc_section.
- improve handling of section holes when forward disassembling.
- improve handling of section holes when backward disassembling, fixing
  PR tui/34399.

Changes in v2:
- add patch fixing tui_disassemble comment after review comment
- drop restrictive fix for PR tui/34399 after review comments
- add patches implementing an enabling fix for PR tui/34399.

Versions:
- v1 https://sourceware.org/pipermail/gdb-patches/2026-August/229584.html

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34399

Tom de Vries (7):
  [gdb/tui] Improve tui_disassemble comment
  [gdb/tui] Fix underflow in tui_find_backward_disassembly_start_address
  [gdb/tui] Improve section handling in
    tui_find_backward_disassembly_start_address
  [gdb] replace bsearch with std::lower_bound in find_pc_section
  [gdb] Add prev/next params to find_pc_section
  [gdb/tui] Handle section holes when forward disassembling
  [gdb/tui] Handle section holes when backward disassembling

 gdb/objfiles.c                                |  72 +++++++-----
 gdb/objfiles.h                                |   4 +-
 .../gdb.tui/tui-layout-asm-short-prog.exp     |  25 +++++
 gdb/tui/tui-disasm.c                          | 105 ++++++++++++++----
 4 files changed, 161 insertions(+), 45 deletions(-)


base-commit: 48ad7db89036813e93f6669e424617a3a8860988
-- 
2.51.0


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

end of thread, other threads:[~2026-09-14  7:35 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-09  9:48 [PATCH v2 0/7] [gdb/tui] Some section hole handling fixes Tom de Vries
2026-09-09  9:48 ` [PATCH v2 1/7] [gdb/tui] Improve tui_disassemble comment Tom de Vries
2026-09-09  9:48 ` [PATCH v2 2/7] [gdb/tui] Fix underflow in tui_find_backward_disassembly_start_address Tom de Vries
2026-09-11 18:12   ` Tom Tromey
2026-09-11 18:14     ` Tom Tromey
2026-09-09  9:48 ` [PATCH v2 3/7] [gdb/tui] Improve section handling " Tom de Vries
2026-09-11 18:26   ` Tom Tromey
2026-09-14  7:31     ` Tom de Vries
2026-09-09  9:48 ` [PATCH v2 4/7] [gdb] replace bsearch with std::lower_bound in find_pc_section Tom de Vries
2026-09-11 18:19   ` Tom Tromey
2026-09-14  7:34     ` Tom de Vries
2026-09-09  9:48 ` [PATCH v2 5/7] [gdb] Add prev/next params to find_pc_section Tom de Vries
2026-09-11 18:40   ` Tom Tromey
2026-09-09  9:48 ` [PATCH v2 6/7] [gdb/tui] Handle section holes when forward disassembling Tom de Vries
2026-09-11 18:39   ` Tom Tromey
2026-09-09  9:48 ` [PATCH v2 7/7] [gdb/tui] Handle section holes when backward disassembling Tom de Vries
2026-09-11 18:48   ` Tom Tromey
2026-09-11 18:52 ` [PATCH v2 0/7] [gdb/tui] Some section hole handling fixes Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox