+2010-05-05 Michael Snyder <msnyder@vmware.com>
+
+ * tui/tui-interp.c (_initialize_tui_interp):
+ Delete unused variable.
+ * tui/tui-regs.c tui_display_registers_from):
+ Delete unused variable.
+ (tui_check_register_values): Delete unused variable.
+ (tui_register_format): Delete unused variable.
+ * tui/tui-win.c (_initialize_tui_win): Delete unused variable.
+ * tui/tui-windata.c (tui_display_data_from_line):
+ Delete unused variables.
+ (tui_vertical_data_scroll): Delete unused variables.
+
2010-05-05 Michael Snyder <msnyder@vmware.com>
* remote.c (remote_threads_info): Revert questionable part of
tui_display_prompt_p,
tui_command_loop,
};
- struct interp *tui_interp;
/* Create a default uiout builder for the TUI. */
tui_out = tui_out_new (gdb_stdout);
&& display_info->regs_content_count > 0)
{
int i = start_element_no;
- int j, value_chars_wide, item_win_width, cur_y;
+ int j, item_win_width, cur_y;
int max_len = 0;
for (i = 0; i < display_info->regs_content_count; i++)
tui_show_registers (display_info->current_group);
else
{
- int i, j;
+ int i;
for (i = 0; (i < display_info->regs_content_count); i++)
{
const char *name;
struct cleanup *cleanups;
char *p, *s;
- int pos;
struct type *type = register_type (gdbarch, regnum);
name = gdbarch_register_name (gdbarch, regnum);
void
_initialize_tui_win (void)
{
- struct cmd_list_element *c;
static struct cmd_list_element *tui_setlist;
static struct cmd_list_element *tui_showlist;
tui_display_registers_from_line (_line_no, TRUE);
else
{
- int element_no, start_line_no;
int regs_last_line = tui_last_regs_line_no ();
if (first_line >= 0)
{
- int last_element_no, last_line;
-
if (scroll_direction == FORWARD_SCROLL)
first_line += num_to_scroll;
else