Re: PATCH: DWARF2 macinfo-related fixes for gdb and gcc

2005-10-18 Thread Jim Wilson
Alan Curry wrote: There is a function called maybe_emit_file() in gcc, which assigns the filenums, and takes care of mapping the file numbers in the main file list to the file numbers in the DWARF2 list. Someone forgot to use the return value of maybe_emit_file() This is FSF GCC PR 24070 which

PATCH: DWARF2 macinfo-related fixes for gdb and gcc

2005-10-18 Thread Alan Curry
[skip to the end if you just want the patches without the storyline] Jochen Voss writes the following: > >when trying to debug one of my programs I encountered a case where gdb >crashed on the command "break main" before my programm was even >started. The problem occurs on a powerpc machine. Aft