I want to set a breakpoint in .s file with the file name, like "b file.s:func",but gdb say that the function is not defined in the .s file, but I'm sure that the function is defined in the file. I try it in gdb7.2 and find that gdb7.2 do not have this problem.
Sorry, but there's nothing we can do without a reproducer and more details (e,g. system/os, where did you get your GDB from, etc.). Do you have one? Also, did you try 7.6? If not, could you, please?