Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37660342
en ru br
Репозитории ALT
S:13.2.0.43.854f46b6377-alt2
5.1: 6.6-alt3
4.1: 6.6-alt3
4.0: 6.6-alt2
3.0: 6.3-alt2
www.altlinux.org/Changes

Группа :: Разработка/Отладчики
Пакет: gdb

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: gdb-6.3-dwattype0-20050201.patch
Скачать


2005-02-01  Jeff Johnston  <jjohnstn@redhat.com>
        * dwarf2read.c (die_type): Tolerate a type reference to location
        <0> and treat as unknown type.
--- gdb-6.3/gdb/dwarf2read.c.fix	Tue Feb  1 16:48:49 2005
+++ gdb-6.3/gdb/dwarf2read.c	Tue Feb  1 16:50:12 2005
@@ -7120,6 +7120,10 @@ die_type (struct die_info *die, struct d
       /* A missing DW_AT_type represents a void type.  */
       return dwarf2_fundamental_type (cu->objfile, FT_VOID, cu);
     }
+  else if (DW_ADDR (type_attr) == 0)
+    /* If we have an invalid reference to 0, ignore it and treat
+       the type as unknown.  */
+    return builtin_type_error;
   else
     type_die = follow_die_ref (die, type_attr, cu);
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin