This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Re: gdbtk-cmds.c is no longer compiling
- From: Keith Seitz <keiths at redhat dot com>
- To: insight at sourceware dot org
- Date: Tue, 30 Jul 2013 16:16:55 -0700
- Subject: Re: gdbtk-cmds.c is no longer compiling
- References: <51F240B9 dot 1000709 at onevision dot com> <51F2963D dot 4070306 at redhat dot com>
On 07/26/2013 08:31 AM, Keith Seitz wrote:
On 07/26/2013 02:26 AM, Roland Schwingel wrote:
Any clue on how to continue here?
I think you can just delete that block. It may no longer be necessary.
Give that a try and see if it makes any difference. I didn't notice a
difference here.
Well, it seems to work for me, so I've committed this to get the build
working again.
Keith
ChangeLog
2013-07-30 Keith Seitz <keiths@redhat.com>
* generic/gdbtk-cmds.c (gdb_clear_file): Remove use of pop_target,
which was recently removed from gdb.
Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.134
diff -u -p -r1.134 gdbtk-cmds.c
--- generic/gdbtk-cmds.c 2 Jul 2013 17:07:29 -0000 1.134
+++ generic/gdbtk-cmds.c 30 Jul 2013 23:13:11 -0000
@@ -487,9 +487,6 @@ gdb_clear_file (ClientData clientData, T
target_kill ();
}
- if (target_has_execution)
- pop_target ();
-
delete_command (NULL, 0);
exec_file_clear (0);
symbol_file_clear (0);