Browse Source

2001-04-06 Fernando Nasser <fnasser@redhat.com>

* buildsym.c (record_line): Turn off unused addr bits.
dberlin-typesystem-branch
Fernando Nasser 26 years ago
parent
commit
063fd66879
  1. 4
      gdb/ChangeLog
  2. 2
      gdb/buildsym.c

4
gdb/ChangeLog

@ -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> 2001-04-06 Fernando Nasser <fnasser@redhat.com>
From David Deephanphongs <deephan@telocity.com> From David Deephanphongs <deephan@telocity.com>

2
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 = subfile->line_vector->item + subfile->line_vector->nitems++;
e->line = line; e->line = line;
e->pc = pc; e->pc = ADDR_BITS_REMOVE(pc);
} }
/* Needed in order to sort line tables from IBM xcoff files. Sigh! */ /* Needed in order to sort line tables from IBM xcoff files. Sigh! */

Loading…
Cancel
Save