[haiku-bugs] [Haiku] #15159: Debugger does not understand symbols with -gcolumn-info

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sat, 13 Jul 2019 21:45:14 -0000

#15159: Debugger does not understand symbols with -gcolumn-info
-----------------------------------+------------------------------
 Reporter:  KapiX                  |        Owner:  anevilyak
     Type:  bug                    |       Status:  new
 Priority:  normal                 |    Milestone:  Unscheduled
Component:  Applications/Debugger  |      Version:  R1/Development
 Keywords:                         |   Blocked By:
 Blocking:                         |  Has a Patch:  0
 Platform:  All                    |
-----------------------------------+------------------------------
 From GCC 8 release notes [1]:

 The -gcolumn-info option is now enabled by default. It includes column
 information in addition to just filenames and line numbers in DWARF
 debugging information.

 This makes Debugger unusable because it can set breakpoint only on
 function start and end.

 Workaround is to add -gno-column-info to compile flags.

 We should evaluate if we want to add this to makefile_engine temporarily,
 until this is implemented.

 [1] https://gcc.gnu.org/gcc-8/changes.html

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15159>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: