#include <jdb_bt_i.h>
Inheritance diagram for Jdb_bt:
Public Member Functions | |
Jdb_module::Action_code | action (int cmd, void *&args, char const *&fmt, int &next_char) |
The actual handler of the module. | |
Jdb_module::Cmd const *const | cmds () const |
The commands this module provides. | |
int const | num_cmds () const |
The number of commands this modules provides. | |
Jdb_bt () | |
Static Private Member Functions | |
static void | get_user_eip_ebp (Address &eip, Address &ebp) |
static Mword | get_user_ebp_following_kernel_stack () |
static void | get_kernel_eip_ebp (Mword &eip1, Mword &eip2, Mword &ebp) |
static void | show_item (int nr, Address addr, Address_type user) |
Show one backtrace item we found. | |
static void | show_without_ebp () |
static void | show (Mword ebp, Mword eip1, Mword eip2, Address_type user) |
Static Private Attributes | |
static char | dummy |
static char | first_char |
static char | first_char_addr |
static Address | addr |
static Global_id | tid |
static Task_num | task |
|
|
|
The actual handler of the module.
The args and fmt arguments are references because they may be modified by the action() method and extra input may be requested by returning Action_code::EXTRA_INPUT. In the case where Action_code::EXTRA_INPUT is returned the Jdb_core reads again the values according to the given format (fmt) and enters action(). With this mechanism it is possible to request further input depending on the already given input. Implements Jdb_module. |
|
The commands this module provides. An array of Cmd structures must be returned, where each entry describes a single command. The command IDs (see Cmd::id) should be unique within the module, so that action() can distinguish between the different commands.
Implements Jdb_module. |
|
|
|
|
|
|
|
The number of commands this modules provides. This method must return how many Cmd structures can be found in the array returned by cmds().
Implements Jdb_module. |
|
|
|
Show one backtrace item we found. Add symbol name and line info |
|
|
|
Reimplemented from Jdb_input_task_addr. |
|
|
|
Reimplemented from Jdb_input_task_addr. |
|
|
|
Reimplemented from Jdb_input_task_addr. |
|
|