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

gdb/ChangeLog
gdb/buildsym.c

index b7f8ba183e6aa563ae9bdf4e4f9bd9f3042cdd3d..455f44853c31d970ba5794fb1c4ba65f74026cfc 100644 (file)
@@ -1,3 +1,7 @@
+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>
index 4fd969dfd2c239a6b53fab361988f7d63bf35fd9..e30f98a0252c48d156fd068ffed485a8850c6f48 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!  */