removed "not_found_ptr" argument from call to decode_line_1.
* generic/gdbtk-stack.c (gdb_get_vars_command): Likewise.
* generic/gdbtk-cmds.c (gdb_get_line_command): Likewise.
(gdb_get_file_command): Likewise.
(gdb_get_function_command): Likewise.
From Kevin Buettner <kevinb@redhat.com>
* generic/gdbtk-register.c (): Delete declaration of `buffer'.
Use `valaddr' in its place.
+2011-04-11 Keith Seitz <keiths@redhat.com>
+
+ * generic/gdbtk-bp.c (tracepoint_exists): Remove recently
+ removed "not_found_ptr" argument from call to decode_line_1.
+ * generic/gdbtk-stack.c (gdb_get_vars_command): Likewise.
+ * generic/gdbtk-cmds.c (gdb_get_line_command): Likewise.
+ (gdb_get_file_command): Likewise.
+ (gdb_get_function_command): Likewise.
+
+ From Kevin Buettner <kevinb@redhat.com>
+ * generic/gdbtk-register.c (): Delete declaration of `buffer'.
+ Use `valaddr' in its place.
+
2011-04-08 Keith Seitz <keiths@redhat.com>
* generic/gdbtk-bp.c (tracepoint_exists): Update for
char *file = NULL;
int result = -1;
- sals = decode_line_1 (&args, 1, NULL, 0, NULL, NULL);
+ sals = decode_line_1 (&args, 1, NULL, 0, NULL);
if (sals.nelts == 1)
{
resolve_sal_pc (&sals.sals[0]);
}
args = Tcl_GetStringFromObj (objv[1], NULL);
- sals = decode_line_1 (&args, 1, NULL, 0, NULL, NULL);
+ sals = decode_line_1 (&args, 1, NULL, 0, NULL);
if (sals.nelts == 1)
{
Tcl_SetIntObj (result_ptr->obj_ptr, sals.sals[0].line);
}
args = Tcl_GetStringFromObj (objv[1], NULL);
- sals = decode_line_1 (&args, 1, NULL, 0, NULL, NULL);
+ sals = decode_line_1 (&args, 1, NULL, 0, NULL);
if (sals.nelts == 1)
{
Tcl_SetStringObj (result_ptr->obj_ptr,
}
args = Tcl_GetStringFromObj (objv[1], NULL);
- sals = decode_line_1 (&args, 1, NULL, 0, NULL, NULL);
+ sals = decode_line_1 (&args, 1, NULL, 0, NULL);
if (sals.nelts == 1)
{
resolve_sal_pc (&sals.sals[0]);
CORE_ADDR addr;
enum lval_type lval;
struct type *reg_vtype;
- gdb_byte buffer[MAX_REGISTER_SIZE];
int format;
struct cleanup *old_chain = NULL;
struct ui_file *stb;
{
int idx = ((gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG)
? j : register_size (gdbarch, regnum) - 1 - j);
- sprintf (ptr, "%02x", (unsigned char) buffer[idx]);
+ sprintf (ptr, "%02x", (unsigned char) valaddr[idx]);
ptr += 2;
}
fputs_unfiltered (buf, stb);
if (objc == 2)
{
args = Tcl_GetStringFromObj (objv[1], NULL);
- sals = decode_line_1 (&args, 1, NULL, 0, NULL, NULL);
+ sals = decode_line_1 (&args, 1, NULL, 0, NULL);
if (sals.nelts == 0)
{
gdbtk_set_result (interp, "error decoding line");