Unit 'exeinfo' Package
[Overview][Types][Procedures and functions][Index] [#rtl]

ReadDebugLink

Read the location of a debug info filename.

Declaration

Source position: exeinfo.pp line 65

function ReadDebugLink(

  var e: TExeFile;

  var dbgfn: ansistring

):Boolean; overload;

function ReadDebugLink(

  var e: TExeFile;

  var dbgfn: shortstring

):Boolean; overload;

Arguments

e

  

Handle on the open application binary.

dbgfn

  

Name of the file with the debug information.

Function result

True if the file with debug information was found, False if not.

Arguments

e

  

Handle on the open application binary.

dbgfn

  

Name of the file with the debug information.

Description

ReadDebugLink examines the .gnu_debuglink section to see if the debug information is stored in an external file. If so, then the name of the file with the debug information is returned in the dbgfn parameter.

The function returns false if there is no external debug information file, or if the file with debug information does not exist. It is searched next to the binary file or in the current directory.

See also

OpenExeFile

  

Open an executable file.

CloseExeFile

  

Close a previously opened file.


Documentation generated on: Nov 24 2024