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

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 14 Jul 2019 02:12:35 -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
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by anevilyak):

 For the time being that would probably be best. I had a quick look, and
 the actual problem is a bit more subtle and complicated: we are actually
 parsing and capturing the column info correctly ; however, this winds up
 breaking searching for functions/statements in various other places, as
 those were previously not taking columns into account. Consequently, when
 attempting to locate something by source location using only a line, the
 comparisons fail to find a correct match. I'll have to think about this
 one a bit, as handling it correctly would also allow for fixing a few long
 standing issues (i.e. setting breakpoints on multi-statement source lines
 like for loops).

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

Other related posts: