GNU Debugger
From Wikipedia, the free encyclopedia
From Wikipedia, the free encyclopedia
Trình gỡ lỗi GNU (GNU Debugger) hay còn gọi là GDB là một chương trình gỡ lỗi chuẩn cho hệ thống phần mềm GDB. Nó là một trình gỡ lỗi di động có thể chạy trên nhiều hệ điều hành dạng Unix và có thể dùng cho nhiều ngôn ngữ lập trình như Ada, C, C++, Objective-C, Free Pascal, Fortran, Java, OpenGL, D, Rust, ...
Bài viết này cần thêm chú thích nguồn gốc để kiểm chứng thông tin. |
GDB được tạo ra bởi Richard Stallman vào năm 1986 như là một phần của hệ thống GNU. Nó là một phần mềm tự do được công bố theo giấy phép GNU.
gdb program | gỡ lỗi cho program (gọi từ shell) |
run -v | chạy chương trình với tùy chọn v |
bt | back trace |
info registers | dump all registers |
disass $pc-32, $pc+32 | disassemble |
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.