From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Seitz To: Insight Maling List Subject: [PATCH] Fix "clear" in console window Date: Mon, 23 Apr 2001 13:31:00 -0000 Message-id: X-SW-Source: 2001-q2/msg00142.html I have checked in the following (hack) for making "clear" work in the console window. This fixes many failures with the srcwin testsuite. Keith * generic/gdbtk-cmds.c (gdb_get_breakpoint_info): If unable to find the requested breakpoint for lookup, check if it is about to be deleted and return information about that breakpoint. (gdb_get_tracepoint_info): Ditto for tracepoints. * generic/gdbtk-hooks.c (gdbtk_deleted_bp): New global. (gdbtk_delete_breakpoint): Remember the deleted breakpoint for gdb_get_breakpoint_info, in case it is called during the event notification. (gdbtk_delete_tracepoints): Ditto for tracepoints. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/ChangeLog.diff?cvsroot=src&r1=1.67&r2=1.68 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk-cmds.c.diff?cvsroot=src&r1=1.31&r2=1.32 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/gdbtk/generic/gdbtk-hooks.c.diff?cvsroot=src&r1=1.11&r2=1.12