Accepting request 712900 from home:tomdevries:branches:devel:gcc

- Remove unused code: gdbtui support

OBS-URL: https://build.opensuse.org/request/show/712900
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=214
This commit is contained in:
2019-07-01 17:43:28 +00:00
committed by Git OBS Bridge
parent f87bfe82c0
commit c7d90f09c4
3 changed files with 5 additions and 17 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jul 1 06:28:27 UTC 2019 - Tom de Vries <tdevries@suse.de>
- Remove unused code: gdbtui support
-------------------------------------------------------------------
Mon Jun 24 07:00:28 UTC 2019 - Tom de Vries <tdevries@suse.de>

View File

@@ -84,9 +84,6 @@ Source3: gdb-gstack.man
#=fedora
Source4: gdbinit
# Provide gdbtui for RHEL-5 and RHEL-6 as it is removed upstream (BZ 797664).
Source6: gdbtui
# libipt: Intel Processor Trace Decoder Library
%global libipt_version 2.0
Source7: v%{libipt_version}.tar.gz
@@ -898,13 +895,6 @@ cd %{gdb_build}
make %{?_smp_mflags} install DESTDIR=$RPM_BUILD_ROOT
# Provide gdbtui for RHEL-5 and RHEL-6 as it is removed upstream (BZ 797664).
%if 0%{?rhel:1} && 0%{?rhel} <= 6
test ! -e $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui
install -m 755 %{SOURCE6} $RPM_BUILD_ROOT%{_prefix}/bin/gdbtui
ln -sf gdb.1 $RPM_BUILD_ROOT%{_mandir}/man1/gdbtui.1
%endif # 0%{?rhel:1} && 0%{?rhel} <= 6
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
touch -r %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
sed 's#%%{_sysconfdir}#%{_sysconfdir}#g' <%{SOURCE4} >$RPM_BUILD_ROOT%{_sysconfdir}/gdbinit
@@ -1055,11 +1045,6 @@ fi
%{_mandir}/*/gdb.1*
%{_bindir}/gstack
%{_mandir}/*/gstack.1*
# Provide gdbtui for RHEL-5 and RHEL-6 as it is removed upstream (BZ 797664).
%if 0%{?rhel:1} && 0%{?rhel} <= 6
%{_bindir}/gdbtui
%{_mandir}/*/gdbtui.1*
%endif # 0%{?rhel:1} && 0%{?rhel} <= 6
%{_bindir}/gdb-add-index
%{_mandir}/*/gdb-add-index.1*
%{_mandir}/*/gdbinit.5*

2
gdbtui
View File

@@ -1,2 +0,0 @@
#! /bin/sh
exec gdb -tui "$@"