mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 21:22:20 +08:00
2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
* hist.c (scale_and_align_entries): Avoid C99 feature.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2007-05-14 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* hist.c (scale_and_align_entries): Avoid C99 feature.
|
||||||
|
|
||||||
2007-04-19 Alan Modra <amodra@bigpond.net.au>
|
2007-04-19 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* corefile.c (core_create_function_syms, core_create_line_syms): Don't
|
* corefile.c (core_create_function_syms, core_create_line_syms): Don't
|
||||||
|
@ -296,10 +296,10 @@ scale_and_align_entries ()
|
|||||||
|
|
||||||
for (sym = symtab.base; sym < symtab.limit; sym++)
|
for (sym = symtab.base; sym < symtab.limit; sym++)
|
||||||
{
|
{
|
||||||
sym->hist.scaled_addr = sym->addr / sizeof (UNIT);
|
|
||||||
|
|
||||||
histogram *r = find_histogram_for_pc (sym->addr);
|
histogram *r = find_histogram_for_pc (sym->addr);
|
||||||
|
|
||||||
|
sym->hist.scaled_addr = sym->addr / sizeof (UNIT);
|
||||||
|
|
||||||
if (r)
|
if (r)
|
||||||
{
|
{
|
||||||
bin_of_entry = (sym->hist.scaled_addr - r->lowpc) / hist_scale;
|
bin_of_entry = (sym->hist.scaled_addr - r->lowpc) / hist_scale;
|
||||||
|
Reference in New Issue
Block a user