Commit | Line | Data |
---|---|---|
d30113d4 JK |
1 | 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
2 | ||
3 | * breakpoint.c (add_location_to_breakpoint): Insert the location with | |
4 | ADDRESS sorted. | |
5 | ||
14ac654f MS |
6 | 2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com> |
7 | ||
8 | * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix: | |
9 | Refactor if statement to avoid trailing || operator. | |
10 | ||
543bf33d AT |
11 | 2013-02-05 Andreas Tobler <andreast@fgznet.ch> |
12 | ||
13 | * NEWS: Add PowerPC FreeBSD as a new native configuration. | |
14 | ||
dc18f110 AT |
15 | 2013-02-04 Andreas Tobler <andreast@fgznet.ch> |
16 | ||
17 | * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files. | |
18 | * configure.host: Add powerpc*-*-freebsd* target. | |
19 | * configure.tgt: Add target info for powerpc*-*-freebsd*. | |
20 | * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files. | |
21 | * config/powerpc/fbsd.mh: New file. | |
22 | ||
b3ac9c77 SDJ |
23 | 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com> |
24 | Denys Vlasenko <dvlasenk@redhat.com> | |
25 | Pedro Alves <palves@redhat.com> | |
26 | ||
27 | * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook. | |
28 | (struct elf_internal_linux_prpsinfo): Forward declare. | |
29 | * gdbarch.h, gdbarch.c: Regenerate. | |
30 | * linux-tdep.c: Include `cli/cli-utils.h'. | |
31 | (linux_fill_prpsinfo): New function. | |
32 | (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's | |
33 | an elfcore_write_linux_prpsinfo hook, use it, otherwise, use | |
34 | elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64 | |
35 | depending on gdbarch pointer bitness. | |
36 | * ppc-linux-tdep.c: Include elf-bfd.h. | |
37 | (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32 | |
38 | on 32-bit. | |
39 | ||
176eb98c MS |
40 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
41 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
42 | Nigel Stephens <nigel.stephens@arm.com> | |
43 | Yufeng Zhang <yufeng.zhang@arm.com> | |
44 | ||
45 | * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes. | |
46 | ||
cf0dbd6f MS |
47 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
48 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
49 | Nigel Stephens <nigel.stephens@arm.com> | |
50 | Yufeng Zhang <yufeng.zhang@arm.com> | |
51 | ||
52 | * aarch64-newlib-tdep.c: New file. | |
53 | * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of | |
54 | aarch64*-*-elf. | |
55 | * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB. | |
56 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o. | |
57 | (ALLDEPFILES): Add aarch64-newlib-tdep.c. | |
58 | * osabi.c (gdb_osabi_names): Add "Newlib". | |
59 | ||
1ae3db19 MS |
60 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
61 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
62 | Nigel Stephens <nigel.stephens@arm.com> | |
63 | Yufeng Zhang <yufeng.zhang@arm.com> | |
64 | ||
65 | * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o. | |
66 | (ALLDEPFILES): Add aarch64-linux-tdep.c. | |
67 | * aarch64-linux-tdep.c: New file. | |
68 | * aarch64-linux-tdep.h: New file. | |
69 | * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset. | |
70 | * configure.tgt: Add aarch64-none-linux-gnu. | |
71 | ||
07b287a0 MS |
72 | 2013-02-04 Jim MacArthur <jim.macarthur@arm.com> |
73 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
74 | Nigel Stephens <nigel.stephens@arm.com> | |
75 | Yufeng Zhang <yufeng.zhang@arm.com> | |
76 | ||
77 | * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o. | |
78 | (HFILES_NO_SRCDIR): Add aarch64-tdep.h. | |
79 | (ALLDEPFILES): Add aarch64-tdep.c. | |
80 | * aarch64-tdep.c: New file. | |
81 | * aarch64-tdep.h: New file. | |
82 | * configure.tgt: Add AArch64. | |
83 | * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu. | |
84 | (aarch64-expedite): New definition. | |
85 | * features/aarch64-core.xml: New file. | |
86 | * features/aarch64-fpu.xml: New file. | |
87 | * features/aarch64-without-fpu.c: New file (generated). | |
88 | * features/aarch64-without-fpu.xml: New file. | |
89 | * features/aarch64.c: New file (generated). | |
90 | * features/aarch64.xml: New file. | |
91 | * regformats/aarch64-without-fpu.dat: New file (generated). | |
92 | * regformats/aarch64.dat: New file (generated). | |
93 | ||
0f1b18ab JK |
94 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
95 | ||
96 | * contrib/expect-read1.c: New file. | |
97 | * contrib/expect-read1.sh: New file. | |
98 | ||
233d95b5 JK |
99 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
100 | ||
101 | * dwarf2read.c (file_file_name): New function with code from | |
102 | file_full_name. | |
103 | (file_full_name): Move most of the code to file_file_name. | |
104 | (macro_start_file): Rename variable full_name to file_name and use | |
105 | file_file_name for it. Add comp_dir parameter to new_macro_table. | |
106 | * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any | |
107 | macro_source_file->filename access by macro_source_fullname call. | |
108 | * macroscope.c (_initialize_macroscope): Update the new_macro_table | |
109 | caller. | |
110 | * macrotab.c (struct macro_table): New field comp_dir. | |
111 | (macro_include): New variables link_fullname and source_fullname. | |
112 | Replace any macro_source_file->filename access by macro_source_fullname | |
113 | call. | |
114 | (macro_lookup_inclusion): Remove the partial filenames checking code. | |
115 | (check_for_redefinition): New variables source_fullname and | |
116 | found_key_fullname. Replace any macro_source_file->filename access by | |
117 | macro_source_fullname call. | |
118 | (macro_undef): New variables source_fullname and key_fullname. Replace | |
119 | any macro_source_file->filename access by macro_source_fullname call. | |
120 | (macro_lookup_definition): New variables retval and source_fullname. | |
121 | Replace any macro_source_file->filename access by macro_source_fullname | |
122 | call. | |
123 | (foreach_macro): New variable key_fullname. Replace any | |
124 | macro_source_file->filename access by macro_source_fullname call. | |
125 | (foreach_macro_in_scope): New variable datum_fullname. Replace any | |
126 | macro_source_file->filename access by macro_source_fullname call. | |
127 | (new_macro_table): Add parameter comp_dir. Initialize T with it. | |
128 | (macro_source_fullname): New function. | |
129 | * macrotab.h (struct macro_source_file): Extent the filename field | |
130 | comment. | |
131 | (new_macro_table): New parameter comp_dir, add a comment for it. | |
132 | (macro_source_fullname): new declaration. | |
133 | ||
da235a7c JK |
134 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
135 | ||
136 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable | |
137 | this_real_name to outer block. Use it also for | |
138 | compare_filenames_for_search. | |
139 | (dw2_expand_symtabs_matching): New variable this_real_name. Use it | |
140 | with dw2_get_real_path for file_matcher, considering also | |
141 | BASENAMES_MAY_DIFFER. | |
142 | (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS. | |
143 | ||
fbd9ab74 JK |
144 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
145 | ||
146 | * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter | |
147 | to the file_matcher parameter. Pass 0 to it. | |
148 | (dwarf2_create_include_psymtab): Copy also DIRNAME. | |
149 | * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of | |
150 | NULL psymtab_to_fullname result. | |
151 | (psymtab_to_fullname): Remove variable r. Never return NULL, assemble | |
152 | an expected filename instead. | |
153 | (expand_symtabs_matching_via_partial): Add basenames parameter to the | |
154 | file_matcher parameter. Call also psymtab_to_fullname, after newly | |
155 | considering BASENAMES_MAY_DIFFER. | |
156 | * source.c (rewrite_source_path): Remove static. | |
157 | * source.h (rewrite_source_path): New declaration. | |
158 | * symfile.h (struct quick_symbol_functions): Add basenames parameter to | |
159 | the expand_symtabs_matching field. Comment it. | |
160 | * symtab.c (file_matches): New function comment. Add parameter | |
161 | basenames, implement it. | |
162 | (search_symbols_file_matches): Add basenames parameter. Update the | |
163 | file_matches caller. | |
164 | (search_symbols): Match FILES also against symtab_to_fullname. | |
165 | Optimize it for BASENAMES_MAY_DIFFER. | |
166 | ||
56d397a3 JK |
167 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
168 | ||
169 | * source.c (print_source_lines_base): Print for TUI also "fullname". | |
170 | * tui/tui-data.c (init_content_element): Change tui_locator_element | |
171 | field to full_name. | |
172 | * tui/tui-data.h (struct tui_locator_element): Likewise. | |
173 | * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename | |
174 | tui_update_locator_filename calls to tui_update_locator_fullname. | |
175 | Replace symtab->filename refererence by symtab_to_fullname call. | |
176 | * tui/tui-out.c (tui_field_string): Check for "fullname" now. | |
177 | * tui/tui-source.c (tui_set_source_content): Change tui_locator_element | |
178 | field to full_name. Replace symtab->filename refererence by | |
179 | symtab_to_fullname call. | |
180 | (tui_show_symtab_source): Rename parameter to fullname. Change | |
181 | tui_locator_element field to full_name. | |
182 | * tui/tui-stack.c: Include source.h. | |
183 | (tui_set_locator_filename): Rename the declaration to ... | |
184 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
185 | fullname, updates its comment. | |
186 | (tui_set_locator_info): Rename its parameter to fullname. | |
187 | (tui_set_locator_filename): Rename the definition to ... | |
188 | (tui_set_locator_fullname): ... here. Rename its parameter to | |
189 | fullname, updates its comment. Change tui_locator_element field to | |
190 | full_name. | |
191 | (tui_set_locator_info): Rename its parameter to fullname. | |
192 | (tui_set_locator_info): Rename callee to tui_set_locator_fullname. | |
193 | (tui_update_locator_filename): Rename to ... | |
194 | (tui_update_locator_fullname): ... here. Rename callee to | |
195 | tui_set_locator_fullname. | |
196 | (tui_show_frame_info): Replace symtab->filename refererence by | |
197 | symtab_to_fullname call. | |
198 | * tui/tui-stack.h (tui_update_locator_filename): Rename to ... | |
199 | (tui_update_locator_fullname): ... here. | |
200 | * tui/tui-winsource.c (tui_display_main): Rename the callee to | |
201 | tui_update_locator_fullname. Replace symtab->filename refererence by | |
202 | symtab_to_fullname call. | |
203 | * tui/tui.c (tui_show_source): Rename its parameter to fullname. | |
204 | Rename the callee to tui_update_locator_fullname. | |
205 | * tui/tui.h (tui_show_source): Rename its parameter to fullname. | |
206 | ||
05cba821 JK |
207 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
208 | ||
209 | * ada-lang.c (user_select_syms): Replace symtab->filename refererences | |
210 | by symtab_to_filename_for_display calls. | |
211 | * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise. | |
212 | (clear_command): New variable sal_fullname, initialize it. Replace | |
213 | compare_filenames_for_search by filename_cmp with sal_fullname. | |
214 | (say_where, update_static_tracepoint): Replace symtab->filename | |
215 | refererences by symtab_to_filename_for_display calls. | |
216 | * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec): | |
217 | Likewise. | |
218 | * dwarf2read.c: Include source.h. | |
219 | (fixup_go_packaging): Replace symtab->filename refererences by | |
220 | symtab_to_filename_for_display calls. | |
221 | * linespec.c (add_sal_to_sals): Rename variable filename to fullname. | |
222 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
223 | calls. | |
224 | (create_sals_line_offset, convert_linespec_to_sals): New variable | |
225 | fullname, initialize it, replace symtab->filename reference by the | |
226 | variable. | |
227 | * linux-fork.c: Include source.h. | |
228 | (info_checkpoints_command): Replace symtab->filename refererences by | |
229 | symtab_to_filename_for_display calls. | |
230 | * macroscope.c (sal_macro_scope): Replace symtab->filename refererences | |
231 | by symtab_to_filename_for_display calls. | |
232 | * mdebugread.c: Include source.h. | |
233 | (psymtab_to_symtab_1): Replace symtab->filename refererences by | |
234 | symtab_to_filename_for_display calls. | |
235 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file) | |
236 | (mi_cmd_file_list_exec_source_files): Likewise. | |
237 | * printcmd.c: Include source.h. | |
238 | (build_address_symbolic): Replace symtab->filename refererences by | |
239 | symtab_to_filename_for_display calls. | |
240 | * psymtab.c (partial_map_symtabs_matching_filename) | |
241 | (read_psymtabs_with_fullname): Call compare_filenames_for_search also | |
242 | with psymtab_to_fullname. | |
243 | * python/py-symtab.c (stpy_str): Replace symtab->filename refererences | |
244 | by symtab_to_filename_for_display calls. | |
245 | (stpy_get_filename): New variable filename, initialize it, use instead | |
246 | of symtab->filename refererences. | |
247 | (salpy_str): Make variable filename const char *. Replace | |
248 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
249 | * skip.c: Include source.h and filenames.h. | |
250 | (skip_file_command): Remove const from the symtab variable. Replace | |
251 | symtab->filename refererences by symtab_to_fullname call. | |
252 | (function_name_is_marked_for_skip): New variables searched_for_fullname | |
253 | and fullname. Use them to search also with symtab's fullname. | |
254 | * source.c (find_source_lines): Replace symtab->filename refererences | |
255 | by symtab_to_filename_for_display calls. | |
256 | (print_source_lines_base): New variable filename, use it instead of | |
257 | symtab->filename. Replace symtab->filename refererences by | |
258 | symtab_to_filename_for_display calls. | |
259 | (line_info, forward_search_command): Replace symtab->filename | |
260 | refererences by symtab_to_filename_for_display calls. | |
261 | (reverse_search_command): Replace symtab->filename refererences by | |
262 | symtab_to_filename_for_display calls. New variable filename for it. | |
263 | * stack.c (frame_info): Likewise. | |
264 | * symmisc.c: Include source.h. | |
265 | (dump_objfile, dump_symtab_1, maintenance_print_symbols) | |
266 | (maintenance_info_symtabs): Replace symtab->filename refererences by | |
267 | symtab_to_filename_for_display calls. | |
268 | * symtab.c (iterate_over_some_symtabs): Call | |
269 | compare_filenames_for_search also with symtab_to_fullname. | |
270 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace | |
271 | symtab->filename refererences by symtab_to_filename_for_display calls. | |
272 | (find_line_symtab): Replace symtab->filename refererences by | |
273 | symtab_to_filename_for_display calls. | |
274 | (file_matches): Replace filename_cmp by compare_filenames_for_search. | |
275 | (print_symbol_info): Make the last parameter const char *. New | |
276 | variable s_filename. Use it in the function. | |
277 | (symtab_symbol_info): Make the last_filename variable const char *. | |
278 | Replace symtab->filename refererences by symtab_to_filename_for_display | |
279 | calls. | |
280 | (rbreak_command): New variable fullname. Use it. Replace | |
281 | symtab->filename refererence by symtab_to_filename_for_display call. | |
282 | * tracepoint.c (set_traceframe_context, trace_find_line_command) | |
283 | (print_one_static_tracepoint_marker): Replace symtab->filename | |
284 | refererences by symtab_to_filename_for_display calls. | |
285 | * tui/tui-source.c (tui_set_source_content): New variables filename and | |
286 | s_filename. Replace symtab->filename refererences by this variable. | |
287 | Replace other symtab->filename refererences by | |
288 | symtab_to_filename_for_display calls. | |
289 | ||
1b56eb55 JK |
290 | 2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com> |
291 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
292 | ||
293 | Add a new variable that controls a way in which filenames are | |
294 | displayed. | |
295 | * NEWS (set filename-display): New entry. | |
296 | * source.c (filename_display_basename, filename_display_relative) | |
297 | (filename_display_absolute, filename_display_kind_names) | |
298 | (filename_display_string, show_filename_display_string) | |
299 | (symtab_to_filename_for_display): New. | |
300 | (_initialize_source): Added initialization of 'filename-display' | |
301 | variable. | |
302 | * source.h (symtab_to_filename_for_display): Added declaration. | |
303 | * stack.c (print_frame): Added new variable and calling of a new | |
304 | function and condition with this variable. Changed third argument of | |
305 | calling of a function. | |
306 | ||
aa079c93 JK |
307 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
308 | ||
309 | * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window): | |
310 | Rename field reference filename to fullname. | |
311 | * tui/tui-data.h (struct tui_source_info): Rename field filename to | |
312 | fullname. New comment for it. | |
313 | * tui/tui-source.c (tui_set_source_content): Rename field reference | |
314 | filename to fullname. Initialize field by symtab_to_fullname now. | |
315 | * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field | |
316 | reference filename to fullname. Use symtab_to_fullname during | |
317 | comparison. | |
318 | ||
652a8996 JK |
319 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
320 | ||
321 | Code cleanup. | |
322 | * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ... | |
323 | (dw2_expand_symtabs_with_fullname): ... here. Rename parameter | |
324 | filename to fullname. Rename variable this_name to this_fullname. | |
325 | Lowercase FILENAME_CMP call. | |
326 | (dw2_find_symbol_file): New comment for the returned string. | |
327 | (dwarf2_gdb_index_functions): Rename the function to | |
328 | dw2_expand_symtabs_with_fullname. | |
329 | * psymtab.c (read_psymtabs_with_filename): Rename to ... | |
330 | (read_psymtabs_with_fullname): ... here. Rename parameter filename to | |
331 | fullname. | |
332 | (psym_functions): Rename the function to read_psymtabs_with_fullname. | |
333 | * symfile.h (struct quick_symbol_functions): Rename field | |
334 | expand_symtabs_with_filename to expand_symtabs_with_fullname and its | |
335 | parameter filename to fullname. Document returned string meaning for | |
336 | find_symbol_file. | |
337 | * symtab.c (find_line_symtab): Rename the called function to | |
338 | expand_symtabs_with_fullname. | |
339 | ||
af529f8f JK |
340 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
341 | ||
342 | Code cleanup. | |
343 | * breakpoint.c (clear_command): Remove variable is_abs, unify the | |
344 | call of filename_cmp with compare_filenames_for_search. | |
345 | * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable | |
346 | is_abs, unify the call of FILENAME_CMP with | |
347 | compare_filenames_for_search. New gdb_asserts for real_path and name. | |
348 | Unify the call of compare_filenames_for_search with FILENAME_CMP. | |
349 | * psymtab.c (partial_map_symtabs_matching_filename): Likewise. | |
350 | * symfile.h (struct quick_symbol_functions): Extend the comment for | |
351 | map_symtabs_matching_filename. | |
352 | * symtab.c (compare_filenames_for_search): Remove the function comment | |
353 | relative path requirement. Handle absolute filenames, with a comment. | |
354 | (iterate_over_some_symtabs): Remove variable is_abs, unify the call of | |
355 | FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for | |
356 | real_path and name. Unify the call of compare_filenames_for_search | |
357 | with FILENAME_CMP. | |
358 | (iterate_over_symtabs): New gdb_assert on REAL_PATH. | |
359 | ||
2f202fde JK |
360 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
361 | ||
362 | Code cleanup. | |
363 | * breakpoint.c (print_breakpoint_location): Replace bp_location field | |
364 | source_file references by symtab field references. Remove variables | |
365 | sal and fullname. | |
366 | (momentary_breakpoint_from_master, add_location_to_breakpoint): | |
367 | (clear_command, say_where): Replace bp_location field source_file | |
368 | references by symtab field references. | |
369 | (bp_location_dtor): Remove the source_file reference. | |
370 | (update_static_tracepoint): Replace bp_location field source_file | |
371 | references by symtab field references. | |
372 | (breakpoint_free_objfile): New function. | |
373 | * breakpoint.h (struct bp_location): Extend the comment for line_number. | |
374 | Replace the field source_file by field symtab, extend its comment. | |
375 | (breakpoint_free_objfile): New declaration. | |
376 | * objfiles.c (free_objfile): Call breakpoint_free_objfile. | |
377 | * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location | |
378 | field source_file references by symtab field references. | |
379 | ||
f5b95b50 JK |
380 | 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
381 | ||
382 | Replace xfullpath calls by gdb_realpath calls. | |
383 | * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the | |
384 | function comment. | |
385 | * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path. | |
386 | Remove it from the iterate_over_some_symtabs call. | |
387 | (dw2_map_symtabs_matching_filename): Remove parameter full_path. | |
388 | Remove it from the dw2_map_expand_apply calls, remove a block handling | |
389 | it. | |
390 | * psymtab.c (partial_map_expand_apply): Remove parameter full_path. | |
391 | Remove it from the iterate_over_some_symtabs call. | |
392 | (partial_map_symtabs_matching_filename): Remove parameter full_path. | |
393 | Remove it from the partial_map_expand_apply calls, remove a block | |
394 | handling it. Drop gdb_realpath call and cleanups from the real_path | |
395 | handling. | |
396 | * source.c (openp): Drop the comment part about xfullpath. Replace | |
397 | xfullpath calls by gdb_realpath calls. | |
398 | (find_and_open_source): Replace xfullpath call by gdb_realpath call. | |
399 | * symfile.h (struct quick_symbol_functions): Remove parameter full_path | |
400 | from method map_symtabs_matching_filename and its comment. | |
401 | * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by | |
402 | gdb_realpath call. | |
403 | * symtab.c (iterate_over_some_symtabs): Remove parameter full_path, | |
404 | remove it also from the function comment, remove a block handling it. | |
405 | Drop gdb_realpath call and cleanups from the real_path handling. | |
406 | (iterate_over_symtabs): Drop variable full_path and its use. | |
407 | * symtab.h (iterate_over_some_symtabs): Remove parameter full_path. | |
408 | * utils.c (xfullpath): Remove. | |
409 | * utils.h (xfullpath): Remove. | |
410 | ||
d78489bf AT |
411 | 2013-02-01 Andreas Tobler <andreast@fgznet.ch> |
412 | ||
413 | * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o. | |
414 | (HFILES_NO_SRCDIR): Add ppc64-tdep.h. | |
415 | (ALLDEPFILES): Add ppc64-tdep.c. | |
416 | * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add | |
417 | ppc64-tdep.o to gdb_target_obs. | |
418 | * ppc64-tdep.h: New file. | |
419 | * ppc64-tdep.c: New file. | |
420 | (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from | |
421 | ppc-linux-tdep.c to here. | |
422 | (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN) | |
423 | (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro. | |
424 | (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target) | |
425 | (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move | |
426 | from ppc-linux-tdep.c to here. | |
427 | (ppc64_convert_from_func_ptr_addr): Rename from | |
428 | ppc64_linux_convert_from_func_ptr_addr to | |
429 | ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to | |
430 | here. | |
431 | * rs6000-tdep.c: | |
432 | (read_insn): Move from ppc-linux-tdep.c to here. | |
433 | (insns_match_pattern, insn_d_field, insn_ds_field): Move | |
434 | from ppc-linux-tdep.c to here and rename them with the ppc_ prefix. | |
435 | * ppc-linux-tdep.c: Include ppc64-tdep.h. | |
436 | Removed above functions. | |
437 | (ppc_linux_init_abi): Adjust. | |
438 | ||
8db60374 AR |
439 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
440 | ||
441 | * ada-valprint.c (ada_print_floating): Remove unused 'len'. | |
442 | ||
f2e5f4ce AR |
443 | 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com> |
444 | ||
445 | * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'. | |
446 | ||
c1f7d745 PA |
447 | 2013-02-01 Pedro Alves <palves@redhat.com> |
448 | ||
449 | * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function. | |
450 | * frame.h (deprecated_pc_in_call_dummy): Delete declaration. | |
451 | ||
8a92335b JK |
452 | 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
453 | ||
454 | * elfread.c (elf_symfile_read): Limit separate debug info additions to | |
455 | files with no separate debug info. | |
456 | * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls. | |
457 | * symfile.c (read_symbols): Call find_separate_debug_file_in_section | |
458 | only for files with no separate debug info. | |
459 | ||
8eacb197 TT |
460 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
461 | ||
462 | * jit.c (jit_program_space_data): Rename from jit_inferior_data; | |
463 | change type. | |
464 | (struct jit_program_space_data): Rename from jit_inferior_data. | |
465 | Update comments. | |
466 | (get_jit_program_space_data): Rename from get_jit_inferior_data. | |
467 | Change return type. Attach data to program space. | |
468 | (jit_program_space_data_cleanup): Rename from | |
469 | jit_inferior_data_cleanup; change argument type. | |
470 | (jit_read_descriptor): Change 'inf_data' argument to 'ps_data', | |
471 | change type. | |
472 | (jit_register_code): Update. | |
473 | (jit_update_inferior_cache): Remove. | |
474 | (jit_breakpoint_deleted): Get jit data from the location's program | |
475 | space. | |
476 | (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to | |
477 | 'ps_data', change type. | |
478 | (jit_inferior_init, jit_breakpoint_re_set_internal) | |
479 | (jit_event_handler): Update. | |
480 | (free_objfile_data): Get data from objfile's program space. | |
481 | (_initialize_jit): Update. | |
482 | ||
f25c0135 TT |
483 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
484 | ||
485 | PR gdb/13987: | |
486 | * jit.c (struct jit_inferior_data) <cached_code_address, | |
487 | jit_breakpoint>: New fields. | |
488 | (jit_breakpoint_re_set_internal): Fix logging. Only create | |
489 | breakpoint if cached address has changed. | |
490 | (jit_update_inferior_cache, jit_breakpoint_deleted): New | |
491 | functions. | |
492 | (_initialize_jit): Register breakpoint deleted observer. | |
493 | ||
974a734b AR |
494 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
495 | ||
496 | * infrun.c (handle_syscall_event): Remove unused gdbarch. | |
497 | (save_infcall_suspend_state): Ifdef out unused inf. | |
498 | (restore_infcall_suspend_state): Ifdef out unused inf. | |
499 | * jit.c (jit_register_code): Remove unused i, b, inf_data. | |
500 | (jit_frame_sniffer): Remove unused inf_data. | |
501 | ||
df54f8eb AR |
502 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
503 | ||
504 | * c-exp.y (classify_inner_name): Remove unused type. | |
505 | * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed, | |
506 | in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished, | |
507 | need_escape. | |
508 | (c_get_string): Remove unused kind. | |
509 | * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2. | |
510 | ||
5799c0b9 AR |
511 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
512 | ||
513 | * charset.c (intermediate_encoding): Remove unused i. | |
514 | * completer.c (signal_completer): Remove unused i. | |
515 | * continuations.c (discard_my_continuations_1): Remove unused | |
516 | continuation_ptr. | |
517 | * corelow.c (core_close): Remove unuseD name. | |
518 | (get_core_siginfo): Remove unused pid. | |
519 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused | |
520 | i, cps. | |
521 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset. | |
522 | (loclist_describe_location): Remove unused first. | |
523 | * event-top.c (command_line_handler): Remove unused got_eof. | |
524 | * exec.c (exec_close_1): Remove unused need_symtab_cleanup. | |
525 | (resize_section_table): Remove unused old_value. | |
526 | * gdb_bfd.c (gdb_bfd_map_section): Remove unused header. | |
527 | * gnu-v3-abi.c (compute_vtable_size): Remove unused addr. | |
528 | * i386-tdep.c (i386_process_record): Remove unused rex. | |
529 | * infcmd.c (get_return_value): Remove unused uiout. | |
530 | * jv-lang.c (type_from_class): Remove unused is_array. | |
531 | * jv-valprint.c (java_val_print): Remove unused i. | |
532 | * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid. | |
533 | * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid. | |
534 | * m2-typeprint.c (m2_print_type): Remove unused code. | |
535 | * macroexp.c (get_character_constant): Remove unused body_start. | |
536 | (macro_stringify): Remove unused result. | |
537 | * objc-lang.c (find_methods): Remove unused gdbarch. | |
538 | * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2. | |
539 | * regcache.c (regcache_cooked_read): Remove unused gdbarch. | |
540 | * stack.c (print_frame_args): Remove unused summary. | |
541 | * thread.c (thread_apply_command): Remove unused p. | |
542 | * valarith.c (value_x_unop): Remove unused mangle_ptr. | |
543 | * valops.c (search_struct_method): Remove unused skip. | |
544 | * valprint.c (generic_val_print): Remove unused byte_order. | |
545 | * varobj.c (varobj_update): Remove unused changed. | |
546 | * cli/cli-cmds.c (complete_command): Remove unused next_item. | |
547 | (alias_command): Remove unused c. | |
548 | * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c. | |
549 | * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused | |
550 | format. | |
551 | (mi_cmd_data_write_memory): Remove unused word_format. | |
552 | (mi_cmd_data_write_memory_bytes): Remove unused r. | |
553 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused | |
554 | p_start, p_end. | |
555 | * python/python.c (_initialize_python): Remove unused cmd_name, cmd. | |
556 | * tui/tui-disasm.c (tui_set_disassem_content): Remove unused | |
557 | line_width. | |
558 | ||
c656bca5 AR |
559 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
560 | ||
561 | * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs. | |
562 | * symtab.c (iterate_over_symtabs): Remove unused s. | |
563 | (find_pc_sect_symtab): Remove unused pspAce. | |
564 | (find_pc_sect_line): Remove unused alt_symtab. | |
565 | (find_pcs_for_symtab_line): Remove unused ix, previous_function. | |
566 | (completion_list_add_name): Remove unused newsize. | |
567 | ||
7078baeb TT |
568 | 2013-01-31 Tom Tromey <tromey@redhat.com> |
569 | ||
570 | PR c++/14998: | |
571 | * dwarf2read.c (read_tag_ptr_to_member_type): Handle | |
572 | TYPE_CODE_FUNC. | |
573 | ||
c2e8b827 AR |
574 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
575 | ||
576 | * target.c (target_read_string): Remove unused origlen. | |
577 | ||
0e43993a AR |
578 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
579 | ||
580 | * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec. | |
581 | * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt. | |
582 | * ax-general.c (ax_print): Remove unused is_float. | |
583 | * blockframe.c (block_innermost_frame): Remove unused start, end. | |
584 | * break-catch-sig.c (catch_signal_command): Remove unused gdbarch. | |
585 | ||
765a97ab AR |
586 | 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com> |
587 | ||
588 | * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo. | |
589 | (svr4_read_so_list): Remove unused lmo. | |
590 | * solib-target.c (solib_target_relocate_section_addresses): Remove | |
591 | unused flags. | |
592 | ||
a99dad3d TT |
593 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
594 | ||
595 | * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0". | |
596 | ||
3bff1ecd TT |
597 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
598 | ||
599 | * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32. | |
600 | * utils.c (gnu_debuglink_crc32): Remove. | |
601 | * utils.h (gnu_debuglink_crc32): Don't declare. | |
602 | ||
7d455152 TT |
603 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
604 | ||
605 | * dwarf2read.c (compute_delayed_physnames, read_call_site_scope) | |
606 | (read_structure_type, read_enumeration_type): Remove cast. | |
607 | ||
abee88f2 TT |
608 | 2013-01-30 Tom Tromey <tromey@redhat.com> |
609 | ||
610 | * dwarf2read.c (read_namespace_type): Remove cast. | |
611 | (read_typedef): Likewise. | |
612 | ||
8d9878a4 TT |
613 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
614 | ||
615 | * dwarf2read.c (free_dwo_file): Remove assert. | |
616 | ||
a543d2a9 TT |
617 | 2013-01-29 Tom Tromey <tromey@redhat.com> |
618 | ||
619 | * value.c (deprecated_set_value_modifiable): Remove. | |
620 | * value.h (deprecated_set_value_modifiable): Remove. | |
621 | ||
bed911e5 DE |
622 | 2013-01-28 Doug Evans <dje@google.com> |
623 | ||
624 | * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address | |
625 | to addresses from dwo files. | |
626 | ||
28c64fc2 SCR |
627 | 2013-01-25 Siva Chandra Reddy <sivachandra@google.com> |
628 | ||
629 | * valops.c (find_overload_match): Remove unused argument 'lax'. | |
630 | * value.h: Remove unused argument 'lax' from the declaration of | |
631 | find_overload_match. | |
632 | * eval.c (value_subexp_standard): Do not pass a 'lax' argument | |
633 | to find_overload_match. | |
634 | * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax' | |
635 | argument to find_overload_match. | |
636 | ||
4d4ec4e5 TT |
637 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
638 | ||
639 | * dwarf2read.c (processing_has_namespace_info): Remove. | |
640 | (struct dwarf2_cu) <processing_has_namespace_info>: New field. | |
641 | (process_die, read_func_scope, dwarf2_start_symtab) | |
642 | (new_symbol_full): Update. | |
643 | ||
195a3f6c TT |
644 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
645 | ||
646 | * cp-namespace.c (cp_set_block_scope): Remove. | |
647 | * cp-support.h (cp_set_block_scope): Remove. | |
648 | * dbxread.c: Include block.h. | |
649 | (cp_set_block_scope): New function. | |
650 | (process_one_symbol): Update. | |
651 | * dwarf2read.c (read_func_scope): Use block_set_scope. | |
652 | ||
8ba0730a PA |
653 | 2013-01-25 Pedro Alves <palves@redhat.com> |
654 | ||
655 | * remote.c (add_current_inferior_and_thread): Tweak comment. | |
656 | ||
12aaed36 TT |
657 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
658 | ||
659 | * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update. | |
660 | (cp_add_using_directive): Add 'copy_names' argument. | |
661 | * cp-support.h (cp_add_using_directive): Update. | |
662 | (struct using_direct) <import_src, import_dest, alias, | |
663 | declaration>: Now const. | |
664 | * dwarf2read.c (read_import_statement): Use obconcat. | |
665 | Don't copy names passed to cp_add_using_directive. | |
666 | ||
7fc75ca7 TT |
667 | 2013-01-25 Tom Tromey <tromey@redhat.com> |
668 | ||
669 | * c-exp.y (qualified_name): Use TYPE_SAFE_NAME. | |
670 | ||
3405876a PA |
671 | 2013-01-25 Pedro Alves <palves@redhat.com> |
672 | ||
673 | * remote.c (stop_reply_extract_thread): New. | |
674 | (add_current_inferior_and_thread): New parameter 'wait_status'. | |
675 | Handle it. | |
676 | (remote_start_remote): Pass wait status to | |
677 | add_current_inferior_and_thread. | |
678 | (extended_remote_run): Update comment. | |
679 | (extended_remote_create_inferior_1): Pass wait status to | |
680 | add_current_inferior_and_thread. | |
681 | ||
8954db33 AB |
682 | 2013-01-25 Andrew Burgess <aburgess@broadcom.com> |
683 | Ulrich Weigand <uweigand@de.ibm.com> | |
684 | ||
685 | * valarith.c (value_vector_widen): New function for replicating a | |
686 | scalar into a vector. | |
687 | (value_binop): Use value_vector_widen to widen scalar to vector | |
688 | rather than casting, this better matches gcc C behaviour. | |
689 | * valops.c (value_casst): Update logic for casting between vector | |
690 | types, and for casting from scalar to vector, try to match gcc C | |
691 | behaviour. | |
692 | * value.h (value_vector_widen): Declare. | |
693 | * opencl-lang.c (opencl_value_cast): New opencl specific casting | |
694 | function, handle special case for casting scalar to vector. | |
695 | (opencl_relop): Use opencl_value_cast. | |
696 | (evaluate_subexp_opencl): Use opencl_value_cast instead of | |
697 | value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE | |
698 | in order to use opencl_value_cast. | |
699 | ||
843b20dc YQ |
700 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
701 | ||
702 | * event-loop.c: Include "queue.h". | |
703 | (gdb_event_p): New typedef. | |
704 | (DECLARE_QUEUE_P): Use. | |
705 | (DEFINE_QUEUE_P): Use. | |
706 | (async_queue_event): Remove. | |
707 | (gdb_event_xfree): New. | |
708 | (initialize_event_loop): New. | |
709 | (process_event): Use QUEUE macros. | |
710 | (event_queue): Remove. | |
711 | (gdb_wait_for_event): Caller update. | |
712 | (check_async_event_handlers): Likewise. | |
713 | (poll_timers): Likewise. | |
714 | * event-loop.h (initialize_event_loop): Declare. | |
715 | * event-loop.c (gdb_event_xfree): New. | |
716 | * top.c (gdb_init): Call initialize_event_loop. | |
717 | ||
20ad8856 YQ |
718 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
719 | ||
720 | * event-loop.c (async_queue_event): Remove one parameter | |
721 | 'position'. Remove code handling 'position' == TAIL. | |
722 | (gdb_wait_for_event): Caller update. | |
723 | (check_async_event_handlers): Caller update. | |
724 | (poll_timers): Caller update. | |
725 | * event-loop.h (enum queue_position): Remove. | |
726 | ||
3bbbe775 MK |
727 | 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com> |
728 | ||
729 | * MAINTAINERS: Update my email. | |
730 | ||
a87d9ac4 YQ |
731 | 2013-01-25 Yao Qi <yao@codesourcery.com> |
732 | ||
733 | * main.c (print_gdb_help): Remove "--epoch" from the help | |
734 | message. | |
735 | ||
2077afdd TD |
736 | 2013-01-24 Ulrich Weigand <uweigand@de.ibm.com> |
737 | ||
738 | * symtab.c (skip_prologue_using_sal): Consider a file | |
739 | change the same as an increased line number | |
740 | ||
63da4037 TD |
741 | 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
742 | ||
743 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
744 | ||
45e6c716 TT |
745 | 2013-01-24 Tom Tromey <tromey@redhat.com> |
746 | ||
747 | * ada-lang.h (ada_decode_symbol): Make return type const. | |
748 | * ada-lang.c (ada_decode_symbol): Likewise. | |
749 | ||
b1ae631a DE |
750 | 2013-01-23 Doug Evans <dje@google.com> |
751 | ||
752 | * linespec.c (find_linespec_symbols): Make static. | |
753 | ||
55a78401 SDJ |
754 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
755 | ||
756 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
757 | type on float conversion for complex type. | |
758 | ||
bea883fd SCR |
759 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
760 | ||
761 | Add a new class gdb.Architecture which exposes GDB's | |
762 | internal representation of architecture via GDB Python API. | |
763 | * Makefile.in: Add entries corresponding to the new file | |
764 | python/py-arch.c. | |
765 | * NEWS (Python Scripting): Add entries for the new class | |
766 | gdb.Architecture and the new method gdb.Frame.architecture. | |
767 | * python/py-arch.c: Implement gdb.Architecture class. | |
768 | * python/py-frame.c (frapy_arch): Implement the method | |
769 | gdb.Frame.architecture(). | |
770 | (frame_object_methods): Add 'architecture' to the method table. | |
771 | * python/python-internal.h: Add declarations of new utility | |
772 | functions. | |
773 | * python/python.c (_initialize_python): Initialize | |
774 | gdb.Architecture class. | |
775 | ||
796a7ff8 DE |
776 | 2013-01-23 Doug Evans <dje@google.com> |
777 | ||
778 | Work around binutils/15021. | |
779 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
780 | type_unit_group out of union s. All uses updated. | |
781 | (read_index_from_section): Watch for index version 8. | |
782 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
783 | an imported symtab. | |
784 | (write_psymtabs_to_index): Increment version number to 8. | |
785 | ||
0928e93d PA |
786 | 2013-01-22 Pedro Alves <palves@redhat.com> |
787 | ||
788 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
789 | user-visible. | |
790 | ||
9c97429f PA |
791 | 2013-01-22 Pedro Alves <palves@redhat.com> |
792 | ||
793 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
794 | (annotate_breakpoints_invalid): ... this. Make static. | |
795 | (breakpoint_changed): Adjust. | |
796 | (_initialize_annotate): Always install the observers. Install a | |
797 | "breakpoint_created" observer. | |
798 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
799 | * breakpoint.c (set_breakpoint_condition) | |
800 | (breakpoint_set_commands, do_map_commands_command) | |
801 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
802 | (enable_breakpoint_disp): No longer call | |
803 | annotate_breakpoints_changed. | |
804 | ||
bd00c694 PA |
805 | 2013-01-22 Pedro Alves <palves@redhat.com> |
806 | ||
807 | * annotate.c: Include "inferior.h". | |
808 | (frames_invalid_emitted) | |
809 | (breakpoints_invalid_emitted): New globals. | |
810 | (async_background_execution_p): New function. | |
811 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
812 | emitting the annotation if it has already been emitted. | |
813 | (annotate_display_prompt): New function. | |
814 | * annotate.h (annotate_display_prompt): New declaration. | |
815 | * event-top.c: Include annotate.h. | |
816 | (display_gdb_prompt): Call annotate_display_prompt. | |
817 | ||
187d10dd PA |
818 | 2013-01-22 Pedro Alves <palves@redhat.com> |
819 | ||
820 | * annotate.c (ignore_count_changed): Delete. | |
821 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
822 | (annotate_ignore_count_change): Delete. | |
823 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
824 | annotation. | |
825 | * annotate.h (annotate_ignore_count_change): Delete. | |
826 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
827 | annotate_ignore_count_change. | |
828 | ||
d84cf7eb TT |
829 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
830 | ||
831 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
832 | require_rvalue for a register location. | |
833 | ||
8f1d5693 MK |
834 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
835 | ||
836 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
837 | field 'thread-groups' when printing a breakpoint. | |
838 | (output_thread_groups): New function. | |
839 | ||
aa6199c6 SCR |
840 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
841 | ||
842 | * python/lib/gdb/commands/explore.py | |
843 | (CompoundExplorer.explore_expr): Correct the name of a method | |
844 | being invoked. | |
845 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
846 | ||
d2afef13 TT |
847 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
848 | ||
849 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
850 | * symfile.h (obconcat): ... here. | |
851 | * gdb_obstack.c: New file. | |
852 | (obconcat): Move from... | |
853 | * symfile.c (obconcat): ... here. | |
854 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
855 | (COMMON_OBS): Add gdb_obstack.o. | |
856 | ||
10f0c4bb TT |
857 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
858 | ||
859 | * symfile.h (obsavestring): Don't declare. | |
860 | * symfile.c (obsavestring): Remove. | |
861 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
862 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
863 | * coffread.c: Use obstack_copy0, not obsavestring. | |
864 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
865 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
866 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
867 | * jit.c: Use obstack_copy0, not obsavestring. | |
868 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
869 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
870 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
871 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
872 | ||
86f62fd7 TT |
873 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
874 | ||
875 | * dwarf2read.c (fixup_go_packaging): Save package name | |
876 | on objfile obstack. | |
877 | * gdbtypes.c (init_type): Don't copy name. | |
878 | ||
15d034d0 TT |
879 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
880 | ||
881 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
882 | const. | |
883 | (struct attribute) <u.str>: Now const. | |
884 | (struct fnfieldlist) <name>: Now const. | |
885 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
886 | (partial_die_parent_scope): Make return type const. | |
887 | (partial_die_full_name, add_partial_symbol): Update. | |
888 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
889 | 'name' const. | |
890 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
891 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
892 | (dwarf2_add_member_fn, read_structure_type) | |
893 | (process_enumeration_scope, read_array_type, read_module_type) | |
894 | (read_base_type, read_subrange_type): Update. | |
895 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
896 | (new_symbol_full, guess_full_die_structure_name): Update. | |
897 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
898 | (dwarf2_name): Return const type. | |
899 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
900 | const. | |
901 | ||
748e18ae TT |
902 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
903 | ||
904 | * gdbtypes.c (init_type): Make 'name' const. | |
905 | * gdbtypes.h (init_type): Update. | |
906 | ||
46212e0b TT |
907 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
908 | ||
909 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
910 | (start_symtab): Make 'name' and 'dirname' const. Use | |
911 | set_last_source_file. | |
912 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
913 | (last_source_file): Define. Now static. | |
914 | (set_last_source_file, get_last_source_file): New functions. | |
915 | * buildsym.h (last_source_file): Don't declare. | |
916 | (start_symtab): Update. | |
917 | (set_last_source_file, get_last_source_file): Declare. | |
918 | * coffread.c (complete_symtab): Use set_last_source_file. | |
919 | (coff_end_symtab): Likewise. | |
920 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
921 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
922 | set_last_source_file. | |
923 | (process_one_symbol): Use get_last_source_file. | |
924 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
925 | (psymtab_to_symtab_1): Use get_last_source_file. | |
926 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
927 | (complete_symtab): Use set_last_source_file. | |
928 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
929 | (scan_xcoff_symtab): Use set_last_source_file. | |
930 | ||
9d2ceabe TT |
931 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
932 | ||
933 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
934 | (symbol_set_names): Remove casts. Handle field const-ness. | |
935 | ||
cfc594ee TT |
936 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
937 | ||
938 | * dwarf2read.c (new_symbol_full): Remove cast. | |
939 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
940 | * symtab.h (symbol_set_demangled_name): Update. | |
941 | ||
5484b13a TT |
942 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
943 | ||
944 | * main.c (captured_main): Call bfd_init. | |
945 | ||
1605ef26 TT |
946 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
947 | ||
948 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
949 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
950 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
951 | * NEWS: Update. | |
952 | ||
3b74cdc3 JK |
953 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
954 | ||
955 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
956 | ||
5a352474 JK |
957 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
958 | ||
959 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
960 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
961 | LOC_COMMON_BLOCK. | |
962 | * f-valprint.c (info_common_command_for_block): Expect | |
963 | LOC_COMMON_BLOCK in gdb_assert. | |
964 | * symtab.h (struct general_symbol_info): Update comment for the | |
965 | common_block member. | |
966 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
967 | (enum address_class): New member LOC_COMMON_BLOCK. | |
968 | ||
c60797fd DB |
969 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
970 | ||
971 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 972 | |
46f35228 TT |
973 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
974 | ||
975 | PR c++/14999: | |
976 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
977 | Call require_rvalue. | |
978 | ||
257e7a09 YQ |
979 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
980 | ||
981 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
982 | (dbx_read_symtab): New declaration. | |
983 | (dbx_psymtab_to_symtab): Delete. | |
984 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
985 | Rename parameter PST to SELF. Exchanged two parameters. | |
986 | (start_psymtab): Caller update. | |
987 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
988 | (dwarf2_read_symtab): New declaration. | |
989 | (dwarf2_psymtab_to_symtab): Delete. | |
990 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
991 | Rename parameter PST to SELF. Exchanged two parameters. | |
992 | (create_partial_symtab): Caller update. | |
993 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
994 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
995 | Rename parameter PST to SELF. Exchanged two parameters. | |
996 | (parse_partial_symbols, new_psymtab): Caller update. | |
997 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
998 | two parameters. | |
999 | * psymtab.c (psymtab_to_symtab): Caller update. | |
1000 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
1001 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
1002 | Rename parameter PST to SELF. Exchanged two parameters. | |
1003 | (xcoff_start_psymtab): Caller update. | |
1004 | ||
0de5618e YQ |
1005 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
1006 | ||
1007 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
1008 | 'force_step'. | |
1009 | ||
5c04624b DE |
1010 | 2013-01-17 Doug Evans <dje@google.com> |
1011 | ||
848e3e78 DE |
1012 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
1013 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
1014 | ||
5c04624b DE |
1015 | * symtab.h (struct symbol_search): Add comment. |
1016 | ||
d84fca2c JK |
1017 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1018 | ||
1019 | * symtab.c (compare_filenames_for_search): New comment for | |
1020 | HAS_DRIVE_SPEC. | |
1021 | ||
6108433d TT |
1022 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
1023 | ||
1024 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
1025 | ||
c89ffd86 JK |
1026 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
1027 | ||
1028 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
1029 | initialize it by existing make_cleanup. Call new do_cleanups. | |
1030 | ||
db2b2972 TT |
1031 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
1032 | ||
1033 | * cp-abi.c (cp_abi_completer): New function. | |
1034 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
1035 | ||
be7d37a2 TT |
1036 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
1037 | ||
1038 | * mem-break.c: Remove obsolete comment. | |
1039 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
1040 | ||
c9fb1240 SD |
1041 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
1042 | ||
1043 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
1044 | as an absolute path if it begins with a forward slash. | |
1045 | ||
db334a01 SD |
1046 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
1047 | ||
1048 | PR gdb/14550 | |
1049 | ||
1050 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
1051 | NULL superblock. | |
1052 | ||
7d928dac PA |
1053 | 2013-01-17 Pedro Alves <palves@redhat.com> |
1054 | ||
1055 | * acinclude.m4: Include ../config/plugins.m4, | |
1056 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
1057 | * Makefile.in (aclocal_m4_deps): Update. | |
1058 | * aclocal.m4: Renegerate. | |
1059 | ||
fb8cf7c5 DE |
1060 | 2013-01-16 Doug Evans <dje@google.com> |
1061 | ||
1062 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
1063 | ||
ab04a2af TT |
1064 | 2013-01-16 Pedro Alves <palves@redhat.com> |
1065 | Tom Tromey <tromey@redhat.com> | |
1066 | ||
1067 | PR cli/7221: | |
1068 | * NEWS: Add "catch signal". | |
1069 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
1070 | (bpstat_explains_signal): New function. | |
1071 | (init_catchpoint): No longer static. | |
1072 | (base_breakpoint_explains_signal): New function. | |
1073 | (base_breakpoint_ops): Initialize new field. | |
1074 | * breakpoint.h (enum bpstat_signal_value): New. | |
1075 | (struct breakpoint_ops) <explains_signal>: New field. | |
1076 | (bpstat_explains_signal): Remove macro, declare as function. | |
1077 | (base_breakpoint_ops, init_catchpoint): Declare. | |
1078 | * break-catch-sig.c: New file. | |
1079 | * inferior.h (signal_catch_update): Declare. | |
1080 | * infrun.c (signal_catch): New global. | |
1081 | (handle_syscall_event): Update for change to | |
1082 | bpstat_explains_signal. | |
1083 | (handle_inferior_event): Likewise. Always handle random signals | |
1084 | via bpstats. | |
1085 | (signal_cache_update): Check signal_catch. | |
1086 | (signal_catch_update): New function. | |
1087 | (_initialize_infrun): Initialize signal_catch. | |
1088 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
1089 | (COMMON_OBS): Add break-catch-sig.o. | |
1090 | ||
8ac3646f TT |
1091 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
1092 | ||
1093 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
1094 | (print_one_catch_solib, print_one_catch_syscall) | |
1095 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
1096 | "catch-type". | |
1097 | ||
5a18e302 YQ |
1098 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
1099 | ||
1100 | * printcmd.c (current_display_number): Make it static. | |
1101 | ||
3f01d0d0 YQ |
1102 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
1103 | ||
1104 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
1105 | checked before. | |
1106 | ||
1ed59174 JK |
1107 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
1108 | ||
1109 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
1110 | ||
44478ab3 TT |
1111 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
1112 | ||
1113 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
1114 | set command. | |
1115 | * command.h (add_setshow_string_noescape_cmd): Update. | |
1116 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
1117 | (complete_set_gnutarget): New function. | |
1118 | (_initialize_core): Set the "set gnutarget" completer. | |
1119 | ||
06d66ee9 TT |
1120 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
1121 | ||
1122 | PR symtab/14442: | |
1123 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
1124 | (c_type_print_modifier): Likewise. | |
1125 | * dwarf2read.c (read_tag_restrict_type): New function. | |
1126 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
1127 | * gdbtypes.c (make_restrict_type): New function. | |
1128 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
1129 | * gdbtypes.h (enum type_flag_values): Renumber. | |
1130 | (enum type_instance_flag_value): Add | |
1131 | TYPE_INSTANCE_FLAG_RESTRICT. | |
1132 | (TYPE_RESTRICT): New macro. | |
1133 | (make_restrict_type): Declare. | |
1134 | ||
c9bf0622 TT |
1135 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
1136 | ||
1137 | PR symtab/14931: | |
1138 | * psymtab.c (struct psymtab_state): New. | |
1139 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
1140 | functions. | |
1141 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
1142 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
1143 | ||
44d594fd PA |
1144 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
1145 | Pedro Alves <palves@redhat.com> | |
1146 | ||
1147 | PR remote/14786 | |
1148 | ||
1149 | * remote.c (remote_threads_info): Make a copy of the reply from | |
1150 | qfThreadInfo and use that instead of rs->buf. | |
1151 | ||
442e4d9c YQ |
1152 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
1153 | ||
1154 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
1155 | (dbx_psymtab_to_symtab): Likewise. | |
1156 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
1157 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
1158 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
1159 | ||
5b12a61c JK |
1160 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1161 | ||
1162 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
1163 | make_cleanup_restore_current_language. Call set_language. Move | |
1164 | OLD_CHAIN and INNER_CHAIN cleanups. | |
1165 | * utils.c (do_restore_current_language) | |
1166 | (make_cleanup_restore_current_language): New functions. | |
1167 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
1168 | ||
f0a4b570 JK |
1169 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1170 | ||
1171 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
1172 | non-existing files. | |
1173 | ||
57b3c00c JK |
1174 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
1175 | non-existing files if FILENAME is already absolute. | |
1176 | ||
daefa854 JK |
1177 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
1178 | ||
1179 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
1180 | fputs_filtered. Append trailing newline. | |
1181 | ||
ca9c6ee2 YQ |
1182 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
1183 | Stan Shebs <stan@codesourcery.com> | |
1184 | ||
1185 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
1186 | ||
f28045c2 YQ |
1187 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
1188 | ||
1189 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
1190 | (update_dprintf_command_list): Assert that 'printf_line' is | |
1191 | non-null. Remove condition check. | |
1192 | ||
da5132d3 JK |
1193 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
1194 | ||
1195 | Code cleanup. | |
1196 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
1197 | type const char *. | |
1198 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
1199 | const char *. | |
1200 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
1201 | ||
843e694d AG |
1202 | 2013-01-09 Anthony Green <green@moxielogic.com> |
1203 | ||
1204 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
1205 | function. | |
1206 | * ada-lang.c (re_set_catch_assert): Ditto. | |
1207 | ||
da51c347 DE |
1208 | 2013-01-09 Doug Evans <dje@google.com> |
1209 | ||
1210 | * symfile.h (quick_symbol_functions): Delete member | |
1211 | pre_expand_symtabs_matching. All uses removed. | |
1212 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
1213 | (dw2_do_expand_symtabs_matching): Delete. | |
1214 | (dw2_pre_expand_symtabs_matching): Delete. | |
1215 | (struct dw2_symtab_iterator): New type. | |
1216 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
1217 | (dw2_expand_symtabs_for_function): Rewrite. | |
1218 | (dwarf2_gdb_index_functions): Update. | |
1219 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
1220 | (psym_functions): Update. | |
1221 | ||
b2259038 TT |
1222 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
1223 | ||
1224 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
1225 | * configure: Rebuild. | |
1226 | * configure.ac: Add somread.o to the build if BFD has SOM | |
1227 | support. | |
1228 | * somread.c: Include som/aout.h, not syms.h. | |
1229 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
1230 | Unpack records manually. | |
1231 | (_initialize_somread): Declare. | |
1232 | ||
bdad4180 MF |
1233 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
1234 | ||
1235 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
1236 | Cast return_address to 64bits. | |
1237 | ||
03cdf680 HZ |
1238 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
1239 | ||
1240 | * printcmd.c: Remove define of function output_command. | |
1241 | * tracepoint.c: Remove extern of function output_command. | |
1242 | * valprint.h: (output_command): New extern. | |
1243 | ||
8a808554 TT |
1244 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
1245 | ||
1246 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
1247 | Remove. | |
1248 | (objc_language_defn): Use c_printchar, c_printstr, | |
1249 | c_emit_char. | |
1250 | ||
e93a8774 TT |
1251 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
1252 | ||
1253 | PR cli/7719: | |
1254 | * NEWS: Update. | |
1255 | * ada-valprint.c (printstr, print_field_values): Remove | |
1256 | "inspect_it" code. | |
1257 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
1258 | code. | |
1259 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
1260 | code. | |
1261 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
1262 | * main.c (captured_main): Remove "epoch" argument. | |
1263 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
1264 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
1265 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
1266 | "inspect_it" code. | |
1267 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
1268 | (print_command, call_command): Update. | |
1269 | (inspect_command): Remove. | |
1270 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
1271 | * top.c (epoch_interface): Remove. | |
1272 | * top.h (epoch_interface): Remove. | |
1273 | * valprint.c (user_print_options): Update. | |
1274 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
1275 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
1276 | field. | |
1277 | ||
1278 | 2013-01-04 Tom Tromey <tromey@redhat.com> | |
1279 | ||
1280 | * valprint.h (read_string): Add 'extern'. | |
1281 | ||
b967eb24 JB |
1282 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
1283 | ||
1284 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
1285 | used to decide whether to define darwin_read_dyld_info or not. | |
1286 | ||
78a8b30e PM |
1287 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
1288 | ||
1289 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
1290 | if DIR is empty. | |
1291 | ||
50da2f25 YQ |
1292 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
1293 | ||
1294 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
1295 | (fixup_psymbol_section): Remove code returning value. | |
1296 | ||
e7e8980f YQ |
1297 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
1298 | ||
1299 | * symtab.h: Remove some out of date comments. | |
1300 | (enum exception_event_kind): Move it ... | |
1301 | * breakpoint.c: ... here. | |
1302 | ||
569283d4 MF |
1303 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
1304 | ||
9f9d9a96 | 1305 | PR gdb/14405 |
569283d4 MF |
1306 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
1307 | TASK_DYLD_INFO_COUNT is defined. | |
1308 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
1309 | TASK_DYLD_INFO_COUNT is defined. | |
1310 | ||
2e36fbea TT |
1311 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
1312 | ||
1313 | * symfile.h (struct ecoff_debug_hack): Remove. | |
1314 | * objfiles.c: Don't include mdebugread.h. | |
1315 | ||
4f05add4 TT |
1316 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
1317 | ||
1318 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
1319 | * configure.ac: Check for Mach-O support in BFD. Update | |
1320 | CONFIG_OBS. | |
1321 | * configure: Rebuild. | |
1322 | ||
def63ff0 TT |
1323 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
1324 | ||
1325 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
1326 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
1327 | * configure: Rebuild. | |
1328 | ||
60c5dd93 MK |
1329 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
1330 | ||
1331 | * MAINTAINERS: Update my email. | |
1332 | ||
6e58437e JB |
1333 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
1334 | ||
1335 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
1336 | ||
627fe805 JB |
1337 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
1338 | ||
1339 | * rs6000-nat.c (bss_data_overlap): New function. | |
1340 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
1341 | ||
28e7fd62 JB |
1342 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
1343 | ||
1344 | Update year range in copyright notice of all files. | |
1345 | ||
e93a8774 | 1346 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
b9786c74 JB |
1347 | |
1348 | * top.c (print_gdb_version): Update copyright year. | |
1349 | ||
72b20e9c | 1350 | For older changes see ChangeLog-2012. |
c906108c SS |
1351 | \f |
1352 | Local Variables: | |
1353 | mode: change-log | |
1354 | left-margin: 8 | |
1355 | fill-column: 74 | |
1356 | version-control: never | |
57da7796 | 1357 | coding: utf-8 |
c906108c | 1358 | End: |