This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
[PATCH] Fix "clear" in console window
- To: Insight Maling List <insight at sources dot redhat dot com>
- Subject: [PATCH] Fix "clear" in console window
- From: Keith Seitz <keiths at cygnus dot com>
- Date: Mon, 23 Apr 2001 13:30:40 -0700 (PDT)
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