From d97d5b48abd98279f45b0d59ec1bd5843b942be4 Mon Sep 17 00:00:00 2001 From: Kung Hsu Date: Fri, 7 Jul 1995 21:44:57 +0000 Subject: [PATCH] * elfread.c (elf_symtab_read): Fix a bug ignoring compiler generated internal labels ($LM...). --- gdb/elfread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/elfread.c b/gdb/elfread.c index a4d4f72eeda..0425c01ce42 100644 --- a/gdb/elfread.c +++ b/gdb/elfread.c @@ -401,7 +401,7 @@ elf_symtab_read (abfd, addr, objfile, dynamic) } else if ((sym->name[0] == '.' && sym->name[1] == 'L') || ((sym -> flags & BSF_LOCAL) - && sym->name[0] == 'L' + && sym->name[0] == '$' && sym->name[1] == 'L')) /* Looks like a compiler-generated label. Skip it. The assembler should be skipping these (to keep -- 2.30.2