binutils-gdb/gdb/compile
Tom Tromey 72a8f76323 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>
2023-03-27 08:37:14 -06:00
..
compile-c-support.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
compile-c-symbols.c Change symbol::line to unsigned int 2023-03-27 08:37:14 -06:00
compile-c-types.c Use builtin type when appropriate 2023-03-18 11:12:38 -06:00
compile-c.h gdb: move compile_instance to compile/compile.h 2023-01-20 14:48:56 -05:00
compile-cplus-symbols.c Change symbol::line to unsigned int 2023-03-27 08:37:14 -06:00
compile-cplus-types.c Change symbol::line to unsigned int 2023-03-27 08:37:14 -06:00
compile-cplus.h gdb: move compile_instance to compile/compile.h 2023-01-20 14:48:56 -05:00
compile-internal.h gdb: move compile_instance to compile/compile.h 2023-01-20 14:48:56 -05:00
compile-loc2c.c Convert block_linkage_function to method 2023-02-19 12:51:05 -07:00
compile-object-load.c Turn many optimized-out value functions into methods 2023-02-13 15:22:17 -07:00
compile-object-load.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
compile-object-run.c Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
compile-object-run.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
compile.c gdb: move type_map_instance to compile/compile.c 2023-01-20 14:48:56 -05:00
compile.h gdb: move compile_instance to compile/compile.h 2023-01-20 14:48:56 -05:00
gcc-c-plugin.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
gcc-cp-plugin.h Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00