gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 18 Apr 2012 06:52:33 +0000 (06:52 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 18 Apr 2012 06:52:33 +0000 (06:52 +0000)
commit12df843f84c7dadade469db58e279390f16d11f1
treed89ad616e07da31661478d7b2d917420eb157075
parentefd4ebc3413121e4cde5b0355fdde0e1dbb76b93
gdb/
Fix 64-bit constants on 32-bit hosts.
* dwarf2read.c (read_unsigned_leb128): Change declaration return type
from unsigned long to ULONGEST.
(read_signed_leb128): Change declaration return type from long to
LONGEST.
(dwarf2_const_value_attr): Change declaration parameter value from long
to LONGEST.
(dwarf2_compute_name): Change variable value from long to LONGEST.
(read_unsigned_leb128): Change return type, variable result and some
casts from unsigned long to ULONGEST.
(read_signed_leb128): Change return type, variable result and some
casts from long to LONGEST.
(dwarf2_const_value_data, dwarf2_const_value_attr): Change parameter
value from long to LONGEST.
(dwarf2_const_value): Change variable value from long to LONGEST.
* symmisc.c (print_symbol): Change SYMBOL_VALUE format strings to use
plongest and hex_string.
* symtab.h (struct general_symbol_info): Change ivalue from long to
LONGEST, remove the comment.
* tracepoint.c (validate_actionline, collect_symbol, scope_info):
Change SYMBOL_VALUE format strings to use plongest and hex_string.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/symmisc.c
gdb/symtab.h
gdb/tracepoint.c