Projects
Factory:RISC-V:Base
gdb
_service:tar_scm:gdb-libexec-add-index.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:gdb-libexec-add-index.patch of Package gdb
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001 From: Fedora GDB patches <invalid@email.com> Date: Fri, 27 Oct 2017 21:07:50 +0200 Subject: gdb-libexec-add-index.patch ;; Fix gdb-headless /usr/bin/ executables (BZ 1390251). ;; ;; Also, make /usr/bin/gdb.minimal be the default GDB used, if it's ;; present. For rationale, see: ;; ;; https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot ;;=fedora diff --git a/gdb/contrib/gdb-add-index.sh b/gdb/contrib/gdb-add-index.sh --- a/gdb/contrib/gdb-add-index.sh +++ b/gdb/contrib/gdb-add-index.sh @@ -22,6 +22,20 @@ GDB=${GDB:=gdb} OBJCOPY=${OBJCOPY:=objcopy} READELF=${READELF:=readelf} +GDB2=/usr/libexec/gdb +if test -x $GDB2 && ! which $GDB &>/dev/null; then + GDB=$GDB2 +fi + +# We default to using /usr/bin/gdb.minimal if it's present. See +# https://bugzilla.redhat.com/show_bug.cgi?id=1695015 and +# https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot for +# explanations. +GDB3=/usr/bin/gdb.minimal +if test -x $GDB3; then + GDB=$GDB3 +fi + myname="${0##*/}" dwarf5=""
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2