+Sun Mar 29 21:19:46 1998 Keith Seitz <keiths@onions.cygnus.com>
+
+ * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.
+ (tracepoint_exists): Remove code which confuses assembly traces.
+
Sat Mar 28 12:13:23 1998 Keith Seitz <keiths@onions.cygnus.com>
* gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooks
find_pc_partial_function (tp->address, &funcname, NULL, NULL);
Tcl_ListObjAppendElement (interp, list, Tcl_NewStringObj (funcname, -1));
Tcl_ListObjAppendElement (interp, list, Tcl_NewIntObj (sal.line));
- sprintf (tmp, "0x%08x", tp->address);
+ sprintf (tmp, "0x%lx", tp->address);
Tcl_ListObjAppendElement (interp, list, Tcl_NewStringObj (tmp, -1));
Tcl_ListObjAppendElement (interp, list, Tcl_NewIntObj (tp->enabled));
Tcl_ListObjAppendElement (interp, list, Tcl_NewIntObj (tp->pass_count));
{
if (tp->address == sals.sals[0].pc)
result = tp->number;
+#if 0
+ /* Why is this here? This messes up assembly traces */
else if (tp->source_file != NULL
&& strcmp (tp->source_file, file) == 0
&& sals.sals[0].line == tp->line_number)
-
result = tp->number;
+#endif
}
}
}