summaryrefslogtreecommitdiff
path: root/libdw/dwarf_getsrclines.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2009-01-28 18:28:52 -0800
committerRoland McGrath <roland@redhat.com>2009-01-28 18:28:52 -0800
commitc5acb304d81cdbe3f8b923f2a6ac1bee3af9f498 (patch)
treed08164107fab19144699a66fc8c696b09ea37b22 /libdw/dwarf_getsrclines.c
parent51f01285dca04c78350d75bb62bba1350a05e252 (diff)
downloadelfutils-c5acb304d81cdbe3f8b923f2a6ac1bee3af9f498.tar.gz
(struct Dwarf_Files_s): Replace dbg field with cu field.
Diffstat (limited to 'libdw/dwarf_getsrclines.c')
-rw-r--r--libdw/dwarf_getsrclines.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdw/dwarf_getsrclines.c b/libdw/dwarf_getsrclines.c
index 9b3c97af..fe0e67d6 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 <drepper@redhat.com>, 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;