[haiku-bugs] Re: [Haiku] #8135: Support debug info in separate file

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Sun, 29 Jul 2012 00:53:14 -0000

#8135: Support debug info in separate file
-------------------------------------+----------------------------
   Reporter:  bonefish               |      Owner:  anevilyak
       Type:  enhancement            |     Status:  in-progress
   Priority:  low                    |  Milestone:  R1
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:                         |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  1                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by anevilyak):

 Replying to [comment:12 bonefish]:
 > Yeah, might be a binutils bug or a Haiku bug. To narrow it down you
 could try FreeBSD's or Linux's `objcopy`. If that works, Haiku's `objcopy`
 for cross-compilation on FreeBSD/Linux could be tried.

 On FreeBSD the result is consistent with Haiku as far as .eh_frame goes,
 and that one's using binutils 2.15, so this certainly doesn't seem to be
 new behavior. OTOH, .debug_frame gets copied correctly (FreeBSD still uses
 gcc 4.1.2 which generates both sections). I guess in that case I'll always
 try to grab .eh_frame from the primary binary and retrieve everything else
 from the separate debug info file, since if present we'll prefer
 .debug_frame anyways.

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

Other related posts: