mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
gdb/
* dwarf2read.c (write_psymtabs_to_index): Ignore NULL PSYMTAB.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2013-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||||
|
|
||||||
|
* dwarf2read.c (write_psymtabs_to_index): Ignore NULL PSYMTAB.
|
||||||
|
|
||||||
2013-06-17 Pierre Muller <muller@sourceware.org>
|
2013-06-17 Pierre Muller <muller@sourceware.org>
|
||||||
|
|
||||||
* corelow.c (core_open): Print GDB signal name instead of target
|
* corelow.c (core_open): Print GDB signal name instead of target
|
||||||
|
@ -21270,6 +21270,12 @@ write_psymtabs_to_index (struct objfile *objfile, const char *dir)
|
|||||||
struct psymtab_cu_index_map *map;
|
struct psymtab_cu_index_map *map;
|
||||||
void **slot;
|
void **slot;
|
||||||
|
|
||||||
|
/* CU of a shared file from 'dwz -m' may be unused by this main file.
|
||||||
|
It may be referenced from a local scope but in such case it does not
|
||||||
|
need to be present in .gdb_index. */
|
||||||
|
if (psymtab == NULL)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (psymtab->user == NULL)
|
if (psymtab->user == NULL)
|
||||||
recursively_write_psymbols (objfile, psymtab, symtab, psyms_seen, i);
|
recursively_write_psymbols (objfile, psymtab, symtab, psyms_seen, i);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user