[haiku-bugs] Re: [Haiku] #9760: [Debugger] Automatically determine the correct start symbol for a program

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Fri, 10 May 2013 20:13:19 -0000

#9760: [Debugger] Automatically determine the correct start symbol for a program
-------------------------------------+----------------------------
   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
-------------------------------------+----------------------------
Description changed by anevilyak:

Old description:

> Currently, the debugger is primarily oriented towards C/C+++, and as such
> presumes that the starting function will always be main(). Unfortunately,
> this isn't necessarily the case for other language ABIs such as
> {Free}Pascal. In the case of a debug executable, this can potentially be
> inferred from DWARF (still needs to be investigated in the spec), but a
> mechanism needs to be investigated in order to generally guess/infer the
> target language, and consequently, the correct start symbol.

New description:

 Currently, the debugger is primarily oriented towards C/C+++, and as such
 presumes that the starting function will always be main(). Unfortunately,
 this isn't necessarily the case for other language ABIs such as
 {Free}Pascal. In the case of a debug executable, this can potentially be
 inferred from DWARF (still needs to be investigated in the spec), but a
 mechanism needs to be derived in order to generally guess/infer the target
 language, and consequently, the correct start symbol.

--

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

Other related posts: