PR binutils/4797
authorNick Clifton <nickc@redhat.com>
Thu, 19 Jul 2007 16:51:10 +0000 (16:51 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 19 Jul 2007 16:51:10 +0000 (16:51 +0000)
* dwarf2.c: (find_line) Do not dereference functionname_ptr if do_line is true.

bfd/ChangeLog
bfd/dwarf2.c

index 81a8fd487e198fa70d63102b53c6c946ecb410c8..a90b270cfa99f612b37c2baaa87d77b34676061b 100644 (file)
@@ -1,3 +1,9 @@
+2007-07-19  Doug Kwan  <dougkwan@google.com>
+
+       PR binutils/4797
+       * dwarf2.c: (find_line) Do not dereference functionname_ptr if
+       do_line is true.
+
 2007-07-18  Bob Wilson  <bob.wilson@acm.org>
        
        * elf32-xtensa.c (xtensa_callback_required_dependence): Ignore
index 87bee392747730b71d51b13d6160cc10d50ed3bd..bcaebc2b88d15d0575bab5deb1eefd4ff0837679 100644 (file)
@@ -2380,7 +2380,8 @@ find_line (bfd *abfd,
   else
     addr += section->vma;
   *filename_ptr = NULL;
-  *functionname_ptr = NULL;
+  if (! do_line)
+    *functionname_ptr = NULL;
   *linenumber_ptr = 0;
 
   if (! *pinfo)
This page took 0.066134 seconds and 4 git commands to generate.