File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change
1
+ --- /usr/people/vladimir/tmp/mips-irix-tdep.c 2021-11-18 15:21:59.857384191 +0000
2
+ +++ gdb-7.6.2/gdb/mips-irix-tdep.c 2021-11-18 15:06:29.784909361 +0000
3
+ @@ -28,6 +28,10 @@
4
+ #include "trad-frame.h"
5
+ #include "tramp-frame.h"
6
+
7
+ + #ifndef ELFOSABI_IRIX
8
+ + #define ELFOSABI_IRIX 8
9
+ + #endif
10
+ +
11
+ static void
12
+ mips_irix_elf_osabi_sniff_abi_tag_sections (bfd *abfd, asection *sect,
13
+ void *obj)
14
+ @@ -63,6 +67,9 @@
15
+
16
+ elfosabi = elf_elfheader (abfd)->e_ident[EI_OSABI];
17
+
18
+ + if (elfosabi == ELFOSABI_IRIX)
19
+ + return GDB_OSABI_IRIX;
20
+ +
21
+ if (elfosabi == ELFOSABI_NONE)
22
+ {
23
+ /* When elfosabi is ELFOSABI_NONE (0), then the ELF structures in the
Original file line number Diff line number Diff line change 11
11
Summary: The GNU Debugger
12
12
Name: gdb
13
13
Version: 7.6.2
14
- Release: 8 %{?dist }
14
+ Release: 9 %{?dist }
15
15
License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ and GPLv2+ with exceptions and GPL+ and LGPLv2+ and LGPLv3+ and BSD and Public Domain and GFDL
16
16
URL: http://ftp.gnu.org/gnu/gdb/
17
17
Source: http://ftp.gnu.org/gnu/gdb/gdb-%{version }.tar.gz
18
18
19
19
Patch0: gdb762.sgifixups.patch
20
+ Patch1: gdb.elfirix.patch
20
21
21
22
BuildRequires: gcc, binutils
22
23
BuildRequires: automake, autoconf, libtool, pkgconfig
@@ -33,6 +34,7 @@ The gnu debugger.
33
34
%setup
34
35
35
36
%patch0 -p1 -b .sgifixups
37
+ %patch1 -p1 -b .elfirix
36
38
37
39
# A place to generate our patch
38
40
#exit 1
You can’t perform that action at this time.
0 commit comments