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