From 063fd668797b1aceb77988fa31eabec4f348aea0 Mon Sep 17 00:00:00 2001 From: Fernando Nasser Date: Fri, 6 Apr 2001 13:14:55 +0000 Subject: [PATCH] 2001-04-06 Fernando Nasser * buildsym.c (record_line): Turn off unused addr bits. --- gdb/ChangeLog | 4 ++++ gdb/buildsym.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b7f8ba183e6..455f44853c3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2001-04-06 Fernando Nasser + + * buildsym.c (record_line): Turn off unused addr bits. + 2001-04-06 Fernando Nasser From David Deephanphongs 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! */ -- 2.30.2