Coder Social home page Coder Social logo

harkeryx / gdbserver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bet4it/gdbserver

0.0 0.0 0.0 61 KB

A tiny debugger implement the GDB Remote Serial Protocol. Can work on i386, x86_64, ARM and PowerPC.

License: GNU General Public License v3.0

C 99.31% Makefile 0.69%

gdbserver's Introduction

This project creates a tiny debugger based on ptrace. It implements the GDB Remote Serial Protocol, works like a real gdbserver and can be connected by gdb client.

Features

  • No extra dependencies. Only repies on glibc
  • Support basic debugging functions and some advance features, such as Host I/O and debugging multithreaded programs
  • Support multiple architectures (i386, x86_64, ARM and PowerPC)

Usage

You can compile it by

$ make

or even

$ gcc -std=gnu99 *.c -o gdbserver

And run it by

$ ./gdbserver 127.0.0.1:1234 a.out

or you can attach an existed process

$ ./gdbserver --attach 127.0.0.1:1234 23456

Then you can run normal gdb (Only GDB 8.x is tested) and connect it by

target remote 127.0.0.1:1234

gdbserver's People

Contributors

bet4it avatar dleonard0 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.