Package: libdevel-gdb-perl (2.02-6)
Links for libdevel-gdb-perl
Debian Resources:
Download Source Package libdevel-gdb-perl:
- [libdevel-gdb-perl_2.02-6.dsc]
- [libdevel-gdb-perl_2.02.orig.tar.gz]
- [libdevel-gdb-perl_2.02-6.debian.tar.xz]
Maintainers:
External Resources:
- Homepage [metacpan.org]
Similar packages:
module to open and communicate with a gdb session
The Devel::GDB package provides an interface for communicating with GDB. Internally, it uses the GDB/MI interpreter (see http://sourceware.org/gdb/current/onlinedocs/gdb_25.html), which accurately informs the caller of the program state and, through the use of tokens, guarantees that the results returned actually correspond to the request sent. By contrast, GDB's console interpreter returns all responses on STDOUT, and thus there is no way to ensure that a particular response corresponds to a particular request.
Therefore, it is obviously preferable to use GDB/MI when programmatically interacting with GDB. This can be done via the send_cmd family of functions (send_cmd, send_cmd_excl, and send_cmd_async). There are, however, some cases when there is no GDB/MI command corresponding to a particular console command, or it has not yet been implemented (for example, -symbol-type, corresponding to the console command ptype, is not yet implemented as of GDB 6.6). In this case, the get function provides a workaround by capturing all output sent to the console stream.
Other Packages Related to libdevel-gdb-perl
|
|
|
|
-
- dep: perl
- Larry Walls praktiske uddragnings- og rapportsprog (Perl)
Download libdevel-gdb-perl
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 22.4 kB | 59.0 kB | [list of files] |