From: Roland McGrath Date: Thu, 29 Jan 2009 02:28:52 +0000 (-0800) Subject: (struct Dwarf_Files_s): Replace dbg field with cu field. X-Git-Tag: elfutils-0.140~13^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c5acb304d81cdbe3f8b923f2a6ac1bee3af9f498;p=thirdparty%2Felfutils.git (struct Dwarf_Files_s): Replace dbg field with cu field. --- diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 0d94b45a7..c45c17931 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,7 @@ +2009-01-28 Roland McGrath + + * libdwP.h (struct Dwarf_Files_s): Replace dbg field with cu field. + 2009-01-26 Roland McGrath * dwarf_ranges.c: Return 0 when no ranges or *_pc attrs at all. diff --git a/libdw/dwarf_getsrclines.c b/libdw/dwarf_getsrclines.c index 9b3c97af4..fe0e67d6a 100644 --- a/libdw/dwarf_getsrclines.c +++ b/libdw/dwarf_getsrclines.c @@ -1,5 +1,5 @@ /* Return line number information of CU. - Copyright (C) 2004, 2005, 2007, 2008 Red Hat, Inc. + Copyright (C) 2004-2009 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper , 2004. @@ -634,8 +634,8 @@ dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines, size_t *nlines) dirs[i] = dirarray[i]->dir; dirs[ndirlist] = NULL; - /* Remember the debugging descriptor. */ - files->dbg = dbg; + /* Remember the referring CU. */ + files->cu = cu; /* Make the file data structure available through the CU. */ cu->files = files; diff --git a/libdw/libdwP.h b/libdw/libdwP.h index 867ad89b4..1892cd58f 100644 --- a/libdw/libdwP.h +++ b/libdw/libdwP.h @@ -1,5 +1,5 @@ /* Internal definitions for libdwarf. - Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2008 Red Hat, Inc. + Copyright (C) 2002-2009 Red Hat, Inc. This file is part of Red Hat elfutils. Written by Ulrich Drepper , 2002. @@ -208,7 +208,7 @@ struct Dwarf_Abbrev /* Files in line information records. */ struct Dwarf_Files_s { - Dwarf *dbg; + struct Dwarf_CU *cu; unsigned int ndirs; unsigned int nfiles; struct Dwarf_Fileinfo_s