equal
deleted
inserted
replaced
1 --- gdb-7.6/bfd/elf32-i386.c 2013-02-20 19:02:29.000000000 -0800 |
1 # Solaris-specific ELF information. |
2 +++ gdb-7.6/bfd/elf32-i386.c 2013-10-08 09:04:26.769608447 -0700 |
2 # Will contribute upstream if possible. |
3 @@ -434,6 +434,45 @@ |
3 |
|
4 --- gdb-7.11-orig/bfd/elf32-i386.c Wed Feb 24 01:55:15 2016 |
|
5 +++ gdb-7.11/bfd/elf32-i386.c Thu Mar 10 13:12:46 2016 |
|
6 @@ -442,6 +442,45 @@ |
4 offset = 28; |
7 offset = 28; |
5 size = bfd_get_32 (abfd, note->descdata + 8); |
8 size = bfd_get_32 (abfd, note->descdata + 8); |
6 } |
9 } |
7 + else if (note->namesz == 5 && strncmp (note->namedata, "CORE", 4) == 0) |
10 + else if (note->namesz == 5 && strncmp (note->namedata, "CORE", 4) == 0) |
8 + { |
11 + { |
44 + } |
47 + } |
45 + } |
48 + } |
46 else |
49 else |
47 { |
50 { |
48 switch (note->descsz) |
51 switch (note->descsz) |
49 @@ -476,6 +515,31 @@ |
52 @@ -484,6 +523,31 @@ |
50 elf_tdata (abfd)->core->command |
53 elf_tdata (abfd)->core->command |
51 = _bfd_elfcore_strndup (abfd, note->descdata + 25, 81); |
54 = _bfd_elfcore_strndup (abfd, note->descdata + 25, 81); |
52 } |
55 } |
53 + else if (note->namesz == 5 && strncmp (note->namedata, "CORE", 4) == 0) |
56 + else if (note->namesz == 5 && strncmp (note->namedata, "CORE", 4) == 0) |
54 + { |
57 + { |
76 + } |
79 + } |
77 + } |
80 + } |
78 else |
81 else |
79 { |
82 { |
80 switch (note->descsz) |
83 switch (note->descsz) |
81 @@ -507,6 +571,83 @@ |
84 @@ -515,6 +579,83 @@ |
82 return TRUE; |
85 return TRUE; |
83 } |
86 } |
84 |
87 |
85 +static bfd_boolean |
88 +static bfd_boolean |
86 +elf_i386_grok_lwpstatus (bfd *abfd, Elf_Internal_Note *note) |
89 +elf_i386_grok_lwpstatus (bfd *abfd, Elf_Internal_Note *note) |
160 + |
163 + |
161 + |
164 + |
162 /* Functions for the i386 ELF linker. |
165 /* Functions for the i386 ELF linker. |
163 |
166 |
164 In order to gain some understanding of code in this file without |
167 In order to gain some understanding of code in this file without |
165 @@ -5053,6 +5194,7 @@ |
168 @@ -5790,6 +5931,7 @@ |
166 #define elf_backend_gc_mark_hook elf_i386_gc_mark_hook |
169 #define elf_backend_gc_mark_hook elf_i386_gc_mark_hook |
167 #define elf_backend_gc_sweep_hook elf_i386_gc_sweep_hook |
170 #define elf_backend_gc_sweep_hook elf_i386_gc_sweep_hook |
168 #define elf_backend_grok_prstatus elf_i386_grok_prstatus |
171 #define elf_backend_grok_prstatus elf_i386_grok_prstatus |
169 +#define elf_backend_grok_lwpstatus elf_i386_grok_lwpstatus |
172 +#define elf_backend_grok_lwpstatus elf_i386_grok_lwpstatus |
170 #define elf_backend_grok_psinfo elf_i386_grok_psinfo |
173 #define elf_backend_grok_psinfo elf_i386_grok_psinfo |