aboutsummaryrefslogtreecommitdiff
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
commit063fd668797b1aceb77988fa31eabec4f348aea0 (patch)
tree5f0c24c7e4d8921fd137671db4ec8486e1239f93 /gdb/buildsym.c
parent40f905288f98ff9baaaea319e525ac176ffaff4e (diff)
downloadgdb-063fd668797b1aceb77988fa31eabec4f348aea0.zip
gdb-063fd668797b1aceb77988fa31eabec4f348aea0.tar.gz
gdb-063fd668797b1aceb77988fa31eabec4f348aea0.tar.bz2
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 4fd969d..e30f98a 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! */