[NEWS patch] Re: [patch 1/2] Make gdbtui a shell script

Jan Kratochvil
2011-12-22T10:13:44Z

On Thu, 22 Dec 2011 00:11:25 +0100, Stan Shebs wrote:
> It seems a little disruptive to our users and repackagers to have the name
> disappear altogether with no prior warning.

The deprecation NEWS items have been present but TBH as Fedora + RHEL
GDB packager I have no idea what I could do with it in advance.

On Thu, 22 Dec 2011 06:21:36 +0100, Joel Brobecker wrote:
> > Assuming that this patch is only going into trunk, then it seems
> > sufficient to add a news item to 7.4 warning of the coming change,
> > or even adding a deprecation warning to the branch's tui-main, which
> > will give everybody the 7.4 - 7.5 interval to update their usages.
>
> Works for me!

Thanks,
Jan

gdb/
2011-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>

* NEWS (Changes in GDB 7.4): Add gdbtui deprecation note.
* tui/tui-main.c: Likewise.

--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -259,6 +259,11 @@ Texas Instruments TMS320C6x tic6x-*-*

Renesas RL78 rl78-*-elf

+* The binary "gdbtui" is deprecated.
+
+The binary will be no longer built or installed in GDB 7.5. Use "gdb -tui"
+instead.
+
*** Changes in GDB 7.3.1

* The build failure for NetBSD and OpenBSD targets have now been fixed.
--- a/gdb/tui/tui-main.c
+++ b/gdb/tui/tui-main.c
@@ -18,6 +18,11 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */

+/* The binary "gdbtui" is deprecated.
+
+ The binary will be no longer built or installed in GDB 7.5. Use "gdb -tui"
+ instead. */
+
#include "defs.h"
#include "main.h"
#include "gdb_string.h"