+2009-08-10 Roland McGrath <roland@redhat.com>
+
+ * dwarf_getscopevar.c: Use dwarf_diename.
+
2009-08-09 Roland McGrath <roland@redhat.com>
* libdw.map (ELFUTILS_0.143): New version set,
/* Find a named variable or parameter within given scopes.
- Copyright (C) 2005 Red Hat, Inc.
+ Copyright (C) 2005-2009 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
}
/* Only get here for a variable or parameter. Check the name. */
- Dwarf_Attribute attr_mem;
- const char *diename = INTUSE(dwarf_formstring)
- (INTUSE(dwarf_attr_integrate) (result, DW_AT_name, &attr_mem));
+ const char *diename = INTUSE(dwarf_diename) (result);
if (diename != NULL && !strcmp (name, diename))
{
/* We have a matching name. */