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