diff options
| author | Roland McGrath <[email protected]> | 2009-08-07 18:26:19 -0700 |
|---|---|---|
| committer | Roland McGrath <[email protected]> | 2009-08-07 18:27:36 -0700 |
| commit | de69d52c6b10d3ff5dbf88515dc04146d049f7b5 (patch) | |
| tree | 2ab118e08ca08c91967e1f8deeccc88fd66c36ef /libdw/dwarf_srclang.c | |
| parent | 077a70854b50c03bf5bbd892e17955088cde4e48 (diff) | |
Use dwarf_attr_integrate in various convenience functions.
Diffstat (limited to 'libdw/dwarf_srclang.c')
| -rw-r--r-- | libdw/dwarf_srclang.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libdw/dwarf_srclang.c b/libdw/dwarf_srclang.c index 2efa0954..7d0e9071 100644 --- a/libdw/dwarf_srclang.c +++ b/libdw/dwarf_srclang.c @@ -1,5 +1,5 @@ /* Return source language attribute of DIE. - Copyright (C) 2003, 2005 Red Hat, Inc. + Copyright (C) 2003, 2005, 2009 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper <[email protected]>, 2003. @@ -63,7 +63,7 @@ dwarf_srclang (die) Dwarf_Attribute attr_mem; Dwarf_Word value; - return INTUSE(dwarf_formudata) (INTUSE(dwarf_attr) (die, DW_AT_language, - &attr_mem), + return INTUSE(dwarf_formudata) (INTUSE(dwarf_attr_integrate) + (die, DW_AT_language, &attr_mem), &value) == 0 ? (int) value : -1; } |
