Mono.Debugger.Backend.BfdDisassembler.print_address_func C# (CSharp) Method

print_address_func() private method

private print_address_func ( long address ) : void
address long
return void
        void print_address_func(long address)
        {
            TargetAddress maddress = new TargetAddress (
                memory.AddressDomain, address);

            if (current_method != null) {
                try {
                    MethodSource method = current_method.GetTrampoline (
                        memory, maddress);

                    if (method != null) {
                        output_func (method.Name);
                        return;
                    }
                } catch (TargetException) {
                }
            }

            Symbol name = null;
            if (process != null)
                name = process.SymbolTableManager.SimpleLookup (maddress, false);

            if (name == null)
                output_func (address);
            else
                output_func (String.Format ("0x{0:x}:{1}", address, name.ToString ()));
        }