gdbproxy

package
v0.0.0-...-07ea6fe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2013 License: ISC Imports: 10 Imported by: 0

README

dbgp to gdb proxy

Documentation

Overview

Package gdbproxy implements a dbgp.DBGPClient that is backed by a gdb session

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GDB

type GDB struct {
	// contains filtered or unexported fields
}

GDB iconnmplements the dbgp.DBGPClient protocol and manages an execution of gdb

func New

func New(target, ideKey, session string) (*GDB, error)

creates a new GDB DBGP Proxy for the specified targert

func (*GDB) BreakpointSet

func (g *GDB) BreakpointSet(bpType, fileName string, lineNumber int) (dbgp.Breakpoint, error)

func (*GDB) ContextGet

func (g *GDB) ContextGet(depth, context int) ([]dbgp.Property, error)

func (*GDB) ContextNames

func (g *GDB) ContextNames(depth int) ([]dbgp.Context, error)

func (*GDB) Features

func (g *GDB) Features() dbgp.Features

func (*GDB) Init

func (g *GDB) Init() dbgp.InitResponse

Init is invoked to begin the session with the upstream IDE or proxy

func (*GDB) PropertyGet

func (g *GDB) PropertyGet(depth, context int, name string) (string, error)

func (*GDB) StackDepth

func (g *GDB) StackDepth() int

func (*GDB) StackGet

func (g *GDB) StackGet(depth int) ([]dbgp.Stack, error)

func (*GDB) Status

func (g *GDB) Status() string

func (*GDB) StepInto

func (g *GDB) StepInto() (status, reason string)

func (*GDB) StepOver

func (g *GDB) StepOver() (status, reason string)

Directories

Path Synopsis
cmd
gdb2dbgp command
Program dbgp2dbg implements a dbgp to gdb proxy dbg2dbg (gdb target) note: invoke with the following options to debug: -v=2 -logtostderr
Program dbgp2dbg implements a dbgp to gdb proxy dbg2dbg (gdb target) note: invoke with the following options to debug: -v=2 -logtostderr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL