OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [tools/] [amber-func-jumps.c] - Diff between revs 2 and 11

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 11
Line 225... Line 225...
                found = 1;
                found = 1;
                if ( strcmp ( func_names[mid].name, func_names[to_func_num].name ) )
                if ( strcmp ( func_names[mid].name, func_names[to_func_num].name ) )
                    {
                    {
 
 
                    if ( exact ) {
                    if ( exact ) {
                        if ( func_names[to_func_num].address < 0xc0000000 )
                        if ( func_names[to_func_num].address < 0x02000000 )
                            printf("%9d u %s ->", clk_count, func_names[mid].name);
                            printf("%9d u %s ->", clk_count, func_names[mid].name);
                        else
                        else
                            printf("%9d   %s ->", clk_count, func_names[mid].name);
                            printf("%9d   %s ->", clk_count, func_names[mid].name);
 
 
                        slen = 35 - strlen ( func_names[mid].name );
                        slen = 35 - strlen ( func_names[mid].name );
                        if ( slen > 0 ) {
                        if ( slen > 0 ) {
                            for (x=0;x<slen;x++) printf(" ");
                            for (x=0;x<slen;x++) printf(" ");
                            }
                            }
 
 
 
 
                        if ( func_names[to_func_num].address < 0xc0000000 )
                        if ( func_names[to_func_num].address < 0x02000000 )
                            printf("( %s ) %s u\n",
                            printf("( %s ) %s u\n",
                                s_r0,
                                s_r0,
                                func_names[to_func_num].name);
                                func_names[to_func_num].name);
                        else
                        else
                            printf("( %s ) %s\n",
                            printf("( %s ) %s\n",

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.