Commit 7128808c authored by unknown's avatar unknown

extra/resolve_stack_dump.c

    skip gcc2_compiled. junk


extra/resolve_stack_dump.c:
  skip gcc2_compiled. junk
parent f85e11f6
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#define INIT_SYM_TABLE 4096 #define INIT_SYM_TABLE 4096
#define INC_SYM_TABLE 4096 #define INC_SYM_TABLE 4096
#define MAX_SYM_SIZE 128 #define MAX_SYM_SIZE 128
#define DUMP_VERSION "1.0" #define DUMP_VERSION "1.1"
#define HEX_INVALID (uchar)255 #define HEX_INVALID (uchar)255
typedef ulong my_long_addr_t ; /* at some point, we need to fix configure typedef ulong my_long_addr_t ; /* at some point, we need to fix configure
...@@ -198,6 +198,8 @@ static int init_sym_entry(SYM_ENTRY* se, char* buf) ...@@ -198,6 +198,8 @@ static int init_sym_entry(SYM_ENTRY* se, char* buf)
break; break;
} }
*p = 0; *p = 0;
if(!strcmp(se->symbol, "gcc2_compiled."))
return -1;
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment