[haiku-bugs] Re: [Haiku] #9799: Implement support for call site extensions

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Tue, 28 May 2013 19:38:18 -0000

#9799: Implement support for call site extensions
-------------------------------------+----------------------------
   Reporter:  anevilyak              |      Owner:  anevilyak
       Type:  enhancement            |     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):

 Another factor that can make a difference is optimization level: when
 using -g, are you using -O0 as well, or are you leaving your normal
 optimization level? Leaving optimizations turned on can make debugging a
 bit more complicated due to the potential changes the compiler can make,
 such as removing lines of code/functions entirely, so it's generally not a
 good idea unless you literally can't reproduce the problem without it.

 The call site extensions are generally intended to help the debugger cope
 with precisely that kind of optimization case, so using -g -O0 might be
 another way to prevent them from being generated at all if gcc2 isn't an
 option.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9799#comment:3>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: