forked from Imagelibrary/binutils-gdb
* language.c (local_hex_string_custom): Simplify. Do not depend
on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. * memattr.c (mem_info_command): Replace calls to longest_local_hex_string and longest_local_hex_string_custom. * buildsym.c (make_blockvector): Ditto. * solib.c (info_sharedlibrary_command): Ditto. * tracepoint.c (tracepoints_info): Ditto. * symtab.c (print_msymbol_info): Ditto. * language.c (local_hex_string): Delete. (local_hex_string_custom): Delete. (longest_local_hex_string): Rename to local_hex_string. (longest_local_hex_string_custom): Rename to local_hex_string_custom. * language.h (local_hex_string): Change parameter type to LONGEST. (local_hex_string_custom): Ditto. (longest_local_hex_string): Delete declaration. (longest_local_hex_string_custom): Ditto. * solib.c: Update copyright. * memattr.c: Update copyright.
This commit is contained in:
10
gdb/symtab.c
10
gdb/symtab.c
@@ -2961,12 +2961,12 @@ print_msymbol_info (struct minimal_symbol *msymbol)
|
||||
char *tmp;
|
||||
|
||||
if (TARGET_ADDR_BIT <= 32)
|
||||
tmp = longest_local_hex_string_custom (SYMBOL_VALUE_ADDRESS (msymbol)
|
||||
& (CORE_ADDR) 0xffffffff,
|
||||
"08l");
|
||||
tmp = local_hex_string_custom (SYMBOL_VALUE_ADDRESS (msymbol)
|
||||
& (CORE_ADDR) 0xffffffff,
|
||||
"08l");
|
||||
else
|
||||
tmp = longest_local_hex_string_custom (SYMBOL_VALUE_ADDRESS (msymbol),
|
||||
"016l");
|
||||
tmp = local_hex_string_custom (SYMBOL_VALUE_ADDRESS (msymbol),
|
||||
"016l");
|
||||
printf_filtered ("%s %s\n",
|
||||
tmp, SYMBOL_SOURCE_NAME (msymbol));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user