[MacPorts] #69642: gdb : reduce terminal pollution

MacPorts noreply at macports.org
Mon Apr 1 13:04:28 UTC 2024


#69642: gdb : reduce terminal pollution
-------------------------+--------------------
 Reporter:  RJVB         |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  has_patch    |       Port:  gdb
-------------------------+--------------------
 Testing the current port:gdb @ 13.2 I was a bit surprised to see this
 debugger is now actually usable (on my venerable 10.9.5 system), is even a
 worse terminal polluter than lldb is. It will complain about ''every''
 single missing object files in which debugging symbols are expected, or
 ones it can't read (fat binaries, probably object files with LLVM bitcode
 too). That includes the object files for system libraries.

 Gdb does have a "verbose' mode in which it prints a trace for each
 "symfile" it tries to read; IMHO it would make sense to print those
 warnings only when that verbose is enabled. That would give the same kind
 of behaviour as gdb has on other Unices where by default it won't whine
 about the missing debug info.

 The attached patch achieves this.

-- 
Ticket URL: <https://trac.macports.org/ticket/69642>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list