summaryrefslogtreecommitdiff
path: root/ortho/mcode/disa_sparc.ads
blob: 486dff9775f51de72d77ba79d9666d84bb1f347e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
with System;

package Disa_Sparc is
   --  Call-back used to find a relocation symbol.
   type Symbol_Proc_Type is access procedure (Addr : System.Address;
                                              Line : in out String;
                                              Line_Len : in out Natural);

   --  Disassemble instruction at ADDR, and put the result in LINE/LINE_LEN.
   procedure Disassemble_Insn (Addr : System.Address;
                               Line : in out String;
                               Line_Len : out Natural;
                               Insn_Len : out Natural;
                               Proc_Cb : Symbol_Proc_Type);
end Disa_Sparc;