This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdbtk-cmds.c is no longer compiling


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);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]