Code Monkey home page Code Monkey logo

marvinbian / cn-gdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mengxiaofu/cn-gdb

0.0 1.0 0.0 31.73 MB

CN-GDB, the BANG-C source-level debugger on Linux, based on GDB-7.11.

License: GNU General Public License v2.0

Makefile 2.52% M4 1.04% C 84.46% Objective-C 6.10% DIGITAL Command Language 0.04% sed 0.01% Shell 0.70% C++ 1.55% Perl 0.17% Scheme 2.09% Batchfile 0.01% Emacs Lisp 0.01% Logos 0.17% Yacc 0.41% Lex 0.02% Python 0.30% Awk 0.01% Roff 0.12% TeX 0.30% XSLT 0.01%

cn-gdb's Introduction

CAMBRICON CN-GDB

This is CN-GDB, the BANG-C source-level debugger on Linux, based on GDB-7.11, the GNU source-level debugger.

For more information about gdb, please refer to the README file in this folder or check the GDB home page at http://www.gnu.org/software/gdb .

HOW TO BUILD CN-GDB

cngdb dependence as follows:

from gdb-root/debian/control

# Packaging deps
               cdbs (>= 0.4.90),
               debhelper (>= 9),
               lsb-release,
               bzip2,
# Other tool deps
               autoconf,
               libtool,
               gettext,
               bison,
               dejagnu,
               flex | flex-old,
               procps,
               g++-multilib [i386 powerpc s390 sparc],
               gcj-jdk,
               mig [hurd-any],
# TeX[info] deps
               texinfo (>= 4.7-2.2),
               texlive-base,
# Libdev deps
               libexpat1-dev, lib64expat1-dev [i386 powerpc s390 sparc],
               libncurses5-dev, lib64ncurses5-dev [i386 powerpc s390 sparc],
               libreadline-dev, lib64readline6-dev [i386 powerpc s390 sparc],
               zlib1g-dev,
               liblzma-dev,
               libbabeltrace-dev [amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc ppc64 ppc64el s390x],
               libbabeltrace-ctf-dev [amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc ppc64 ppc64el s390x],
               python3-dev,
               libkvm-dev [kfreebsd-any],
               libunwind7-dev [ia64],
# gdb64
               lib64z1-dev [i386 powerpc],
               lib64expat1-dev [i386 powerpc],
# gdb-doc
               texlive-latex-base, texlive-fonts-recommended, cm-super,

You can compile cngdb using the provided build script build.sh, The instructions are as follows:

     cd ${gdb-root}
    ./build.sh

After compilation, executable cngdb will be in the path gdb-root/build/neuware/bin/cngdb

HOW TO USE CN-GDB

Nearly all standard GDB commands could be used both for debugging on CPU and MLU code. In addition to that, cngdb provides specific command families like cngdb info... to query MLU device states, cngdb focus ... to control debugger focus.

For more information please check cngdb user manual.

REPORT BUG

Send e-mail to [email protected] to report cngdb bug.

or post on the Cambricon Developer Forum

cn-gdb's People

Contributors

kurikomoe avatar

Watchers

James Cloos 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.