diff options
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 62f9679..86508d1 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -210,7 +210,7 @@ compare_symbols (const void *s1p, const void *s2p) s1 = (struct symbol **) s1p; s2 = (struct symbol **) s2p; - return (strcmp (SYMBOL_SOURCE_NAME (*s1), SYMBOL_SOURCE_NAME (*s2))); + return (strcmp (SYMBOL_PRINT_NAME (*s1), SYMBOL_PRINT_NAME (*s2))); } /* @@ -243,8 +243,8 @@ compare_psymbols (const void *s1p, const void *s2p) s1 = (struct partial_symbol **) s1p; s2 = (struct partial_symbol **) s2p; - st1 = SYMBOL_SOURCE_NAME (*s1); - st2 = SYMBOL_SOURCE_NAME (*s2); + st1 = SYMBOL_PRINT_NAME (*s1); + st2 = SYMBOL_PRINT_NAME (*s2); if ((st1[0] - st2[0]) || !st1[0]) |