2006-04-21 Frederic Riss <frederic.riss@st.com>
authorFrederic Riss <frederic.riss@st.com>
Fri, 21 Apr 2006 20:26:07 +0000 (20:26 +0000)
committerFrederic Riss <frederic.riss@st.com>
Fri, 21 Apr 2006 20:26:07 +0000 (20:26 +0000)
commit4f1520fbca4e116eee89ff895296cc9307cf53e4
tree24a6df5d87da0e2e0bb36e0b18de7c95825aa284
parent5c182d5fce67b0c8b2ba4fe916c3d6451d4db936
2006-04-21  Frederic Riss  <frederic.riss@st.com>

* dwarf2read.c (dwarf2_start_subfile): Change prototype to accept
compilation directory as last argument.
Always pass comp_dir as second argument to start_subfile and prepend
dirname to the filename when necessary.
Remove now superfluous search for pre-existing subfile.
(dwarf_decode_lines): Pass the compilation directory to
dwarf2_start_subfile.
gdb/ChangeLog
gdb/dwarf2read.c