[haiku-bugs] Re: [Haiku] #12729: [Debugger] Add some missing features with respect to core filesupport

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Wed, 27 Apr 2016 12:36:16 -0000

#12729: [Debugger] Add some missing features with respect to core filesupport
-------------------------------------+----------------------------
   Reporter:  anevilyak              |      Owner:  anevilyak
       Type:  enhancement            |     Status:  closed
   Priority:  normal                 |  Milestone:  Unscheduled
  Component:  Applications/Debugger  |    Version:  R1/Development
 Resolution:  fixed                  |   Keywords:
 Blocked By:                         |   Blocking:
Has a Patch:  0                      |   Platform:  All
-------------------------------------+----------------------------

Comment (by bonefish):

 Replying to [comment:9 anevilyak]:

Sounds good. As far as symbols, I assume that only applies to a core for
 a release binary? At least an induced crash + core from a debug binary
 over here resulted in both symbols and variables being displayed for the
 respective thread.

 Good to know, I haven't tested that yet. :-) Without debug info from the
 shared object we rely fully on what `DebuggerInterface` returns, which in
 case of core file is currently an empty list.

On a related note, is it planned for cores to also be able to store the
 heap of the crashed team? At least from what I saw of your commits that
 didn't appear to be the case yet, but I may have missed it.

 All of the team's areas are stored in the core file and
 `CoreFileDebuggerInterface::ReadMemory()` is implemented as well. So at
 least in theory heap access should already work. I haven't tested it yet,
 though.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12729#comment:10>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: