This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v2 0/5] Non-contiguous address range bug fixes / improvements


This five part series fixes some bugs associated with GDB's non-contiguous
address range support.

Differences from v1 can be summarized as follows:

- Big block of code in stack.c which handled "certain pathological cases"
  was removed entirely.  Both Tom and Pedro suggested this change.
- Changes to printcmd.c split out into separate patch; patch expanded
  to allow use of data associated with minimal symbol in certain (rare)
  cases.  (But perhaps not especially rare when dealing with
  non-contiguous address ranges.)
- Commit log for negative offset patch expanded with better examples.
- Tests revised slightly to not fail due to change in functionality.

I see no regressions when testing on F30 / x86_64.

Kevin Buettner (5):
  Prefer symtab symbol over minsym for function names in non-contiguous
    blocks
  Restrict use of minsym names when printing addresses in disassembled
    code
  dwarf2-frame.c: Fix FDE processing bug involving non-contiguous ranges
  Allow display of negative offsets in print_address_symbolic()
  Improve test gdb.dwarf2/dw2-ranges-func.exp

 gdb/disasm.c                                  |  12 +-
 gdb/dwarf2-frame.c                            |   8 +-
 gdb/printcmd.c                                |  33 +-
 gdb/stack.c                                   |  71 +-
 ...anges-func.c => dw2-ranges-func-hi-cold.c} |  44 +-
 .../gdb.dwarf2/dw2-ranges-func-lo-cold.c      |  82 +++
 gdb/testsuite/gdb.dwarf2/dw2-ranges-func.exp  | 693 ++++++++++--------
 gdb/valprint.h                                |  13 +-
 8 files changed, 542 insertions(+), 414 deletions(-)
 rename gdb/testsuite/gdb.dwarf2/{dw2-ranges-func.c => dw2-ranges-func-hi-cold.c} (85%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ranges-func-lo-cold.c

-- 
2.21.0


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]