with Ada.Characters.Handling;
with Ada.Containers.Generic_Array_Sort;
-with Ada.Exceptions.Traceback; use Ada.Exceptions.Traceback;
with Ada.Unchecked_Deallocation;
with Interfaces; use Interfaces;
with System.IO; use System.IO;
with System.Mmap; use System.Mmap;
with System.Object_Reader; use System.Object_Reader;
-with System.Traceback_Entries; use System.Traceback_Entries;
with System.Storage_Elements; use System.Storage_Elements;
package body System.Dwarf_Lines is
procedure Symbolic_Traceback
(Cin : Dwarf_Context;
- Traceback : AET.Tracebacks_Array;
+ Traceback : STE.Tracebacks_Array;
Suppress_Hex : Boolean;
Symbol_Found : out Boolean;
Res : in out System.Bounded_Strings.Bounded_String)
-- If the buffer is full, no need to do any useless work
exit when Is_Full (Res);
- Addr_In_Traceback := PC_For (Traceback (J));
+ Addr_In_Traceback := STE.PC_For (Traceback (J));
Offset_To_Lookup := Addr_In_Traceback - C.Load_Address;
--
-- Files must be compiled with at least minimal debugging information (-g1).
-with Ada.Exceptions.Traceback;
-
+with System.Bounded_Strings;
with System.Object_Reader;
with System.Storage_Elements;
-with System.Bounded_Strings;
+with System.Traceback_Entries;
package System.Dwarf_Lines is
- package AET renames Ada.Exceptions.Traceback;
+ package STE renames System.Traceback_Entries;
package SOR renames System.Object_Reader;
type Dwarf_Context (In_Exception : Boolean := False) is private;
procedure Symbolic_Traceback
(Cin : Dwarf_Context;
- Traceback : AET.Tracebacks_Array;
+ Traceback : STE.Tracebacks_Array;
Suppress_Hex : Boolean;
Symbol_Found : out Boolean;
Res : in out System.Bounded_Strings.Bounded_String);