This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Branch tag gdb_7_5-branch added for insight specific sources
- From: Kevin Buettner <kevinb at redhat dot com>
- To: insight at sourceware dot org
- Date: Wed, 29 Aug 2012 15:24:11 -0700
- Subject: Branch tag gdb_7_5-branch added for insight specific sources
I've added the gdb_7_5-branch branch tag for the following insight
specific source directories:
gdb/gdbtk
gdb/testsuite/gdb.gdbtk
tcl
tk
itcl
libgui
As usual, I found that I couldn't use the same date as that used by
GDB for creating the branch point. Also, as usual, I didn't create
a branch point for insight, though I can do so if requested. For
the insight specific sources, I used -D 2012-08-09 in order to
bring in Roland Schwingel's fixes to make insight compilable.
I had to revert one of those changes, however, for the gdb 7.5 branch.
I'm appending this patch along with the ChangeLog entry below. I've
committed this patch to the branch.
Kevin
2012-08-29 Kevin Buettner <kevinb@redhat.com>
* generic/gdbtk-cmds.c (gdb_load_info): Revert change
regarding make_cleanup_bfd_unref for the gdb 7.5 branch.
Index: generic/gdbtk-cmds.c
===================================================================
RCS file: /cvs/src/src/gdb/gdbtk/generic/gdbtk-cmds.c,v
retrieving revision 1.128
diff -u -p -r1.128 gdbtk-cmds.c
--- generic/gdbtk-cmds.c 8 Aug 2012 13:50:32 -0000 1.128
+++ generic/gdbtk-cmds.c 29 Aug 2012 22:07:37 -0000
@@ -968,7 +968,7 @@ gdb_load_info (ClientData clientData, Tc
gdbtk_set_result (interp, "Open of %s failed", filename);
return TCL_ERROR;
}
- old_cleanups = make_cleanup_bfd_unref (loadfile_bfd);
+ old_cleanups = make_cleanup_bfd_close (loadfile_bfd);
if (!bfd_check_format (loadfile_bfd, bfd_object))
{