Commit | Line | Data |
---|---|---|
b1ae631a DE |
1 | 2013-01-23 Doug Evans <dje@google.com> |
2 | ||
3 | * linespec.c (find_linespec_symbols): Make static. | |
4 | ||
55a78401 SDJ |
5 | 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com> |
6 | ||
7 | * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct | |
8 | type on float conversion for complex type. | |
9 | ||
bea883fd SCR |
10 | 2013-01-23 Siva Chandra Reddy <sivachandra@google.com> |
11 | ||
12 | Add a new class gdb.Architecture which exposes GDB's | |
13 | internal representation of architecture via GDB Python API. | |
14 | * Makefile.in: Add entries corresponding to the new file | |
15 | python/py-arch.c. | |
16 | * NEWS (Python Scripting): Add entries for the new class | |
17 | gdb.Architecture and the new method gdb.Frame.architecture. | |
18 | * python/py-arch.c: Implement gdb.Architecture class. | |
19 | * python/py-frame.c (frapy_arch): Implement the method | |
20 | gdb.Frame.architecture(). | |
21 | (frame_object_methods): Add 'architecture' to the method table. | |
22 | * python/python-internal.h: Add declarations of new utility | |
23 | functions. | |
24 | * python/python.c (_initialize_python): Initialize | |
25 | gdb.Architecture class. | |
26 | ||
796a7ff8 DE |
27 | 2013-01-23 Doug Evans <dje@google.com> |
28 | ||
29 | Work around binutils/15021. | |
30 | * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and | |
31 | type_unit_group out of union s. All uses updated. | |
32 | (read_index_from_section): Watch for index version 8. | |
33 | (follow_die_sig): If using .gdb_index version <= 7, record the TU as | |
34 | an imported symtab. | |
35 | (write_psymtabs_to_index): Increment version number to 8. | |
36 | ||
0928e93d PA |
37 | 2013-01-22 Pedro Alves <palves@redhat.com> |
38 | ||
39 | * annotate.c (breakpoint_changed): Skip if breakpoint is not | |
40 | user-visible. | |
41 | ||
9c97429f PA |
42 | 2013-01-22 Pedro Alves <palves@redhat.com> |
43 | ||
44 | * annotate.c (annotate_breakpoints_changed): Rename to ... | |
45 | (annotate_breakpoints_invalid): ... this. Make static. | |
46 | (breakpoint_changed): Adjust. | |
47 | (_initialize_annotate): Always install the observers. Install a | |
48 | "breakpoint_created" observer. | |
49 | * annotate.h (annotate_breakpoints_changed): Delete declaration. | |
50 | * breakpoint.c (set_breakpoint_condition) | |
51 | (breakpoint_set_commands, do_map_commands_command) | |
52 | (init_raw_breakpoint, clear_command, set_ignore_count) | |
53 | (enable_breakpoint_disp): No longer call | |
54 | annotate_breakpoints_changed. | |
55 | ||
bd00c694 PA |
56 | 2013-01-22 Pedro Alves <palves@redhat.com> |
57 | ||
58 | * annotate.c: Include "inferior.h". | |
59 | (frames_invalid_emitted) | |
60 | (breakpoints_invalid_emitted): New globals. | |
61 | (async_background_execution_p): New function. | |
62 | (annotate_breakpoints_changed, annotate_frames_invalid): Skip | |
63 | emitting the annotation if it has already been emitted. | |
64 | (annotate_display_prompt): New function. | |
65 | * annotate.h (annotate_display_prompt): New declaration. | |
66 | * event-top.c: Include annotate.h. | |
67 | (display_gdb_prompt): Call annotate_display_prompt. | |
68 | ||
187d10dd PA |
69 | 2013-01-22 Pedro Alves <palves@redhat.com> |
70 | ||
71 | * annotate.c (ignore_count_changed): Delete. | |
72 | (annotate_breakpoints_changed): Don't clear ignore_count_changed. | |
73 | (annotate_ignore_count_change): Delete. | |
74 | (annotate_stopped): Don't emit a delayed breakpoints-changed | |
75 | annotation. | |
76 | * annotate.h (annotate_ignore_count_change): Delete. | |
77 | * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call | |
78 | annotate_ignore_count_change. | |
79 | ||
d84cf7eb TT |
80 | 2013-01-22 Tom Tromey <tromey@redhat.com> |
81 | ||
82 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only | |
83 | require_rvalue for a register location. | |
84 | ||
8f1d5693 MK |
85 | 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com> |
86 | ||
87 | * breakpoint.c (print_one_breakpoint_location): Add MI | |
88 | field 'thread-groups' when printing a breakpoint. | |
89 | (output_thread_groups): New function. | |
90 | ||
aa6199c6 SCR |
91 | 2013-01-21 Siva Chandra Reddy <sivachandra@google.com> |
92 | ||
93 | * python/lib/gdb/commands/explore.py | |
94 | (CompoundExplorer.explore_expr): Correct the name of a method | |
95 | being invoked. | |
96 | (ExploreTypeCommand.invoke): Add a missing 'return'. | |
97 | ||
d2afef13 TT |
98 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
99 | ||
100 | * gdb_obstack.h (obconcat): Move declaration here, from... | |
101 | * symfile.h (obconcat): ... here. | |
102 | * gdb_obstack.c: New file. | |
103 | (obconcat): Move from... | |
104 | * symfile.c (obconcat): ... here. | |
105 | * Makefile.in (SFILES): Add gdb_obstack.c. | |
106 | (COMMON_OBS): Add gdb_obstack.o. | |
107 | ||
10f0c4bb TT |
108 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
109 | ||
110 | * symfile.h (obsavestring): Don't declare. | |
111 | * symfile.c (obsavestring): Remove. | |
112 | * ada-exp.y: Use obstack_copy0, not obsavestring. | |
113 | * ada-lang.c: Use obstack_copy0, not obsavestring. | |
114 | * coffread.c: Use obstack_copy0, not obsavestring. | |
115 | * cp-namespace.c: Use obstack_copy0, not obsavestring. | |
116 | * dbxread.c: Use obstack_copy0, not obsavestring. | |
117 | * dwarf2read.c: Use obstack_copy0, not obsavestring. | |
118 | * jit.c: Use obstack_copy0, not obsavestring. | |
119 | * mdebugread.c: Use obstack_copy0, not obsavestring. | |
120 | * psymtab.c: Use obstack_copy0, not obsavestring. | |
121 | * stabsread.c: Use obstack_copy0, not obsavestring. | |
122 | * xcoffread.c: Use obstack_copy0, not obsavestring. | |
123 | ||
86f62fd7 TT |
124 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
125 | ||
126 | * dwarf2read.c (fixup_go_packaging): Save package name | |
127 | on objfile obstack. | |
128 | * gdbtypes.c (init_type): Don't copy name. | |
129 | ||
15d034d0 TT |
130 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
131 | ||
132 | * dwarf2read.c (struct partial_die_info) <name, scope>: Now | |
133 | const. | |
134 | (struct attribute) <u.str>: Now const. | |
135 | (struct fnfieldlist) <name>: Now const. | |
136 | (dw2_get_file_names_reader, init_cutu_and_read_dies): Update. | |
137 | (partial_die_parent_scope): Make return type const. | |
138 | (partial_die_full_name, add_partial_symbol): Update. | |
139 | (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make | |
140 | 'name' const. | |
141 | (find_file_and_directory): Make 'name' and 'comp_dir' const. | |
142 | (read_file_scope, read_func_scope, dwarf2_add_field) | |
143 | (dwarf2_add_member_fn, read_structure_type) | |
144 | (process_enumeration_scope, read_array_type, read_module_type) | |
145 | (read_base_type, read_subrange_type): Update. | |
146 | (dwarf2_start_symtab): Make 'name' and 'comp_dir' const. | |
147 | (new_symbol_full, guess_full_die_structure_name): Update. | |
148 | (dwarf2_canonicalize_name): Return const type. Make 'name' const. | |
149 | (dwarf2_name): Return const type. | |
150 | (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir' | |
151 | const. | |
152 | ||
748e18ae TT |
153 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
154 | ||
155 | * gdbtypes.c (init_type): Make 'name' const. | |
156 | * gdbtypes.h (init_type): Update. | |
157 | ||
46212e0b TT |
158 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
159 | ||
160 | * buildsym.c (patch_subfile_names): Use set_last_source_file. | |
161 | (start_symtab): Make 'name' and 'dirname' const. Use | |
162 | set_last_source_file. | |
163 | (restart_symtab, reset_symtab_globals): Use set_last_source_file. | |
164 | (last_source_file): Define. Now static. | |
165 | (set_last_source_file, get_last_source_file): New functions. | |
166 | * buildsym.h (last_source_file): Don't declare. | |
167 | (start_symtab): Update. | |
168 | (set_last_source_file, get_last_source_file): Declare. | |
169 | * coffread.c (complete_symtab): Use set_last_source_file. | |
170 | (coff_end_symtab): Likewise. | |
171 | (coff_symtab_read): Use set_last_source_file, get_last_source_file. | |
172 | * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use | |
173 | set_last_source_file. | |
174 | (process_one_symbol): Use get_last_source_file. | |
175 | * mdebugread.c (parse_partial_symbols): Use set_last_source_file. | |
176 | (psymtab_to_symtab_1): Use get_last_source_file. | |
177 | * xcoffread.c (process_linenos): Use get_last_source_file. | |
178 | (complete_symtab): Use set_last_source_file. | |
179 | (read_xcoff_symtab): Use set_last_source_file, get_last_source_file. | |
180 | (scan_xcoff_symtab): Use set_last_source_file. | |
181 | ||
9d2ceabe TT |
182 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
183 | ||
184 | * symtab.c (struct demangled_name_entry) <mangled>: Now const. | |
185 | (symbol_set_names): Remove casts. Handle field const-ness. | |
186 | ||
cfc594ee TT |
187 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
188 | ||
189 | * dwarf2read.c (new_symbol_full): Remove cast. | |
190 | * symtab.c (symbol_set_demangled_name): Make 'name' const. | |
191 | * symtab.h (symbol_set_demangled_name): Update. | |
192 | ||
5484b13a TT |
193 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
194 | ||
195 | * main.c (captured_main): Call bfd_init. | |
196 | ||
1605ef26 TT |
197 | 2013-01-21 Tom Tromey <tromey@redhat.com> |
198 | ||
199 | * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI. | |
200 | * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI. | |
201 | * minsyms.c (install_minimal_symbols): Don't check for _Z symbols. | |
202 | * NEWS: Update. | |
203 | ||
3b74cdc3 JK |
204 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
205 | ||
206 | * symmisc.c (maintenance_print_msymbols): Check also ST_DEV. | |
207 | ||
5a352474 JK |
208 | 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
209 | ||
210 | Fix gdb.fortran/common-block.exp crash in PIE mode. | |
211 | * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use | |
212 | LOC_COMMON_BLOCK. | |
213 | * f-valprint.c (info_common_command_for_block): Expect | |
214 | LOC_COMMON_BLOCK in gdb_assert. | |
215 | * symtab.h (struct general_symbol_info): Update comment for the | |
216 | common_block member. | |
217 | (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member. | |
218 | (enum address_class): New member LOC_COMMON_BLOCK. | |
219 | ||
c60797fd DB |
220 | 2013-01-18 David Blaikie <dblaikie@gmail.com> |
221 | ||
222 | * MAINTAINERS (Write After Approval): Add "David Blaikie". | |
0cae7dfb | 223 | |
46f35228 TT |
224 | 2013-01-18 Tom Tromey <tromey@redhat.com> |
225 | ||
226 | PR c++/14999: | |
227 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: | |
228 | Call require_rvalue. | |
229 | ||
257e7a09 YQ |
230 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
231 | ||
232 | * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration. | |
233 | (dbx_read_symtab): New declaration. | |
234 | (dbx_psymtab_to_symtab): Delete. | |
235 | (dbx_read_symtab): Rename from dbx_psymtab_to_symtab. | |
236 | Rename parameter PST to SELF. Exchanged two parameters. | |
237 | (start_psymtab): Caller update. | |
238 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration. | |
239 | (dwarf2_read_symtab): New declaration. | |
240 | (dwarf2_psymtab_to_symtab): Delete. | |
241 | (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab. | |
242 | Rename parameter PST to SELF. Exchanged two parameters. | |
243 | (create_partial_symtab): Caller update. | |
244 | * mdebugread.c (mdebug_psymtab_to_symtab): Delete. | |
245 | (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab. | |
246 | Rename parameter PST to SELF. Exchanged two parameters. | |
247 | (parse_partial_symbols, new_psymtab): Caller update. | |
248 | * psympriv.h (struct partial_symtab) <read_symtab>: Exchange | |
249 | two parameters. | |
250 | * psymtab.c (psymtab_to_symtab): Caller update. | |
251 | * xcoffread.c (xcoff_psymtab_to_symtab): Delete. | |
252 | (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab. | |
253 | Rename parameter PST to SELF. Exchanged two parameters. | |
254 | (xcoff_start_psymtab): Caller update. | |
255 | ||
0de5618e YQ |
256 | 2013-01-18 Yao Qi <yao@codesourcery.com> |
257 | ||
258 | * infrun.c (proceed): Rename local variable 'oneproc' to | |
259 | 'force_step'. | |
260 | ||
5c04624b DE |
261 | 2013-01-17 Doug Evans <dje@google.com> |
262 | ||
848e3e78 DE |
263 | * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete. |
264 | (dw2_build_type_unit_groups): Delete. All uses updated. | |
265 | ||
5c04624b DE |
266 | * symtab.h (struct symbol_search): Add comment. |
267 | ||
d84fca2c JK |
268 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
269 | ||
270 | * symtab.c (compare_filenames_for_search): New comment for | |
271 | HAS_DRIVE_SPEC. | |
272 | ||
6108433d TT |
273 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
274 | ||
275 | * cp-abi.c (cp_abi_completer): Fix typo in assignment. | |
276 | ||
c89ffd86 JK |
277 | 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com> |
278 | ||
279 | * symtab.c (iterate_over_some_symtabs): New variable cleanups, | |
280 | initialize it by existing make_cleanup. Call new do_cleanups. | |
281 | ||
db2b2972 TT |
282 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
283 | ||
284 | * cp-abi.c (cp_abi_completer): New function. | |
285 | (_initialize_cp_abi): Set completer for "set cp-abi". | |
286 | ||
be7d37a2 TT |
287 | 2013-01-17 Tom Tromey <tromey@redhat.com> |
288 | ||
289 | * mem-break.c: Remove obsolete comment. | |
290 | * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment. | |
291 | ||
c9fb1240 SD |
292 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
293 | ||
294 | * jit.c (jit_reader_load_command): Interpret the jit reader name | |
295 | as an absolute path if it begins with a forward slash. | |
296 | ||
db334a01 SD |
297 | 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com> |
298 | ||
299 | PR gdb/14550 | |
300 | ||
301 | * jit.c (finalize_symtab): Ensure that only the global block has a | |
302 | NULL superblock. | |
303 | ||
7d928dac PA |
304 | 2013-01-17 Pedro Alves <palves@redhat.com> |
305 | ||
306 | * acinclude.m4: Include ../config/plugins.m4, | |
307 | ../config/largefile.m4 and ../config/lead-dot.m4. Add comments. | |
308 | * Makefile.in (aclocal_m4_deps): Update. | |
309 | * aclocal.m4: Renegerate. | |
310 | ||
fb8cf7c5 DE |
311 | 2013-01-16 Doug Evans <dje@google.com> |
312 | ||
313 | * contrib/cc-with-tweaks.sh: Add references to Fission docs. | |
314 | ||
ab04a2af TT |
315 | 2013-01-16 Pedro Alves <palves@redhat.com> |
316 | Tom Tromey <tromey@redhat.com> | |
317 | ||
318 | PR cli/7221: | |
319 | * NEWS: Add "catch signal". | |
320 | * breakpoint.c (base_breakpoint_ops): No longer static. | |
321 | (bpstat_explains_signal): New function. | |
322 | (init_catchpoint): No longer static. | |
323 | (base_breakpoint_explains_signal): New function. | |
324 | (base_breakpoint_ops): Initialize new field. | |
325 | * breakpoint.h (enum bpstat_signal_value): New. | |
326 | (struct breakpoint_ops) <explains_signal>: New field. | |
327 | (bpstat_explains_signal): Remove macro, declare as function. | |
328 | (base_breakpoint_ops, init_catchpoint): Declare. | |
329 | * break-catch-sig.c: New file. | |
330 | * inferior.h (signal_catch_update): Declare. | |
331 | * infrun.c (signal_catch): New global. | |
332 | (handle_syscall_event): Update for change to | |
333 | bpstat_explains_signal. | |
334 | (handle_inferior_event): Likewise. Always handle random signals | |
335 | via bpstats. | |
336 | (signal_cache_update): Check signal_catch. | |
337 | (signal_catch_update): New function. | |
338 | (_initialize_infrun): Initialize signal_catch. | |
339 | * Makefile.in (SFILES): Add break-catch-sig.c. | |
340 | (COMMON_OBS): Add break-catch-sig.o. | |
341 | ||
8ac3646f TT |
342 | 2013-01-16 Tom Tromey <tromey@redhat.com> |
343 | ||
344 | * breakpoint.c (print_one_catch_fork, print_one_catch_vfork) | |
345 | (print_one_catch_solib, print_one_catch_syscall) | |
346 | (print_one_catch_exec, print_one_exception_catchpoint): Emit | |
347 | "catch-type". | |
348 | ||
5a18e302 YQ |
349 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
350 | ||
351 | * printcmd.c (current_display_number): Make it static. | |
352 | ||
3f01d0d0 YQ |
353 | 2013-01-16 Yao Qi <yao@codesourcery.com> |
354 | ||
355 | * infcmd.c (step_once): Don't check '!single_inst' as it was | |
356 | checked before. | |
357 | ||
1ed59174 JK |
358 | 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
359 | ||
360 | * dwarf2read.c (psymtab_include_file_name): Extend the function comment. | |
361 | ||
44478ab3 TT |
362 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
363 | ||
364 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the | |
365 | set command. | |
366 | * command.h (add_setshow_string_noescape_cmd): Update. | |
367 | * corefile.c (set_gnutarget_command): Remove trailing whitespace. | |
368 | (complete_set_gnutarget): New function. | |
369 | (_initialize_core): Set the "set gnutarget" completer. | |
370 | ||
06d66ee9 TT |
371 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
372 | ||
373 | PR symtab/14442: | |
374 | * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. | |
375 | (c_type_print_modifier): Likewise. | |
376 | * dwarf2read.c (read_tag_restrict_type): New function. | |
377 | (read_type_die_1): Handle DW_TAG_restrict_type. | |
378 | * gdbtypes.c (make_restrict_type): New function. | |
379 | (recursive_dump_type): Handle TYPE_RESTRICT. | |
380 | * gdbtypes.h (enum type_flag_values): Renumber. | |
381 | (enum type_instance_flag_value): Add | |
382 | TYPE_INSTANCE_FLAG_RESTRICT. | |
383 | (TYPE_RESTRICT): New macro. | |
384 | (make_restrict_type): Declare. | |
385 | ||
c9bf0622 TT |
386 | 2013-01-14 Tom Tromey <tromey@redhat.com> |
387 | ||
388 | PR symtab/14931: | |
389 | * psymtab.c (struct psymtab_state): New. | |
390 | (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New | |
391 | functions. | |
392 | * psympriv.h (make_cleanup_discard_psymtabs): Declare. | |
393 | * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. | |
394 | ||
44d594fd PA |
395 | 2013-01-14 Richard Sharman <richard_sharman@mitel.com> |
396 | Pedro Alves <palves@redhat.com> | |
397 | ||
398 | PR remote/14786 | |
399 | ||
400 | * remote.c (remote_threads_info): Make a copy of the reply from | |
401 | qfThreadInfo and use that instead of rs->buf. | |
402 | ||
442e4d9c YQ |
403 | 2013-01-14 Yao Qi <yao@codesourcery.com> |
404 | ||
405 | * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL. | |
406 | (dbx_psymtab_to_symtab): Likewise. | |
407 | * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise. | |
408 | * mdebugread.c (mdebug_psymtab_to_symtab): Likewise. | |
409 | * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise. | |
410 | ||
5b12a61c JK |
411 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
412 | ||
413 | * parse.c (parse_exp_in_context): New variable inner_chain. Call | |
414 | make_cleanup_restore_current_language. Call set_language. Move | |
415 | OLD_CHAIN and INNER_CHAIN cleanups. | |
416 | * utils.c (do_restore_current_language) | |
417 | (make_cleanup_restore_current_language): New functions. | |
418 | * utils.h (make_cleanup_restore_current_language): New declaration. | |
419 | ||
f0a4b570 JK |
420 | 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
421 | ||
422 | * source.c (symtab_to_fullname): Apply rewrite_source_path also for | |
423 | non-existing files. | |
424 | ||
57b3c00c JK |
425 | * source.c (symtab_to_fullname): Do not prepend DIRNAME for |
426 | non-existing files if FILENAME is already absolute. | |
427 | ||
daefa854 JK |
428 | 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
429 | ||
430 | * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of | |
431 | fputs_filtered. Append trailing newline. | |
432 | ||
ca9c6ee2 YQ |
433 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
434 | Stan Shebs <stan@codesourcery.com> | |
435 | ||
436 | * psymtab.c (init_psymbol_list): Clarify the comment. | |
437 | ||
f28045c2 YQ |
438 | 2013-01-11 Yao Qi <yao@codesourcery.com> |
439 | ||
440 | * breakpoint.c (print_one_breakpoint_location): Remove dead code. | |
441 | (update_dprintf_command_list): Assert that 'printf_line' is | |
442 | non-null. Remove condition check. | |
443 | ||
da5132d3 JK |
444 | 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
445 | ||
446 | Code cleanup. | |
447 | * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return | |
448 | type const char *. | |
449 | * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname | |
450 | const char *. | |
451 | * tui/tui-source.h (tui_source_is_displayed): Likewise. | |
452 | ||
843e694d AG |
453 | 2013-01-09 Anthony Green <green@moxielogic.com> |
454 | ||
455 | * cp-abi.c (cplus_print_vtable): Don't return value from void | |
456 | function. | |
457 | * ada-lang.c (re_set_catch_assert): Ditto. | |
458 | ||
da51c347 DE |
459 | 2013-01-09 Doug Evans <dje@google.com> |
460 | ||
461 | * symfile.h (quick_symbol_functions): Delete member | |
462 | pre_expand_symtabs_matching. All uses removed. | |
463 | * dwarf2read.c (dw2_lookup_symbol): Implement. | |
464 | (dw2_do_expand_symtabs_matching): Delete. | |
465 | (dw2_pre_expand_symtabs_matching): Delete. | |
466 | (struct dw2_symtab_iterator): New type. | |
467 | (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions. | |
468 | (dw2_expand_symtabs_for_function): Rewrite. | |
469 | (dwarf2_gdb_index_functions): Update. | |
470 | * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete. | |
471 | (psym_functions): Update. | |
472 | ||
b2259038 TT |
473 | 2013-01-09 Tom Tromey <tromey@redhat.com> |
474 | ||
475 | * config/pa/hpux.mh (NATDEPFILES): Remove somread.o. | |
476 | * configure: Rebuild. | |
477 | * configure.ac: Add somread.o to the build if BFD has SOM | |
478 | support. | |
479 | * somread.c: Include som/aout.h, not syms.h. | |
480 | (som_symtab_read): Use som_external_symbol_dictionary_record. | |
481 | Unpack records manually. | |
482 | (_initialize_somread): Declare. | |
483 | ||
bdad4180 MF |
484 | 2012-01-08 Mike Frysinger <vapier@gentoo.org> |
485 | ||
486 | * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]: | |
487 | Cast return_address to 64bits. | |
488 | ||
03cdf680 HZ |
489 | 2013-01-08 Hui Zhu <hui_zhu@mentor.com> |
490 | ||
491 | * printcmd.c: Remove define of function output_command. | |
492 | * tracepoint.c: Remove extern of function output_command. | |
493 | * valprint.h: (output_command): New extern. | |
494 | ||
8a808554 TT |
495 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
496 | ||
497 | * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr): | |
498 | Remove. | |
499 | (objc_language_defn): Use c_printchar, c_printstr, | |
500 | c_emit_char. | |
501 | ||
e93a8774 TT |
502 | 2013-01-07 Tom Tromey <tromey@redhat.com> |
503 | ||
504 | PR cli/7719: | |
505 | * NEWS: Update. | |
506 | * ada-valprint.c (printstr, print_field_values): Remove | |
507 | "inspect_it" code. | |
508 | * cp-valprint.c (cp_print_value_fields): Remove "inspect_it" | |
509 | code. | |
510 | * jv-valprint.c (java_print_value_fields): Remove "inspect_it" | |
511 | code. | |
512 | * m2-lang.c (m2_printstr): Remove "inspect_it" code. | |
513 | * main.c (captured_main): Remove "epoch" argument. | |
514 | * objc-lang.c (objc_printstr): Remove "inspect_it" code. | |
515 | * p-lang.c (pascal_printstr): Remove "inspect_it" code. | |
516 | * p-valprint.c (pascal_object_print_value_fields): Remove | |
517 | "inspect_it" code. | |
518 | * printcmd.c (print_command_1): Remove 'inspect' argument. | |
519 | (print_command, call_command): Update. | |
520 | (inspect_command): Remove. | |
521 | (_initialize_printcmd): Make "inspect" an alias for "print". | |
522 | * top.c (epoch_interface): Remove. | |
523 | * top.h (epoch_interface): Remove. | |
524 | * valprint.c (user_print_options): Update. | |
525 | (print_converted_chars_to_obstack): Remove "inspect_it" code. | |
526 | * valprint.h (struct value_print_options) <inspect_it>: Remove | |
527 | field. | |
528 | ||
529 | 2013-01-04 Tom Tromey <tromey@redhat.com> | |
530 | ||
531 | * valprint.h (read_string): Add 'extern'. | |
532 | ||
b967eb24 JB |
533 | 2013-01-07 Joel Brobecker <brobecker@adacore.com> |
534 | ||
535 | * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test | |
536 | used to decide whether to define darwin_read_dyld_info or not. | |
537 | ||
78a8b30e PM |
538 | 2013-01-03 Pierre Muller <muller@sourceware.org> |
539 | ||
540 | * main.c (relocate_gdb_directory): Avoid calling stat function | |
541 | if DIR is empty. | |
542 | ||
50da2f25 YQ |
543 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
544 | ||
545 | * psymtab.c (fixup_psymbol_section): Update declaration. | |
546 | (fixup_psymbol_section): Remove code returning value. | |
547 | ||
e7e8980f YQ |
548 | 2013-01-03 Yao Qi <yao@codesourcery.com> |
549 | ||
550 | * symtab.h: Remove some out of date comments. | |
551 | (enum exception_event_kind): Move it ... | |
552 | * breakpoint.c: ... here. | |
553 | ||
569283d4 MF |
554 | 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk> |
555 | ||
9f9d9a96 | 556 | PR gdb/14405 |
569283d4 MF |
557 | * darwin-nat.c (darwin_read_dyld_info): Only build if |
558 | TASK_DYLD_INFO_COUNT is defined. | |
559 | (darwin_xfer_partial): Call darwin_read_dyld_info only if | |
560 | TASK_DYLD_INFO_COUNT is defined. | |
561 | ||
2e36fbea TT |
562 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
563 | ||
564 | * symfile.h (struct ecoff_debug_hack): Remove. | |
565 | * objfiles.c: Don't include mdebugread.h. | |
566 | ||
4f05add4 TT |
567 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
568 | ||
569 | * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o. | |
570 | * configure.ac: Check for Mach-O support in BFD. Update | |
571 | CONFIG_OBS. | |
572 | * configure: Rebuild. | |
573 | ||
def63ff0 TT |
574 | 2013-01-02 Tom Tromey <tromey@redhat.com> |
575 | ||
576 | * acinclude.m4 (GDB_AC_CHECK_BFD): New macro. | |
577 | * configure.ac: Use GDB_AC_CHECK_BFD. | |
578 | * configure: Rebuild. | |
579 | ||
60c5dd93 MK |
580 | 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com> |
581 | ||
582 | * MAINTAINERS: Update my email. | |
583 | ||
6e58437e JB |
584 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
585 | ||
586 | * cli/cli-script.h (make_cleanup_free_command_lines): Make extern. | |
587 | ||
627fe805 JB |
588 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
589 | ||
590 | * rs6000-nat.c (bss_data_overlap): New function. | |
591 | (vmap_symtab): Use it to adjust the .bss section's offset. | |
592 | ||
28e7fd62 JB |
593 | 2013-01-01 Joel Brobecker <brobecker@adacore.com> |
594 | ||
595 | Update year range in copyright notice of all files. | |
596 | ||
e93a8774 | 597 | 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com> |
b9786c74 JB |
598 | |
599 | * top.c (print_gdb_version): Update copyright year. | |
600 | ||
72b20e9c | 601 | For older changes see ChangeLog-2012. |
c906108c SS |
602 | \f |
603 | Local Variables: | |
604 | mode: change-log | |
605 | left-margin: 8 | |
606 | fill-column: 74 | |
607 | version-control: never | |
57da7796 | 608 | coding: utf-8 |
c906108c | 609 | End: |