PR binutils/15125
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
1773c82c
HAQ
12013-02-14 Pedro Alves <pedro@codesourcery.com>
2 Hafiz Abid Qadeer <abidh@codesourcery.com>
3
4 * tracepoint.h (validate_trace_state_variable_name): Declare.
5 * tracepoint.c (validate_trace_state_variable_name): New.
6 (trace_variable_command): Parse the trace state variable's name
7 without using parse_expression. Do several validations.
8 * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
9 trace state variable's name with parse_expression. Validate it.
10
53778a97
YQ
112013-02-14 Yao Qi <yao@codesourcery.com>
12
13 * infcmd.c (breakpoint_proceeded): Remove it.
14
7b3ae3a6
YQ
152013-02-14 Yao Qi <yao@codesourcery.com>
16
17 * tracepoint.c (end_actions_pseudocommand): Make it static.
18 (while_stepping_pseudocommand): Likewise.
19 * tracepoint.h (end_actions_pseudocommand): Remove the
20 declaration.
21 (while_stepping_pseudocommand): Likewise.
22
64580925
YQ
232013-02-14 Yao Qi <yao@codesourcery.com>
24
25 * cli/cli-decode.c (help_cmd): Remove the declaration of
26 "cmdlist".
27 (help_all): Likewise.
28
26cb8b7c
PA
292013-02-13 Pedro Alves <palves@redhat.com>
30
31 * amd64-linux-nat.c (update_debug_registers_callback):
32 Update comment.
33 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
34 iterate_over_lwps.
35 (amd64_linux_prepare_to_resume): Pass the lwp's pid to
36 i386_debug_reg_state.
37 (amd64_linux_new_fork): New function.
38 (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
39 linux_nat_new_fork hook, and i386_forget_process as
40 linux_nat_forget_process hook.
41 * i386-linux-nat.c (update_debug_registers_callback):
42 Update comment.
a8256ea1 43 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
26cb8b7c
PA
44 iterate_over_lwps.
45 (i386_linux_prepare_to_resume): Pass the lwp's pid to
46 i386_debug_reg_state.
47 (i386_linux_new_fork): New function.
48 (_initialize_i386_linux_nat): Install i386_linux_new_fork as
49 linux_nat_new_fork hook, and i386_forget_process as
50 linux_nat_forget_process hook.
51 * i386-nat.c (i386_init_dregs): Delete.
52 (i386_inferior_data, struct i386_inferior_data):
53 Delete.
54 (struct i386_process_info): New.
55 (i386_process_list): New global.
56 (i386_find_process_pid, i386_add_process, i386_process_info_get):
57 New functions.
58 (i386_inferior_data_get): Delete.
59 (i386_process_info_get): New function.
60 (i386_debug_reg_state): New parameter 'pid'. Reimplement.
61 (i386_forget_process): New function.
62 (i386_cleanup_dregs): Rewrite.
63 (i386_update_inferior_debug_regs, i386_insert_watchpoint)
64 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
65 (i386_stopped_data_address, i386_insert_hw_breakpoint)
66 (i386_remove_hw_breakpoint): Adjust to pass the current process id
67 to i386_debug_reg_state.
68 (i386_use_watchpoints): Don't register inferior data.
69 * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
70 adjust comment.
71 (i386_forget_process): Declare.
72 * linux-fork.c (delete_fork): Call linux_nat_forget_process.
73 * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
74 New static globals.
75 (linux_child_follow_fork): Don't call linux_nat_new_thread here.
76 (add_initial_lwp): New, factored out from ...
77 (add_lwp): ... this. Don't check the number of lwps before
78 calling linux_nat_new_thread.
79 (linux_nat_iterate_watchpoint_lwps): Delete.
80 (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
81 (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
82 forks and vforks.
83 (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
84 initial lwp.
85 (linux_nat_kill, linux_nat_mourn_inferior): Call
86 linux_nat_forget_process.
87 (linux_nat_set_new_fork, linux_nat_set_forget_process)
88 (linux_nat_forget_process): New functions.
89 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
90 type.
91 (linux_nat_iterate_watchpoint_lwps): Delete declaration.
92 (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
93 types.
94 (linux_nat_set_new_fork, linux_nat_set_forget_process)
95 (linux_nat_forget_process): New declarations.
96
97 * amd64fbsd-nat.c (super_mourn_inferior): New global.
98 (amd64fbsd_mourn_inferior): New function.
99 (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
100 * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
101
5befea72
MS
1022013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
103
55015247
YQ
104 * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
105 Adding _().
5befea72 106
1d3ffd6b
MS
1072013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
108
109 * aarch64-linux-nat.c (debug_reg_change_callback)
110 (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
111 %s and phex().
112
6eb04473
MS
1132013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
114
115 * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
116 with LONGEST.
117
a016fc87
HAQ
1182013-02-13 Pedro Alves <palves@redhat.com>
119 Hafiz Abid Qadeer <abidh@codesourcery.com>
120
121 * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
122
e234dfaf
TT
1232013-02-12 Tom Tromey <tromey@redhat.com>
124
125 PR symtab/11464:
126 * c-exp.y (lex_one_token): Initialize other fields of yylval on
127 NAME return.
128 (classify_inner_name): Remove 'first_name' argument, add
129 'context'. Remove unused variable.
130 (yylex): Explicitly maintain the context type. Exit loop earlier
131 if NAME result is seen.
132
0b1afbb3
PA
1332013-02-12 Pedro Alves <palves@redhat.com>
134
135 * amd64-darwin-tdep.c: Add (C) after Copyright.
136 * cli/cli-cmds.h: Ditto.
137 * cli/cli-decode.c: Ditto.
138 * cli/cli-decode.h: Ditto.
139 * cli/cli-dump.c: Ditto.
140 * cli/cli-dump.h: Ditto.
141 * cli/cli-interp.c: Ditto.
142 * cli/cli-logging.c: Ditto.
143 * cli/cli-script.c: Ditto.
144 * cli/cli-script.h: Ditto.
145 * cli/cli-setshow.c: Ditto.
146 * cli/cli-setshow.h: Ditto.
147 * cli/cli-utils.c: Ditto.
148 * cli/cli-utils.h: Ditto.
149 * config/alpha/nm-osf3.h: Ditto.
150 * config/djgpp/djconfig.sh: Ditto.
151 * config/i386/nm-fbsd.h: Ditto.
152 * config/i386/nm-i386gnu.h: Ditto.
153 * config/nm-linux.h: Ditto.
154 * config/nm-nto.h: Ditto.
155 * config/rs6000/nm-rs6000.h: Ditto.
156 * config/sparc/nm-sol2.h: Ditto.
157 * darwin-nat-info.c: Ditto.
158 * dfp.c: Ditto.
159 * dfp.h: Ditto.
160 * gdb-demangle.h: Ditto.
161 * i386-darwin-nat.c: Ditto.
162 * i386-darwin-tdep.c: Ditto.
163 * linux-fork.h: Ditto.
164 * m32c-tdep.c: Ditto.
165 * microblaze-linux-tdep.c: Ditto.
166 * microblaze-rom.c: Ditto.
167 * microblaze-tdep.c: Ditto.
168 * microblaze-tdep.h: Ditto.
169 * mips-linux-tdep.h: Ditto.
170 * ppc-ravenscar-thread.c: Ditto.
171 * ppc-ravenscar-thread.h: Ditto.
172 * prologue-value.c: Ditto.
173 * prologue-value.h: Ditto.
174 * ravenscar-thread.c: Ditto.
175 * ravenscar-thread.h: Ditto.
176 * sparc-ravenscar-thread.c: Ditto.
177 * sparc-ravenscar-thread.h: Ditto.
178 * tilegx-linux-tdep.c: Ditto.
179 * unwind_stop_reasons.def: Ditto.
180 * windows-nat.h: Ditto.
181 * xtensa-linux-tdep.c: Ditto.
182 * xtensa-xtregs.c: Ditto.
183 * regformats/regdat.sh: Ditto.
184 * regformats/regdef.h: Ditto.
185
6c01dd94
PA
1862013-02-12 Pedro Alves <palves@redhat.com>
187
188 * break-catch-sig.c: Update copyright years.
189
b65a2bd9
SCR
1902013-02-11 Siva Chandra Reddy <sivachandra@google.com>
191
192 Add support for a destructor for ui_out data and use it to
193 provide a ui_out destructor.
194 * ui-out.h: Declare the new ui_out destructor.
195 (ui_out_impl): Add a field for data destructor in ui_out_impl.
196 * ui-out.c (default_data_destroy): Add a default data destructor
197 which does nothing.
198 (default_ui_out_impl): Set the new data_destroy field to
199 default_data_destroy
200 (uo_data_destroy): Local function which invokes the data
201 destructor if present.
202 (clear_table): Local function which clears the table data of a
203 ui_out object.
204 (ui_out_destroy): Public function which frees a ui_out object.
205 (ui_out_table_end): Use the new clear_table function.
206 * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
207 NULL.
208 * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
209 to NULL.
210
c2792f5a
DE
2112013-02-11 Doug Evans <dje@google.com>
212
213 * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
214 (printf_decfloat): New function. Broken out from ui_printf.
215 Remove unnecessary code to shift the entire format string down.
216 (printf_pointer): New function.
217 (ui_printf): Code to print C strings, wide C strings, decfloats,
218 and pointers moved to separate functions.
219
d9e98382
SDJ
2202013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
221
222 * valops.c (value_assign): Handling bitfield offset in
223 `lval_internalvar_component' case.
224
4ff3ce77
DE
2252013-02-08 Doug Evans <dje@google.com>
226
227 * common/format.c (parse_format_string): Fix whitespace.
228
901900c4
MGD
2292013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
230
231 * stack.c (return_command): Work around uninitialized variable
232 warning.
233
b5dbc8d4
YZ
2342013-02-08 Yufeng Zhang <yufeng.zhang@arm.com>
235
236 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
237 number of the registers from 36 to 34.
238
51d66578
MS
2392013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
240
241 * NEWS: Mention new AArch64 native and target support.
242
176b1c95
MS
2432013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
244
245 * MAINTAINERS (Write After Approval): Add myself.
246
9d19df75
MS
2472013-02-08 Jim MacArthur <jim.macarthur@arm.com>
248 Marcus Shawcroft <marcus.shawcroft@arm.com>
249 Nigel Stephens <nigel.stephens@arm.com>
250 Yufeng Zhang <yufeng.zhang@arm.com>
251
252 * aarch64-linux-nat.c: New file.
253 * config/aarch64/linux.mh: New file.
254 * configure.host: Add AArch64.
255 * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
256
7e1e0340
DE
2572013-02-07 Doug Evans <dje@google.com>
258
259 * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
260 disassemble command.
261
45e25a36
MS
2622013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
263
264 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
265 set_gdbarch_fetch_tls_load_module_address.
266
bbfdfe1c
DM
2672013-02-06 David S. Miller <davem@davemloft.net>
268
269 * sparc-tdep.c (sparc32_return_value): Handle writing return value when
270 using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
271 * value.c (struct_return_convention): New function.
272 (using_struct_return): Implement in terms of struct_return_convention.
273 * value.h (struct_return_convention): Declare.
274 * stack.c (return_command): Allow successful overriding of the return
275 value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
276
bc9abe4a
TT
2772013-02-06 Tom Tromey <tromey@redhat.com>
278
279 * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
280 outside of TRY_CATCH.
281
134a2066
YQ
2822013-02-06 Yao Qi <yao@codesourcery.com>
283
284 * mi/mi-interp.c: Include "tracepoint.h".
285 (mi_tsv_modified): Declare.
286 (mi_tsv_created, mi_tsv_deleted): Update declaration.
287 (mi_interpreter_init): Call observer_attach_tsv_modified.
288 (mi_tsv_modified): New.
289 (mi_tsv_created, mi_tsv_deleted): Update.
290 * tracepoint.c (trace_variable_command): Call
291 observer_notify_tsv_modified if the initial value of tsv is
292 changed.
293 (delete_trace_state_variable): Call
294 observer_notify_tsv_deleted earlier.
295 (trace_variable_command): Caller update.
296 (create_tsv_from_upload): Likewise.
297 * observer.sh: Declare "struct trace_state_variable".
298
299 * NEWS: Mention the new MI notification "=tsv-modified".
300
59be2b6a
DE
3012013-02-05 Doug Evans <dje@google.com>
302
303 * completer.c (location_completer): Fix typo in comment.
304
d30113d4
JK
3052013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
306
307 * breakpoint.c (add_location_to_breakpoint): Insert the location with
308 ADDRESS sorted.
309
14ac654f
MS
3102013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
311
312 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
313 Refactor if statement to avoid trailing || operator.
314
543bf33d
AT
3152013-02-05 Andreas Tobler <andreast@fgznet.ch>
316
317 * NEWS: Add PowerPC FreeBSD as a new native configuration.
318
dc18f110
AT
3192013-02-04 Andreas Tobler <andreast@fgznet.ch>
320
321 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
322 * configure.host: Add powerpc*-*-freebsd* target.
323 * configure.tgt: Add target info for powerpc*-*-freebsd*.
324 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
325 * config/powerpc/fbsd.mh: New file.
326
b3ac9c77
SDJ
3272013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>
328 Denys Vlasenko <dvlasenk@redhat.com>
329 Pedro Alves <palves@redhat.com>
330
331 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
332 (struct elf_internal_linux_prpsinfo): Forward declare.
333 * gdbarch.h, gdbarch.c: Regenerate.
334 * linux-tdep.c: Include `cli/cli-utils.h'.
335 (linux_fill_prpsinfo): New function.
336 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
337 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
338 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
339 depending on gdbarch pointer bitness.
340 * ppc-linux-tdep.c: Include elf-bfd.h.
341 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
342 on 32-bit.
343
176eb98c
MS
3442013-02-04 Jim MacArthur <jim.macarthur@arm.com>
345 Marcus Shawcroft <marcus.shawcroft@arm.com>
346 Nigel Stephens <nigel.stephens@arm.com>
347 Yufeng Zhang <yufeng.zhang@arm.com>
348
349 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
350
cf0dbd6f
MS
3512013-02-04 Jim MacArthur <jim.macarthur@arm.com>
352 Marcus Shawcroft <marcus.shawcroft@arm.com>
353 Nigel Stephens <nigel.stephens@arm.com>
354 Yufeng Zhang <yufeng.zhang@arm.com>
355
356 * aarch64-newlib-tdep.c: New file.
357 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
358 aarch64*-*-elf.
359 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
360 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
361 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
362 * osabi.c (gdb_osabi_names): Add "Newlib".
363
1ae3db19
MS
3642013-02-04 Jim MacArthur <jim.macarthur@arm.com>
365 Marcus Shawcroft <marcus.shawcroft@arm.com>
366 Nigel Stephens <nigel.stephens@arm.com>
367 Yufeng Zhang <yufeng.zhang@arm.com>
368
369 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
370 (ALLDEPFILES): Add aarch64-linux-tdep.c.
371 * aarch64-linux-tdep.c: New file.
372 * aarch64-linux-tdep.h: New file.
373 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
374 * configure.tgt: Add aarch64-none-linux-gnu.
375
07b287a0
MS
3762013-02-04 Jim MacArthur <jim.macarthur@arm.com>
377 Marcus Shawcroft <marcus.shawcroft@arm.com>
378 Nigel Stephens <nigel.stephens@arm.com>
379 Yufeng Zhang <yufeng.zhang@arm.com>
380
381 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
382 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
383 (ALLDEPFILES): Add aarch64-tdep.c.
384 * aarch64-tdep.c: New file.
385 * aarch64-tdep.h: New file.
386 * configure.tgt: Add AArch64.
387 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
388 (aarch64-expedite): New definition.
389 * features/aarch64-core.xml: New file.
390 * features/aarch64-fpu.xml: New file.
391 * features/aarch64-without-fpu.c: New file (generated).
392 * features/aarch64-without-fpu.xml: New file.
393 * features/aarch64.c: New file (generated).
394 * features/aarch64.xml: New file.
395 * regformats/aarch64-without-fpu.dat: New file (generated).
396 * regformats/aarch64.dat: New file (generated).
397
0f1b18ab
JK
3982013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
399
400 * contrib/expect-read1.c: New file.
401 * contrib/expect-read1.sh: New file.
402
233d95b5
JK
4032013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
404
405 * dwarf2read.c (file_file_name): New function with code from
406 file_full_name.
407 (file_full_name): Move most of the code to file_file_name.
408 (macro_start_file): Rename variable full_name to file_name and use
409 file_file_name for it. Add comp_dir parameter to new_macro_table.
410 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
411 macro_source_file->filename access by macro_source_fullname call.
412 * macroscope.c (_initialize_macroscope): Update the new_macro_table
413 caller.
414 * macrotab.c (struct macro_table): New field comp_dir.
415 (macro_include): New variables link_fullname and source_fullname.
416 Replace any macro_source_file->filename access by macro_source_fullname
417 call.
418 (macro_lookup_inclusion): Remove the partial filenames checking code.
419 (check_for_redefinition): New variables source_fullname and
420 found_key_fullname. Replace any macro_source_file->filename access by
421 macro_source_fullname call.
422 (macro_undef): New variables source_fullname and key_fullname. Replace
423 any macro_source_file->filename access by macro_source_fullname call.
424 (macro_lookup_definition): New variables retval and source_fullname.
425 Replace any macro_source_file->filename access by macro_source_fullname
426 call.
427 (foreach_macro): New variable key_fullname. Replace any
428 macro_source_file->filename access by macro_source_fullname call.
429 (foreach_macro_in_scope): New variable datum_fullname. Replace any
430 macro_source_file->filename access by macro_source_fullname call.
431 (new_macro_table): Add parameter comp_dir. Initialize T with it.
432 (macro_source_fullname): New function.
433 * macrotab.h (struct macro_source_file): Extent the filename field
434 comment.
435 (new_macro_table): New parameter comp_dir, add a comment for it.
436 (macro_source_fullname): new declaration.
437
da235a7c
JK
4382013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
439
440 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
441 this_real_name to outer block. Use it also for
442 compare_filenames_for_search.
443 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
444 with dw2_get_real_path for file_matcher, considering also
445 BASENAMES_MAY_DIFFER.
446 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
447
fbd9ab74
JK
4482013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
449
450 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
451 to the file_matcher parameter. Pass 0 to it.
452 (dwarf2_create_include_psymtab): Copy also DIRNAME.
453 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
454 NULL psymtab_to_fullname result.
455 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
456 an expected filename instead.
457 (expand_symtabs_matching_via_partial): Add basenames parameter to the
458 file_matcher parameter. Call also psymtab_to_fullname, after newly
459 considering BASENAMES_MAY_DIFFER.
460 * source.c (rewrite_source_path): Remove static.
461 * source.h (rewrite_source_path): New declaration.
462 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
463 the expand_symtabs_matching field. Comment it.
464 * symtab.c (file_matches): New function comment. Add parameter
465 basenames, implement it.
466 (search_symbols_file_matches): Add basenames parameter. Update the
467 file_matches caller.
468 (search_symbols): Match FILES also against symtab_to_fullname.
469 Optimize it for BASENAMES_MAY_DIFFER.
470
56d397a3
JK
4712013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
472
473 * source.c (print_source_lines_base): Print for TUI also "fullname".
474 * tui/tui-data.c (init_content_element): Change tui_locator_element
475 field to full_name.
476 * tui/tui-data.h (struct tui_locator_element): Likewise.
477 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
478 tui_update_locator_filename calls to tui_update_locator_fullname.
479 Replace symtab->filename refererence by symtab_to_fullname call.
480 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
481 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
482 field to full_name. Replace symtab->filename refererence by
483 symtab_to_fullname call.
484 (tui_show_symtab_source): Rename parameter to fullname. Change
485 tui_locator_element field to full_name.
486 * tui/tui-stack.c: Include source.h.
487 (tui_set_locator_filename): Rename the declaration to ...
488 (tui_set_locator_fullname): ... here. Rename its parameter to
489 fullname, updates its comment.
490 (tui_set_locator_info): Rename its parameter to fullname.
491 (tui_set_locator_filename): Rename the definition to ...
492 (tui_set_locator_fullname): ... here. Rename its parameter to
493 fullname, updates its comment. Change tui_locator_element field to
494 full_name.
495 (tui_set_locator_info): Rename its parameter to fullname.
496 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
497 (tui_update_locator_filename): Rename to ...
498 (tui_update_locator_fullname): ... here. Rename callee to
499 tui_set_locator_fullname.
500 (tui_show_frame_info): Replace symtab->filename refererence by
501 symtab_to_fullname call.
502 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
503 (tui_update_locator_fullname): ... here.
504 * tui/tui-winsource.c (tui_display_main): Rename the callee to
505 tui_update_locator_fullname. Replace symtab->filename refererence by
506 symtab_to_fullname call.
507 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
508 Rename the callee to tui_update_locator_fullname.
509 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
510
05cba821
JK
5112013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
512
513 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
514 by symtab_to_filename_for_display calls.
515 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
516 (clear_command): New variable sal_fullname, initialize it. Replace
517 compare_filenames_for_search by filename_cmp with sal_fullname.
518 (say_where, update_static_tracepoint): Replace symtab->filename
519 refererences by symtab_to_filename_for_display calls.
520 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
521 Likewise.
522 * dwarf2read.c: Include source.h.
523 (fixup_go_packaging): Replace symtab->filename refererences by
524 symtab_to_filename_for_display calls.
525 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
526 Replace symtab->filename refererences by symtab_to_filename_for_display
527 calls.
528 (create_sals_line_offset, convert_linespec_to_sals): New variable
529 fullname, initialize it, replace symtab->filename reference by the
530 variable.
531 * linux-fork.c: Include source.h.
532 (info_checkpoints_command): Replace symtab->filename refererences by
533 symtab_to_filename_for_display calls.
534 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
535 by symtab_to_filename_for_display calls.
536 * mdebugread.c: Include source.h.
537 (psymtab_to_symtab_1): Replace symtab->filename refererences by
538 symtab_to_filename_for_display calls.
539 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
540 (mi_cmd_file_list_exec_source_files): Likewise.
541 * printcmd.c: Include source.h.
542 (build_address_symbolic): Replace symtab->filename refererences by
543 symtab_to_filename_for_display calls.
544 * psymtab.c (partial_map_symtabs_matching_filename)
545 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
546 with psymtab_to_fullname.
547 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
548 by symtab_to_filename_for_display calls.
549 (stpy_get_filename): New variable filename, initialize it, use instead
550 of symtab->filename refererences.
551 (salpy_str): Make variable filename const char *. Replace
552 symtab->filename refererences by symtab_to_filename_for_display calls.
553 * skip.c: Include source.h and filenames.h.
554 (skip_file_command): Remove const from the symtab variable. Replace
555 symtab->filename refererences by symtab_to_fullname call.
556 (function_name_is_marked_for_skip): New variables searched_for_fullname
557 and fullname. Use them to search also with symtab's fullname.
558 * source.c (find_source_lines): Replace symtab->filename refererences
559 by symtab_to_filename_for_display calls.
560 (print_source_lines_base): New variable filename, use it instead of
561 symtab->filename. Replace symtab->filename refererences by
562 symtab_to_filename_for_display calls.
563 (line_info, forward_search_command): Replace symtab->filename
564 refererences by symtab_to_filename_for_display calls.
565 (reverse_search_command): Replace symtab->filename refererences by
566 symtab_to_filename_for_display calls. New variable filename for it.
567 * stack.c (frame_info): Likewise.
568 * symmisc.c: Include source.h.
569 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
570 (maintenance_info_symtabs): Replace symtab->filename refererences by
571 symtab_to_filename_for_display calls.
572 * symtab.c (iterate_over_some_symtabs): Call
573 compare_filenames_for_search also with symtab_to_fullname.
574 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
575 symtab->filename refererences by symtab_to_filename_for_display calls.
576 (find_line_symtab): Replace symtab->filename refererences by
577 symtab_to_filename_for_display calls.
578 (file_matches): Replace filename_cmp by compare_filenames_for_search.
579 (print_symbol_info): Make the last parameter const char *. New
580 variable s_filename. Use it in the function.
581 (symtab_symbol_info): Make the last_filename variable const char *.
582 Replace symtab->filename refererences by symtab_to_filename_for_display
583 calls.
584 (rbreak_command): New variable fullname. Use it. Replace
585 symtab->filename refererence by symtab_to_filename_for_display call.
586 * tracepoint.c (set_traceframe_context, trace_find_line_command)
587 (print_one_static_tracepoint_marker): Replace symtab->filename
588 refererences by symtab_to_filename_for_display calls.
589 * tui/tui-source.c (tui_set_source_content): New variables filename and
590 s_filename. Replace symtab->filename refererences by this variable.
591 Replace other symtab->filename refererences by
592 symtab_to_filename_for_display calls.
593
1b56eb55
JK
5942013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
595 Jan Kratochvil <jan.kratochvil@redhat.com>
596
597 Add a new variable that controls a way in which filenames are
598 displayed.
599 * NEWS (set filename-display): New entry.
600 * source.c (filename_display_basename, filename_display_relative)
601 (filename_display_absolute, filename_display_kind_names)
602 (filename_display_string, show_filename_display_string)
603 (symtab_to_filename_for_display): New.
604 (_initialize_source): Added initialization of 'filename-display'
605 variable.
606 * source.h (symtab_to_filename_for_display): Added declaration.
607 * stack.c (print_frame): Added new variable and calling of a new
608 function and condition with this variable. Changed third argument of
609 calling of a function.
610
aa079c93
JK
6112013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
612
613 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
614 Rename field reference filename to fullname.
615 * tui/tui-data.h (struct tui_source_info): Rename field filename to
616 fullname. New comment for it.
617 * tui/tui-source.c (tui_set_source_content): Rename field reference
618 filename to fullname. Initialize field by symtab_to_fullname now.
619 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
620 reference filename to fullname. Use symtab_to_fullname during
621 comparison.
622
652a8996
JK
6232013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
624
625 Code cleanup.
626 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
627 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
628 filename to fullname. Rename variable this_name to this_fullname.
629 Lowercase FILENAME_CMP call.
630 (dw2_find_symbol_file): New comment for the returned string.
631 (dwarf2_gdb_index_functions): Rename the function to
632 dw2_expand_symtabs_with_fullname.
633 * psymtab.c (read_psymtabs_with_filename): Rename to ...
634 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
635 fullname.
636 (psym_functions): Rename the function to read_psymtabs_with_fullname.
637 * symfile.h (struct quick_symbol_functions): Rename field
638 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
639 parameter filename to fullname. Document returned string meaning for
640 find_symbol_file.
641 * symtab.c (find_line_symtab): Rename the called function to
642 expand_symtabs_with_fullname.
643
af529f8f
JK
6442013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
645
646 Code cleanup.
647 * breakpoint.c (clear_command): Remove variable is_abs, unify the
648 call of filename_cmp with compare_filenames_for_search.
649 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
650 is_abs, unify the call of FILENAME_CMP with
651 compare_filenames_for_search. New gdb_asserts for real_path and name.
652 Unify the call of compare_filenames_for_search with FILENAME_CMP.
653 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
654 * symfile.h (struct quick_symbol_functions): Extend the comment for
655 map_symtabs_matching_filename.
656 * symtab.c (compare_filenames_for_search): Remove the function comment
657 relative path requirement. Handle absolute filenames, with a comment.
658 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
659 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
660 real_path and name. Unify the call of compare_filenames_for_search
661 with FILENAME_CMP.
662 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
663
2f202fde
JK
6642013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
665
666 Code cleanup.
667 * breakpoint.c (print_breakpoint_location): Replace bp_location field
668 source_file references by symtab field references. Remove variables
669 sal and fullname.
670 (momentary_breakpoint_from_master, add_location_to_breakpoint):
671 (clear_command, say_where): Replace bp_location field source_file
672 references by symtab field references.
673 (bp_location_dtor): Remove the source_file reference.
674 (update_static_tracepoint): Replace bp_location field source_file
675 references by symtab field references.
676 (breakpoint_free_objfile): New function.
677 * breakpoint.h (struct bp_location): Extend the comment for line_number.
678 Replace the field source_file by field symtab, extend its comment.
679 (breakpoint_free_objfile): New declaration.
680 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
681 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
682 field source_file references by symtab field references.
683
f5b95b50
JK
6842013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
685
686 Replace xfullpath calls by gdb_realpath calls.
687 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
688 function comment.
689 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
690 Remove it from the iterate_over_some_symtabs call.
691 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
692 Remove it from the dw2_map_expand_apply calls, remove a block handling
693 it.
694 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
695 Remove it from the iterate_over_some_symtabs call.
696 (partial_map_symtabs_matching_filename): Remove parameter full_path.
697 Remove it from the partial_map_expand_apply calls, remove a block
698 handling it. Drop gdb_realpath call and cleanups from the real_path
699 handling.
700 * source.c (openp): Drop the comment part about xfullpath. Replace
701 xfullpath calls by gdb_realpath calls.
702 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
703 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
704 from method map_symtabs_matching_filename and its comment.
705 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
706 gdb_realpath call.
707 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
708 remove it also from the function comment, remove a block handling it.
709 Drop gdb_realpath call and cleanups from the real_path handling.
710 (iterate_over_symtabs): Drop variable full_path and its use.
711 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
712 * utils.c (xfullpath): Remove.
713 * utils.h (xfullpath): Remove.
714
d78489bf
AT
7152013-02-01 Andreas Tobler <andreast@fgznet.ch>
716
717 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
718 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
719 (ALLDEPFILES): Add ppc64-tdep.c.
720 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
721 ppc64-tdep.o to gdb_target_obs.
722 * ppc64-tdep.h: New file.
723 * ppc64-tdep.c: New file.
724 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
725 ppc-linux-tdep.c to here.
726 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
727 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
728 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
729 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
730 from ppc-linux-tdep.c to here.
731 (ppc64_convert_from_func_ptr_addr): Rename from
732 ppc64_linux_convert_from_func_ptr_addr to
733 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
734 here.
735 * rs6000-tdep.c:
736 (read_insn): Move from ppc-linux-tdep.c to here.
737 (insns_match_pattern, insn_d_field, insn_ds_field): Move
738 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
739 * ppc-linux-tdep.c: Include ppc64-tdep.h.
740 Removed above functions.
741 (ppc_linux_init_abi): Adjust.
742
8db60374
AR
7432013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
744
745 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
746
f2e5f4ce
AR
7472013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
748
749 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
750
c1f7d745
PA
7512013-02-01 Pedro Alves <palves@redhat.com>
752
753 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
754 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
755
8a92335b
JK
7562013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
757
758 * elfread.c (elf_symfile_read): Limit separate debug info additions to
759 files with no separate debug info.
760 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
761 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
762 only for files with no separate debug info.
763
8eacb197
TT
7642013-01-31 Tom Tromey <tromey@redhat.com>
765
766 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
767 change type.
768 (struct jit_program_space_data): Rename from jit_inferior_data.
769 Update comments.
770 (get_jit_program_space_data): Rename from get_jit_inferior_data.
771 Change return type. Attach data to program space.
772 (jit_program_space_data_cleanup): Rename from
773 jit_inferior_data_cleanup; change argument type.
774 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
775 change type.
776 (jit_register_code): Update.
777 (jit_update_inferior_cache): Remove.
778 (jit_breakpoint_deleted): Get jit data from the location's program
779 space.
780 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
781 'ps_data', change type.
782 (jit_inferior_init, jit_breakpoint_re_set_internal)
783 (jit_event_handler): Update.
784 (free_objfile_data): Get data from objfile's program space.
785 (_initialize_jit): Update.
786
f25c0135
TT
7872013-01-31 Tom Tromey <tromey@redhat.com>
788
789 PR gdb/13987:
790 * jit.c (struct jit_inferior_data) <cached_code_address,
791 jit_breakpoint>: New fields.
792 (jit_breakpoint_re_set_internal): Fix logging. Only create
793 breakpoint if cached address has changed.
794 (jit_update_inferior_cache, jit_breakpoint_deleted): New
795 functions.
796 (_initialize_jit): Register breakpoint deleted observer.
797
974a734b
AR
7982013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
799
800 * infrun.c (handle_syscall_event): Remove unused gdbarch.
801 (save_infcall_suspend_state): Ifdef out unused inf.
802 (restore_infcall_suspend_state): Ifdef out unused inf.
803 * jit.c (jit_register_code): Remove unused i, b, inf_data.
804 (jit_frame_sniffer): Remove unused inf_data.
805
df54f8eb
AR
8062013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
807
808 * c-exp.y (classify_inner_name): Remove unused type.
809 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
810 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
811 need_escape.
812 (c_get_string): Remove unused kind.
813 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
814
5799c0b9
AR
8152013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
816
817 * charset.c (intermediate_encoding): Remove unused i.
818 * completer.c (signal_completer): Remove unused i.
819 * continuations.c (discard_my_continuations_1): Remove unused
820 continuation_ptr.
821 * corelow.c (core_close): Remove unuseD name.
822 (get_core_siginfo): Remove unused pid.
823 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
824 i, cps.
825 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
826 (loclist_describe_location): Remove unused first.
827 * event-top.c (command_line_handler): Remove unused got_eof.
828 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
829 (resize_section_table): Remove unused old_value.
830 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
831 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
832 * i386-tdep.c (i386_process_record): Remove unused rex.
833 * infcmd.c (get_return_value): Remove unused uiout.
834 * jv-lang.c (type_from_class): Remove unused is_array.
835 * jv-valprint.c (java_val_print): Remove unused i.
836 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
837 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
838 * m2-typeprint.c (m2_print_type): Remove unused code.
839 * macroexp.c (get_character_constant): Remove unused body_start.
840 (macro_stringify): Remove unused result.
841 * objc-lang.c (find_methods): Remove unused gdbarch.
842 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
843 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
844 * stack.c (print_frame_args): Remove unused summary.
845 * thread.c (thread_apply_command): Remove unused p.
846 * valarith.c (value_x_unop): Remove unused mangle_ptr.
847 * valops.c (search_struct_method): Remove unused skip.
848 * valprint.c (generic_val_print): Remove unused byte_order.
849 * varobj.c (varobj_update): Remove unused changed.
850 * cli/cli-cmds.c (complete_command): Remove unused next_item.
851 (alias_command): Remove unused c.
852 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
853 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
854 format.
855 (mi_cmd_data_write_memory): Remove unused word_format.
856 (mi_cmd_data_write_memory_bytes): Remove unused r.
857 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
858 p_start, p_end.
859 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
860 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
861 line_width.
862
c656bca5
AR
8632013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
864
865 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
866 * symtab.c (iterate_over_symtabs): Remove unused s.
867 (find_pc_sect_symtab): Remove unused pspAce.
868 (find_pc_sect_line): Remove unused alt_symtab.
869 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
870 (completion_list_add_name): Remove unused newsize.
871
7078baeb
TT
8722013-01-31 Tom Tromey <tromey@redhat.com>
873
874 PR c++/14998:
875 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
876 TYPE_CODE_FUNC.
877
c2e8b827
AR
8782013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
879
880 * target.c (target_read_string): Remove unused origlen.
881
0e43993a
AR
8822013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
883
884 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
885 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
886 * ax-general.c (ax_print): Remove unused is_float.
887 * blockframe.c (block_innermost_frame): Remove unused start, end.
888 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
889
765a97ab
AR
8902013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
891
892 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
893 (svr4_read_so_list): Remove unused lmo.
894 * solib-target.c (solib_target_relocate_section_addresses): Remove
895 unused flags.
896
a99dad3d
TT
8972013-01-30 Tom Tromey <tromey@redhat.com>
898
899 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
900
3bff1ecd
TT
9012013-01-30 Tom Tromey <tromey@redhat.com>
902
903 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
904 * utils.c (gnu_debuglink_crc32): Remove.
905 * utils.h (gnu_debuglink_crc32): Don't declare.
906
7d455152
TT
9072013-01-30 Tom Tromey <tromey@redhat.com>
908
909 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
910 (read_structure_type, read_enumeration_type): Remove cast.
911
abee88f2
TT
9122013-01-30 Tom Tromey <tromey@redhat.com>
913
914 * dwarf2read.c (read_namespace_type): Remove cast.
915 (read_typedef): Likewise.
916
8d9878a4
TT
9172013-01-29 Tom Tromey <tromey@redhat.com>
918
919 * dwarf2read.c (free_dwo_file): Remove assert.
920
a543d2a9
TT
9212013-01-29 Tom Tromey <tromey@redhat.com>
922
923 * value.c (deprecated_set_value_modifiable): Remove.
924 * value.h (deprecated_set_value_modifiable): Remove.
925
bed911e5
DE
9262013-01-28 Doug Evans <dje@google.com>
927
928 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
929 to addresses from dwo files.
930
28c64fc2
SCR
9312013-01-25 Siva Chandra Reddy <sivachandra@google.com>
932
933 * valops.c (find_overload_match): Remove unused argument 'lax'.
934 * value.h: Remove unused argument 'lax' from the declaration of
935 find_overload_match.
936 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
937 to find_overload_match.
938 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
939 argument to find_overload_match.
940
4d4ec4e5
TT
9412013-01-25 Tom Tromey <tromey@redhat.com>
942
943 * dwarf2read.c (processing_has_namespace_info): Remove.
944 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
945 (process_die, read_func_scope, dwarf2_start_symtab)
946 (new_symbol_full): Update.
947
195a3f6c
TT
9482013-01-25 Tom Tromey <tromey@redhat.com>
949
950 * cp-namespace.c (cp_set_block_scope): Remove.
951 * cp-support.h (cp_set_block_scope): Remove.
952 * dbxread.c: Include block.h.
953 (cp_set_block_scope): New function.
954 (process_one_symbol): Update.
955 * dwarf2read.c (read_func_scope): Use block_set_scope.
956
8ba0730a
PA
9572013-01-25 Pedro Alves <palves@redhat.com>
958
959 * remote.c (add_current_inferior_and_thread): Tweak comment.
960
12aaed36
TT
9612013-01-25 Tom Tromey <tromey@redhat.com>
962
963 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
964 (cp_add_using_directive): Add 'copy_names' argument.
965 * cp-support.h (cp_add_using_directive): Update.
966 (struct using_direct) <import_src, import_dest, alias,
967 declaration>: Now const.
968 * dwarf2read.c (read_import_statement): Use obconcat.
969 Don't copy names passed to cp_add_using_directive.
970
7fc75ca7
TT
9712013-01-25 Tom Tromey <tromey@redhat.com>
972
973 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
974
3405876a
PA
9752013-01-25 Pedro Alves <palves@redhat.com>
976
977 * remote.c (stop_reply_extract_thread): New.
978 (add_current_inferior_and_thread): New parameter 'wait_status'.
979 Handle it.
980 (remote_start_remote): Pass wait status to
981 add_current_inferior_and_thread.
982 (extended_remote_run): Update comment.
983 (extended_remote_create_inferior_1): Pass wait status to
984 add_current_inferior_and_thread.
985
8954db33
AB
9862013-01-25 Andrew Burgess <aburgess@broadcom.com>
987 Ulrich Weigand <uweigand@de.ibm.com>
988
989 * valarith.c (value_vector_widen): New function for replicating a
990 scalar into a vector.
991 (value_binop): Use value_vector_widen to widen scalar to vector
992 rather than casting, this better matches gcc C behaviour.
993 * valops.c (value_casst): Update logic for casting between vector
994 types, and for casting from scalar to vector, try to match gcc C
995 behaviour.
996 * value.h (value_vector_widen): Declare.
997 * opencl-lang.c (opencl_value_cast): New opencl specific casting
998 function, handle special case for casting scalar to vector.
999 (opencl_relop): Use opencl_value_cast.
1000 (evaluate_subexp_opencl): Use opencl_value_cast instead of
1001 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
1002 in order to use opencl_value_cast.
1003
843b20dc
YQ
10042013-01-25 Yao Qi <yao@codesourcery.com>
1005
1006 * event-loop.c: Include "queue.h".
1007 (gdb_event_p): New typedef.
1008 (DECLARE_QUEUE_P): Use.
1009 (DEFINE_QUEUE_P): Use.
1010 (async_queue_event): Remove.
1011 (gdb_event_xfree): New.
1012 (initialize_event_loop): New.
1013 (process_event): Use QUEUE macros.
1014 (event_queue): Remove.
1015 (gdb_wait_for_event): Caller update.
1016 (check_async_event_handlers): Likewise.
1017 (poll_timers): Likewise.
1018 * event-loop.h (initialize_event_loop): Declare.
1019 * event-loop.c (gdb_event_xfree): New.
1020 * top.c (gdb_init): Call initialize_event_loop.
1021
20ad8856
YQ
10222013-01-25 Yao Qi <yao@codesourcery.com>
1023
1024 * event-loop.c (async_queue_event): Remove one parameter
1025 'position'. Remove code handling 'position' == TAIL.
1026 (gdb_wait_for_event): Caller update.
1027 (check_async_event_handlers): Caller update.
1028 (poll_timers): Caller update.
1029 * event-loop.h (enum queue_position): Remove.
1030
3bbbe775
MK
10312013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
1032
1033 * MAINTAINERS: Update my email.
1034
a87d9ac4
YQ
10352013-01-25 Yao Qi <yao@codesourcery.com>
1036
1037 * main.c (print_gdb_help): Remove "--epoch" from the help
1038 message.
1039
2077afdd
TD
10402013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
1041
1042 * symtab.c (skip_prologue_using_sal): Consider a file
1043 change the same as an increased line number
1044
63da4037
TD
10452013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
1046
1047 * MAINTAINERS (Write After Approval): Add myself to the list.
1048
45e6c716
TT
10492013-01-24 Tom Tromey <tromey@redhat.com>
1050
1051 * ada-lang.h (ada_decode_symbol): Make return type const.
1052 * ada-lang.c (ada_decode_symbol): Likewise.
1053
b1ae631a
DE
10542013-01-23 Doug Evans <dje@google.com>
1055
1056 * linespec.c (find_linespec_symbols): Make static.
1057
55a78401
SDJ
10582013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1059
1060 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
1061 type on float conversion for complex type.
1062
bea883fd
SCR
10632013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1064
1065 Add a new class gdb.Architecture which exposes GDB's
1066 internal representation of architecture via GDB Python API.
1067 * Makefile.in: Add entries corresponding to the new file
1068 python/py-arch.c.
1069 * NEWS (Python Scripting): Add entries for the new class
1070 gdb.Architecture and the new method gdb.Frame.architecture.
1071 * python/py-arch.c: Implement gdb.Architecture class.
1072 * python/py-frame.c (frapy_arch): Implement the method
1073 gdb.Frame.architecture().
1074 (frame_object_methods): Add 'architecture' to the method table.
1075 * python/python-internal.h: Add declarations of new utility
1076 functions.
1077 * python/python.c (_initialize_python): Initialize
1078 gdb.Architecture class.
1079
796a7ff8
DE
10802013-01-23 Doug Evans <dje@google.com>
1081
1082 Work around binutils/15021.
1083 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
1084 type_unit_group out of union s. All uses updated.
1085 (read_index_from_section): Watch for index version 8.
1086 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
1087 an imported symtab.
1088 (write_psymtabs_to_index): Increment version number to 8.
1089
0928e93d
PA
10902013-01-22 Pedro Alves <palves@redhat.com>
1091
1092 * annotate.c (breakpoint_changed): Skip if breakpoint is not
1093 user-visible.
1094
9c97429f
PA
10952013-01-22 Pedro Alves <palves@redhat.com>
1096
1097 * annotate.c (annotate_breakpoints_changed): Rename to ...
1098 (annotate_breakpoints_invalid): ... this. Make static.
1099 (breakpoint_changed): Adjust.
1100 (_initialize_annotate): Always install the observers. Install a
1101 "breakpoint_created" observer.
1102 * annotate.h (annotate_breakpoints_changed): Delete declaration.
1103 * breakpoint.c (set_breakpoint_condition)
1104 (breakpoint_set_commands, do_map_commands_command)
1105 (init_raw_breakpoint, clear_command, set_ignore_count)
1106 (enable_breakpoint_disp): No longer call
1107 annotate_breakpoints_changed.
1108
bd00c694
PA
11092013-01-22 Pedro Alves <palves@redhat.com>
1110
1111 * annotate.c: Include "inferior.h".
1112 (frames_invalid_emitted)
1113 (breakpoints_invalid_emitted): New globals.
1114 (async_background_execution_p): New function.
1115 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
1116 emitting the annotation if it has already been emitted.
1117 (annotate_display_prompt): New function.
1118 * annotate.h (annotate_display_prompt): New declaration.
1119 * event-top.c: Include annotate.h.
1120 (display_gdb_prompt): Call annotate_display_prompt.
1121
187d10dd
PA
11222013-01-22 Pedro Alves <palves@redhat.com>
1123
1124 * annotate.c (ignore_count_changed): Delete.
1125 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
1126 (annotate_ignore_count_change): Delete.
1127 (annotate_stopped): Don't emit a delayed breakpoints-changed
1128 annotation.
1129 * annotate.h (annotate_ignore_count_change): Delete.
1130 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
1131 annotate_ignore_count_change.
1132
d84cf7eb
TT
11332013-01-22 Tom Tromey <tromey@redhat.com>
1134
1135 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
1136 require_rvalue for a register location.
1137
8f1d5693
MK
11382013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1139
1140 * breakpoint.c (print_one_breakpoint_location): Add MI
1141 field 'thread-groups' when printing a breakpoint.
1142 (output_thread_groups): New function.
1143
aa6199c6
SCR
11442013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1145
1146 * python/lib/gdb/commands/explore.py
1147 (CompoundExplorer.explore_expr): Correct the name of a method
1148 being invoked.
1149 (ExploreTypeCommand.invoke): Add a missing 'return'.
1150
d2afef13
TT
11512013-01-21 Tom Tromey <tromey@redhat.com>
1152
1153 * gdb_obstack.h (obconcat): Move declaration here, from...
1154 * symfile.h (obconcat): ... here.
1155 * gdb_obstack.c: New file.
1156 (obconcat): Move from...
1157 * symfile.c (obconcat): ... here.
1158 * Makefile.in (SFILES): Add gdb_obstack.c.
1159 (COMMON_OBS): Add gdb_obstack.o.
1160
10f0c4bb
TT
11612013-01-21 Tom Tromey <tromey@redhat.com>
1162
1163 * symfile.h (obsavestring): Don't declare.
1164 * symfile.c (obsavestring): Remove.
1165 * ada-exp.y: Use obstack_copy0, not obsavestring.
1166 * ada-lang.c: Use obstack_copy0, not obsavestring.
1167 * coffread.c: Use obstack_copy0, not obsavestring.
1168 * cp-namespace.c: Use obstack_copy0, not obsavestring.
1169 * dbxread.c: Use obstack_copy0, not obsavestring.
1170 * dwarf2read.c: Use obstack_copy0, not obsavestring.
1171 * jit.c: Use obstack_copy0, not obsavestring.
1172 * mdebugread.c: Use obstack_copy0, not obsavestring.
1173 * psymtab.c: Use obstack_copy0, not obsavestring.
1174 * stabsread.c: Use obstack_copy0, not obsavestring.
1175 * xcoffread.c: Use obstack_copy0, not obsavestring.
1176
86f62fd7
TT
11772013-01-21 Tom Tromey <tromey@redhat.com>
1178
1179 * dwarf2read.c (fixup_go_packaging): Save package name
1180 on objfile obstack.
1181 * gdbtypes.c (init_type): Don't copy name.
1182
15d034d0
TT
11832013-01-21 Tom Tromey <tromey@redhat.com>
1184
1185 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
1186 const.
1187 (struct attribute) <u.str>: Now const.
1188 (struct fnfieldlist) <name>: Now const.
1189 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
1190 (partial_die_parent_scope): Make return type const.
1191 (partial_die_full_name, add_partial_symbol): Update.
1192 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
1193 'name' const.
1194 (find_file_and_directory): Make 'name' and 'comp_dir' const.
1195 (read_file_scope, read_func_scope, dwarf2_add_field)
1196 (dwarf2_add_member_fn, read_structure_type)
1197 (process_enumeration_scope, read_array_type, read_module_type)
1198 (read_base_type, read_subrange_type): Update.
1199 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
1200 (new_symbol_full, guess_full_die_structure_name): Update.
1201 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
1202 (dwarf2_name): Return const type.
1203 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
1204 const.
1205
748e18ae
TT
12062013-01-21 Tom Tromey <tromey@redhat.com>
1207
1208 * gdbtypes.c (init_type): Make 'name' const.
1209 * gdbtypes.h (init_type): Update.
1210
46212e0b
TT
12112013-01-21 Tom Tromey <tromey@redhat.com>
1212
1213 * buildsym.c (patch_subfile_names): Use set_last_source_file.
1214 (start_symtab): Make 'name' and 'dirname' const. Use
1215 set_last_source_file.
1216 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
1217 (last_source_file): Define. Now static.
1218 (set_last_source_file, get_last_source_file): New functions.
1219 * buildsym.h (last_source_file): Don't declare.
1220 (start_symtab): Update.
1221 (set_last_source_file, get_last_source_file): Declare.
1222 * coffread.c (complete_symtab): Use set_last_source_file.
1223 (coff_end_symtab): Likewise.
1224 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
1225 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
1226 set_last_source_file.
1227 (process_one_symbol): Use get_last_source_file.
1228 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
1229 (psymtab_to_symtab_1): Use get_last_source_file.
1230 * xcoffread.c (process_linenos): Use get_last_source_file.
1231 (complete_symtab): Use set_last_source_file.
1232 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
1233 (scan_xcoff_symtab): Use set_last_source_file.
1234
9d2ceabe
TT
12352013-01-21 Tom Tromey <tromey@redhat.com>
1236
1237 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
1238 (symbol_set_names): Remove casts. Handle field const-ness.
1239
cfc594ee
TT
12402013-01-21 Tom Tromey <tromey@redhat.com>
1241
1242 * dwarf2read.c (new_symbol_full): Remove cast.
1243 * symtab.c (symbol_set_demangled_name): Make 'name' const.
1244 * symtab.h (symbol_set_demangled_name): Update.
1245
5484b13a
TT
12462013-01-21 Tom Tromey <tromey@redhat.com>
1247
1248 * main.c (captured_main): Call bfd_init.
1249
1605ef26
TT
12502013-01-21 Tom Tromey <tromey@redhat.com>
1251
1252 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
1253 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
1254 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
1255 * NEWS: Update.
1256
3b74cdc3
JK
12572013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1258
1259 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
1260
5a352474
JK
12612013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1262
1263 Fix gdb.fortran/common-block.exp crash in PIE mode.
1264 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
1265 LOC_COMMON_BLOCK.
1266 * f-valprint.c (info_common_command_for_block): Expect
1267 LOC_COMMON_BLOCK in gdb_assert.
1268 * symtab.h (struct general_symbol_info): Update comment for the
1269 common_block member.
1270 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
1271 (enum address_class): New member LOC_COMMON_BLOCK.
1272
c60797fd
DB
12732013-01-18 David Blaikie <dblaikie@gmail.com>
1274
1275 * MAINTAINERS (Write After Approval): Add "David Blaikie".
0cae7dfb 1276
46f35228
TT
12772013-01-18 Tom Tromey <tromey@redhat.com>
1278
1279 PR c++/14999:
1280 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
1281 Call require_rvalue.
1282
257e7a09
YQ
12832013-01-18 Yao Qi <yao@codesourcery.com>
1284
1285 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
1286 (dbx_read_symtab): New declaration.
1287 (dbx_psymtab_to_symtab): Delete.
1288 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
1289 Rename parameter PST to SELF. Exchanged two parameters.
1290 (start_psymtab): Caller update.
1291 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
1292 (dwarf2_read_symtab): New declaration.
1293 (dwarf2_psymtab_to_symtab): Delete.
1294 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
1295 Rename parameter PST to SELF. Exchanged two parameters.
1296 (create_partial_symtab): Caller update.
1297 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
1298 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
1299 Rename parameter PST to SELF. Exchanged two parameters.
1300 (parse_partial_symbols, new_psymtab): Caller update.
1301 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
1302 two parameters.
1303 * psymtab.c (psymtab_to_symtab): Caller update.
1304 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
1305 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
1306 Rename parameter PST to SELF. Exchanged two parameters.
1307 (xcoff_start_psymtab): Caller update.
1308
0de5618e
YQ
13092013-01-18 Yao Qi <yao@codesourcery.com>
1310
1311 * infrun.c (proceed): Rename local variable 'oneproc' to
1312 'force_step'.
1313
5c04624b
DE
13142013-01-17 Doug Evans <dje@google.com>
1315
848e3e78
DE
1316 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
1317 (dw2_build_type_unit_groups): Delete. All uses updated.
1318
5c04624b
DE
1319 * symtab.h (struct symbol_search): Add comment.
1320
d84fca2c
JK
13212013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1322
1323 * symtab.c (compare_filenames_for_search): New comment for
1324 HAS_DRIVE_SPEC.
1325
6108433d
TT
13262013-01-17 Tom Tromey <tromey@redhat.com>
1327
1328 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
1329
c89ffd86
JK
13302013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1331
1332 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
1333 initialize it by existing make_cleanup. Call new do_cleanups.
1334
db2b2972
TT
13352013-01-17 Tom Tromey <tromey@redhat.com>
1336
1337 * cp-abi.c (cp_abi_completer): New function.
1338 (_initialize_cp_abi): Set completer for "set cp-abi".
1339
be7d37a2
TT
13402013-01-17 Tom Tromey <tromey@redhat.com>
1341
1342 * mem-break.c: Remove obsolete comment.
1343 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
1344
c9fb1240
SD
13452012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1346
1347 * jit.c (jit_reader_load_command): Interpret the jit reader name
1348 as an absolute path if it begins with a forward slash.
1349
db334a01
SD
13502012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1351
1352 PR gdb/14550
1353
1354 * jit.c (finalize_symtab): Ensure that only the global block has a
1355 NULL superblock.
1356
7d928dac
PA
13572013-01-17 Pedro Alves <palves@redhat.com>
1358
1359 * acinclude.m4: Include ../config/plugins.m4,
1360 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
1361 * Makefile.in (aclocal_m4_deps): Update.
1362 * aclocal.m4: Renegerate.
1363
fb8cf7c5
DE
13642013-01-16 Doug Evans <dje@google.com>
1365
1366 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
1367
ab04a2af
TT
13682013-01-16 Pedro Alves <palves@redhat.com>
1369 Tom Tromey <tromey@redhat.com>
1370
1371 PR cli/7221:
1372 * NEWS: Add "catch signal".
1373 * breakpoint.c (base_breakpoint_ops): No longer static.
1374 (bpstat_explains_signal): New function.
1375 (init_catchpoint): No longer static.
1376 (base_breakpoint_explains_signal): New function.
1377 (base_breakpoint_ops): Initialize new field.
1378 * breakpoint.h (enum bpstat_signal_value): New.
1379 (struct breakpoint_ops) <explains_signal>: New field.
1380 (bpstat_explains_signal): Remove macro, declare as function.
1381 (base_breakpoint_ops, init_catchpoint): Declare.
1382 * break-catch-sig.c: New file.
1383 * inferior.h (signal_catch_update): Declare.
1384 * infrun.c (signal_catch): New global.
1385 (handle_syscall_event): Update for change to
1386 bpstat_explains_signal.
1387 (handle_inferior_event): Likewise. Always handle random signals
1388 via bpstats.
1389 (signal_cache_update): Check signal_catch.
1390 (signal_catch_update): New function.
1391 (_initialize_infrun): Initialize signal_catch.
1392 * Makefile.in (SFILES): Add break-catch-sig.c.
1393 (COMMON_OBS): Add break-catch-sig.o.
1394
8ac3646f
TT
13952013-01-16 Tom Tromey <tromey@redhat.com>
1396
1397 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
1398 (print_one_catch_solib, print_one_catch_syscall)
1399 (print_one_catch_exec, print_one_exception_catchpoint): Emit
1400 "catch-type".
1401
5a18e302
YQ
14022013-01-16 Yao Qi <yao@codesourcery.com>
1403
1404 * printcmd.c (current_display_number): Make it static.
1405
3f01d0d0
YQ
14062013-01-16 Yao Qi <yao@codesourcery.com>
1407
1408 * infcmd.c (step_once): Don't check '!single_inst' as it was
1409 checked before.
1410
1ed59174
JK
14112013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1412
1413 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
1414
44478ab3
TT
14152013-01-14 Tom Tromey <tromey@redhat.com>
1416
1417 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
1418 set command.
1419 * command.h (add_setshow_string_noescape_cmd): Update.
1420 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
1421 (complete_set_gnutarget): New function.
1422 (_initialize_core): Set the "set gnutarget" completer.
1423
06d66ee9
TT
14242013-01-14 Tom Tromey <tromey@redhat.com>
1425
1426 PR symtab/14442:
1427 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
1428 (c_type_print_modifier): Likewise.
1429 * dwarf2read.c (read_tag_restrict_type): New function.
1430 (read_type_die_1): Handle DW_TAG_restrict_type.
1431 * gdbtypes.c (make_restrict_type): New function.
1432 (recursive_dump_type): Handle TYPE_RESTRICT.
1433 * gdbtypes.h (enum type_flag_values): Renumber.
1434 (enum type_instance_flag_value): Add
1435 TYPE_INSTANCE_FLAG_RESTRICT.
1436 (TYPE_RESTRICT): New macro.
1437 (make_restrict_type): Declare.
1438
c9bf0622
TT
14392013-01-14 Tom Tromey <tromey@redhat.com>
1440
1441 PR symtab/14931:
1442 * psymtab.c (struct psymtab_state): New.
1443 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
1444 functions.
1445 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
1446 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
1447
44d594fd
PA
14482013-01-14 Richard Sharman <richard_sharman@mitel.com>
1449 Pedro Alves <palves@redhat.com>
1450
1451 PR remote/14786
1452
1453 * remote.c (remote_threads_info): Make a copy of the reply from
1454 qfThreadInfo and use that instead of rs->buf.
1455
442e4d9c
YQ
14562013-01-14 Yao Qi <yao@codesourcery.com>
1457
1458 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
1459 (dbx_psymtab_to_symtab): Likewise.
1460 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
1461 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
1462 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
1463
5b12a61c
JK
14642013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1465
1466 * parse.c (parse_exp_in_context): New variable inner_chain. Call
1467 make_cleanup_restore_current_language. Call set_language. Move
1468 OLD_CHAIN and INNER_CHAIN cleanups.
1469 * utils.c (do_restore_current_language)
1470 (make_cleanup_restore_current_language): New functions.
1471 * utils.h (make_cleanup_restore_current_language): New declaration.
1472
f0a4b570
JK
14732013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1474
1475 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
1476 non-existing files.
1477
57b3c00c
JK
1478 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
1479 non-existing files if FILENAME is already absolute.
1480
daefa854
JK
14812013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1482
1483 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
1484 fputs_filtered. Append trailing newline.
1485
ca9c6ee2
YQ
14862013-01-11 Yao Qi <yao@codesourcery.com>
1487 Stan Shebs <stan@codesourcery.com>
1488
1489 * psymtab.c (init_psymbol_list): Clarify the comment.
1490
f28045c2
YQ
14912013-01-11 Yao Qi <yao@codesourcery.com>
1492
1493 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
1494 (update_dprintf_command_list): Assert that 'printf_line' is
1495 non-null. Remove condition check.
1496
da5132d3
JK
14972013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1498
1499 Code cleanup.
1500 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
1501 type const char *.
1502 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
1503 const char *.
1504 * tui/tui-source.h (tui_source_is_displayed): Likewise.
1505
843e694d
AG
15062013-01-09 Anthony Green <green@moxielogic.com>
1507
1508 * cp-abi.c (cplus_print_vtable): Don't return value from void
1509 function.
1510 * ada-lang.c (re_set_catch_assert): Ditto.
1511
da51c347
DE
15122013-01-09 Doug Evans <dje@google.com>
1513
1514 * symfile.h (quick_symbol_functions): Delete member
1515 pre_expand_symtabs_matching. All uses removed.
1516 * dwarf2read.c (dw2_lookup_symbol): Implement.
1517 (dw2_do_expand_symtabs_matching): Delete.
1518 (dw2_pre_expand_symtabs_matching): Delete.
1519 (struct dw2_symtab_iterator): New type.
1520 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
1521 (dw2_expand_symtabs_for_function): Rewrite.
1522 (dwarf2_gdb_index_functions): Update.
1523 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
1524 (psym_functions): Update.
1525
b2259038
TT
15262013-01-09 Tom Tromey <tromey@redhat.com>
1527
1528 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
1529 * configure: Rebuild.
1530 * configure.ac: Add somread.o to the build if BFD has SOM
1531 support.
1532 * somread.c: Include som/aout.h, not syms.h.
1533 (som_symtab_read): Use som_external_symbol_dictionary_record.
1534 Unpack records manually.
1535 (_initialize_somread): Declare.
1536
bdad4180
MF
15372012-01-08 Mike Frysinger <vapier@gentoo.org>
1538
1539 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
1540 Cast return_address to 64bits.
1541
03cdf680
HZ
15422013-01-08 Hui Zhu <hui_zhu@mentor.com>
1543
1544 * printcmd.c: Remove define of function output_command.
1545 * tracepoint.c: Remove extern of function output_command.
1546 * valprint.h: (output_command): New extern.
1547
8a808554
TT
15482013-01-07 Tom Tromey <tromey@redhat.com>
1549
1550 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
1551 Remove.
1552 (objc_language_defn): Use c_printchar, c_printstr,
1553 c_emit_char.
1554
e93a8774
TT
15552013-01-07 Tom Tromey <tromey@redhat.com>
1556
1557 PR cli/7719:
1558 * NEWS: Update.
1559 * ada-valprint.c (printstr, print_field_values): Remove
1560 "inspect_it" code.
1561 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
1562 code.
1563 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
1564 code.
1565 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
1566 * main.c (captured_main): Remove "epoch" argument.
1567 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
1568 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
1569 * p-valprint.c (pascal_object_print_value_fields): Remove
1570 "inspect_it" code.
1571 * printcmd.c (print_command_1): Remove 'inspect' argument.
1572 (print_command, call_command): Update.
1573 (inspect_command): Remove.
1574 (_initialize_printcmd): Make "inspect" an alias for "print".
1575 * top.c (epoch_interface): Remove.
1576 * top.h (epoch_interface): Remove.
1577 * valprint.c (user_print_options): Update.
1578 (print_converted_chars_to_obstack): Remove "inspect_it" code.
1579 * valprint.h (struct value_print_options) <inspect_it>: Remove
1580 field.
1581
15822013-01-04 Tom Tromey <tromey@redhat.com>
1583
1584 * valprint.h (read_string): Add 'extern'.
1585
b967eb24
JB
15862013-01-07 Joel Brobecker <brobecker@adacore.com>
1587
1588 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
1589 used to decide whether to define darwin_read_dyld_info or not.
1590
78a8b30e
PM
15912013-01-03 Pierre Muller <muller@sourceware.org>
1592
1593 * main.c (relocate_gdb_directory): Avoid calling stat function
1594 if DIR is empty.
1595
50da2f25
YQ
15962013-01-03 Yao Qi <yao@codesourcery.com>
1597
1598 * psymtab.c (fixup_psymbol_section): Update declaration.
1599 (fixup_psymbol_section): Remove code returning value.
1600
e7e8980f
YQ
16012013-01-03 Yao Qi <yao@codesourcery.com>
1602
1603 * symtab.h: Remove some out of date comments.
1604 (enum exception_event_kind): Move it ...
1605 * breakpoint.c: ... here.
1606
569283d4
MF
16072013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
1608
9f9d9a96 1609 PR gdb/14405
569283d4
MF
1610 * darwin-nat.c (darwin_read_dyld_info): Only build if
1611 TASK_DYLD_INFO_COUNT is defined.
1612 (darwin_xfer_partial): Call darwin_read_dyld_info only if
1613 TASK_DYLD_INFO_COUNT is defined.
1614
2e36fbea
TT
16152013-01-02 Tom Tromey <tromey@redhat.com>
1616
1617 * symfile.h (struct ecoff_debug_hack): Remove.
1618 * objfiles.c: Don't include mdebugread.h.
1619
4f05add4
TT
16202013-01-02 Tom Tromey <tromey@redhat.com>
1621
1622 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
1623 * configure.ac: Check for Mach-O support in BFD. Update
1624 CONFIG_OBS.
1625 * configure: Rebuild.
1626
def63ff0
TT
16272013-01-02 Tom Tromey <tromey@redhat.com>
1628
1629 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
1630 * configure.ac: Use GDB_AC_CHECK_BFD.
1631 * configure: Rebuild.
1632
60c5dd93
MK
16332013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
1634
1635 * MAINTAINERS: Update my email.
1636
6e58437e
JB
16372013-01-01 Joel Brobecker <brobecker@adacore.com>
1638
1639 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
1640
627fe805
JB
16412013-01-01 Joel Brobecker <brobecker@adacore.com>
1642
1643 * rs6000-nat.c (bss_data_overlap): New function.
1644 (vmap_symtab): Use it to adjust the .bss section's offset.
1645
28e7fd62
JB
16462013-01-01 Joel Brobecker <brobecker@adacore.com>
1647
1648 Update year range in copyright notice of all files.
1649
e93a8774 16502013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
b9786c74
JB
1651
1652 * top.c (print_gdb_version): Update copyright year.
1653
72b20e9c 1654For older changes see ChangeLog-2012.
c906108c
SS
1655\f
1656Local Variables:
1657mode: change-log
1658left-margin: 8
1659fill-column: 74
1660version-control: never
57da7796 1661coding: utf-8
c906108c 1662End:
This page took 1.478782 seconds and 4 git commands to generate.