diff options
author | Tom Tromey <tromey@adacore.com> | 2023-03-22 13:43:03 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-03-27 08:37:14 -0600 |
commit | 72a8f763233c11052b8b7eee5d2d8fb23e118c97 (patch) | |
tree | 3435935b42e9be3fe4efd09bf111102b877295e0 /gdb/gdbarch.c | |
parent | 7005080802d695d112530a7c24c9d3d44ee109a3 (diff) | |
download | gdb-72a8f763233c11052b8b7eee5d2d8fb23e118c97.zip gdb-72a8f763233c11052b8b7eee5d2d8fb23e118c97.tar.gz gdb-72a8f763233c11052b8b7eee5d2d8fb23e118c97.tar.bz2 |
Change symbol::line to unsigned int
A user here at AdaCore noticed that, when debugging a certain program,
a stack frame reported line 34358, where it should have been line
99894.
After debugging a bit, I discovered:
(top) p (99894 & ~65536)
$60 = 34358
That line, symbol::line is too narrow.
This patch widens the member and changes all the uses that currently
use the narrower type.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/gdbarch.c')
0 files changed, 0 insertions, 0 deletions