- Fix /usr/bin/gdb-add-index $d -> $dir typo.
This commit is contained in:
parent
20f9f675af
commit
44969d3e6c
@ -1,6 +1,9 @@
|
|||||||
http://sourceware.org/ml/gdb-patches/2010-07/msg00184.html
|
http://sourceware.org/ml/gdb-patches/2010-07/msg00184.html
|
||||||
Subject: Re: [0/4] RFC: add DWARF index support
|
Subject: Re: [0/4] RFC: add DWARF index support
|
||||||
|
|
||||||
|
Jan Kratochvil: Fixed $d -> $dir.
|
||||||
|
Jan Kratochvil: Remove /dev/null redirection.
|
||||||
|
|
||||||
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
|
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
|
||||||
|
|
||||||
Tom> This patch series adds support for a DWARF index to gdb.
|
Tom> This patch series adds support for a DWARF index to gdb.
|
||||||
@ -106,7 +109,7 @@ index 0000000..c9a03b0
|
|||||||
+dir="${file%/*}"
|
+dir="${file%/*}"
|
||||||
+
|
+
|
||||||
+# We don't care if gdb gives an error.
|
+# We don't care if gdb gives an error.
|
||||||
+gdb --batch-silent -ex "file $file" -ex "save gdb-index $d" > /dev/null 2>&1
|
+gdb --batch-silent -ex "file $file" -ex "save gdb-index $dir"
|
||||||
+
|
+
|
||||||
+if test -f "${file}.gdb-index"; then
|
+if test -f "${file}.gdb-index"; then
|
||||||
+ objcopy --add-section .gdb_index="${file}.gdb-index" --set-section-flags .gdb_index=readonly "$file" "$file"
|
+ objcopy --add-section .gdb_index="${file}.gdb-index" --set-section-flags .gdb_index=readonly "$file" "$file"
|
||||||
|
5
gdb.spec
5
gdb.spec
@ -36,7 +36,7 @@ Version: 7.1.90.20100721
|
|||||||
|
|
||||||
# The release always contains a leading reserved number, start it at 1.
|
# The release always contains a leading reserved number, start it at 1.
|
||||||
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
# `upstream' is not a part of `name' to stay fully rpm dependencies compatible for the testing.
|
||||||
Release: 4%{?_with_upstream:.upstream}%{dist}
|
Release: 5%{?_with_upstream:.upstream}%{dist}
|
||||||
|
|
||||||
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and GFDL and BSD and Public Domain
|
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and GFDL and BSD and Public Domain
|
||||||
Group: Development/Debuggers
|
Group: Development/Debuggers
|
||||||
@ -999,6 +999,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 22 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.1.90.20100721-5.fc14
|
||||||
|
- Fix /usr/bin/gdb-add-index $d -> $dir typo.
|
||||||
|
|
||||||
* Thu Jul 22 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.1.90.20100721-4.fc14
|
* Thu Jul 22 2010 Jan Kratochvil <jan.kratochvil@redhat.com> - 7.1.90.20100721-4.fc14
|
||||||
- Import archer-tromey-python.
|
- Import archer-tromey-python.
|
||||||
- Import archer-tromey-optional-psymtab (as present in FSF GDB post-7.2).
|
- Import archer-tromey-optional-psymtab (as present in FSF GDB post-7.2).
|
||||||
|
Loading…
Reference in New Issue
Block a user