summaryrefslogtreecommitdiff
path: root/gdb/buildsym.c
diff options
context:
space:
mode:
authorFernando Nasser <fnasser@redhat.com>2001-04-06 13:14:55 +0000
committerFernando Nasser <fnasser@redhat.com>2001-04-06 13:14:55 +0000
commite8b49da05f05acd64889ca2b98d903660e44a87d (patch)
tree6f65ae73ab4779fa8355569a010be05a8f8cf842 /gdb/buildsym.c
parent83ae8ba7e59a260f297d7cb0a43dfc0ae8e3a851 (diff)
downloadgdb-e8b49da05f05acd64889ca2b98d903660e44a87d.tar.gz
2001-04-06 Fernando Nasser <fnasser@redhat.com>
* buildsym.c (record_line): Turn off unused addr bits.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r--gdb/buildsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c
index 4fd969dfd2c..e30f98a0252 100644
--- a/gdb/buildsym.c
+++ b/gdb/buildsym.c
@@ -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! */