OSDN Git Service

2001-04-06 Fernando Nasser <fnasser@redhat.com>
authorfnasser <fnasser>
Fri, 6 Apr 2001 13:14:54 +0000 (13:14 +0000)
committerfnasser <fnasser>
Fri, 6 Apr 2001 13:14:54 +0000 (13:14 +0000)
* buildsym.c (record_line): Turn off unused addr bits.

gdb/ChangeLog
gdb/buildsym.c

index b7f8ba1..455f448 100644 (file)
@@ -1,5 +1,9 @@
 2001-04-06  Fernando Nasser  <fnasser@redhat.com>
 
+       * buildsym.c (record_line): Turn off unused addr bits.
+
+2001-04-06  Fernando Nasser  <fnasser@redhat.com>
+
        From David Deephanphongs <deephan@telocity.com>
        * inferior.h:   Fix declarations of get_inferior_args and 
        set_inferior_args, which were missing the trailing 's'.
index 4fd969d..e30f98a 100644 (file)
@@ -726,7 +726,7 @@ record_line (register struct subfile *subfile, int line, CORE_ADDR pc)
 
   e = subfile->line_vector->item + subfile->line_vector->nitems++;
   e->line = line;
-  e->pc = pc;
+  e->pc = ADDR_BITS_REMOVE(pc);
 }
 
 /* Needed in order to sort line tables from IBM xcoff files.  Sigh!  */