* v850-tdep.c: (v850e2_register_name): (v850e2_reg_names):
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2013-03-02 Kevin Buettner <kevinb@redhat.com>
2
3 * v850-tdep.c: (v850e2_register_name): (v850e2_reg_names):
4 Revise system register names to match current V850E2M
5 architecture specifications.
6
7 2013-03-01 Jiong Wang <jiwang@tilera.com>
8 Pedro Alves <palves@redhat.com>
9
10 * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
11 to END_ADDR.
12 (tilegx_skip_prologue): Limit prologue analysis to section end.
13
14 2013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15
16 * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
17 use it.
18
19 2013-03-01 Pedro Alves <palves@redhat.com>
20
21 Use gdb_byte for bytes from the program being debugged.
22
23 * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
24 Change type of local 'buf' to gdb_byte.
25 * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
26 * bfin-tdep.c (bfin_push_dummy_call): Likewise.
27 * cris-tdep.c (cris_sigcontext_addr)
28 (cris_sigtramp_frame_unwind_cache): Likewise.
29 * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
30 (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
31 Likewise.
32 * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
33 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
34 (hppa32_hpux_search_dummy_call_sequence)
35 (hppa_hpux_supply_save_state): Likewise.
36 * hppa-linux-tdep.c (insns_match_pattern)
37 (hppa_linux_find_global_pointer): Likewise.
38 * hppa-tdep.c (hppa_in_function_epilogue_p)
39 (skip_prologue_hard_way, hppa_frame_cache): Likewise.
40 * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
41 * i386fbsd-tdep.c (i386fbsd_supply_uthread)
42 (i386fbsd_collect_uthread): Likewise.
43 * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
44 * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
45 * ia64-tdep.c (examine_prologue, ia64_frame_cache)
46 (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
47 (ia64_sigtramp_frame_prev_register, ia64_access_reg)
48 (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
49 (ia64_libunwind_frame_prev_register)
50 (ia64_libunwind_sigtramp_frame_this_id)
51 (ia64_find_global_pointer_from_dynamic_section)
52 (find_extant_func_descr, find_func_descr, ia64_dummy_id)
53 (ia64_unwind_pc): Likewise.
54 * iq2000-tdep.c (iq2000_store_return_value): Likewise.
55 * m68hc11-tdep.c (m68hc11_push_dummy_call)
56 (m68hc11_extract_return_value): Likewise.
57 * m68klinux-nat.c (fetch_register, store_register): Likewise.
58 * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
59 (mep_get_insn, mep_push_dummy_call): Likewise.
60 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
61 (mips_linux_in_dynsym_stub): Likewise.
62 * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
63 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
64 * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
65 to gdb_byte.
66 * remote-mips.c (mips_set_register): Likewise.
67 * remote-sim.c (gdbsim_fetch_register): Likewise.
68 * score-tdep.c (score7_fetch_inst): Change type of parameter
69 'memblock' and local 'buf' to gdb_byte.
70 (score7_malloc_and_get_memblock): Change return type to gdb_byte.
71 Change type of local 'buf' to gdb_byte. Adjust.
72 (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
73 to gdb_byte**.
74 (score7_analyze_prologue): Change type of 'memblock' and
75 'memblock_ptr' locals to gdb_byte*.
76 * sh64-tdep.c (sh64_extract_return_value)
77 (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
78 * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
79 * solib-pa64.c (pa64_solib_create_inferior_hook)
80 (pa64_open_symbol_file_object): Remove local 'buf'.
81 * solib-som.c (som_solib_create_inferior_hook, link_map_start)
82 (som_open_symbol_file_object): Likewise.
83 * solib-spu.c (spu_current_sos): Likewise.
84 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
85 * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
86 (spu_store_registers): Likewise.
87 * target.c (debug_print_register): Likewise.
88 * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
89 * xstormy16-tdep.c (xstormy16_store_return_value)
90 (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
91 (xstormy16_find_jmp_table_entry): Likewise.
92
93 2013-03-01 Jiong Wang <jiwang@tilera.com>
94
95 * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
96 (tilegx_gdbarch_init): Install it.
97
98 2013-02-28 Tom Tromey <tromey@redhat.com>
99
100 * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
101 PyLong_Check.
102
103 2013-02-28 Doug Evans <dje@google.com>
104
105 * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
106 * python/python.c (gdbpy_find_pc_line): Ditto.
107
108 2013-02-28 Tom Tromey <tromey@redhat.com>
109
110 * contrib/excheck.py: New file.
111 * contrib/exsummary.py: New file.
112 * contrib/gcc-with-excheck: New file.
113
114 2013-02-28 Tom Tromey <tromey@redhat.com>
115
116 * python/python.c (gdbpy_print_stack): Call begin_line and
117 fprintf_filtered inside TRY_CATCH.
118
119 2013-02-28 Tom Tromey <tromey@redhat.com>
120
121 * python/python.c (gdbpy_find_pc_line): Call find_pc_line
122 inside TRY_CATCH.
123
124 2013-02-28 Tom Tromey <tromey@redhat.com>
125
126 * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
127 frame_object_to_frame_info inside TRY_CATCH.
128
129 2013-02-28 Tom Tromey <tromey@redhat.com>
130
131 * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
132 TRY_CATCH.
133
134 2013-02-28 Tom Tromey <tromey@redhat.com>
135
136 * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
137
138 2013-02-27 Corinna Vinschen <vinschen@redhat.com>
139
140 * windows-nat.c: Throughout, fix format strings and casts of
141 printf-like functions to avoid type related warnings on all
142 platforms.
143 (handle_output_debug_string): Fetch context information address
144 from debug string using string_to_core_addr.
145
146 2013-02-27 Jiong Wang <jiwang@tilera.com>
147
148 * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
149 * regformats/reg-tilegx32.dat: New.
150
151 2013-02-27 Jiong Wang <jiwang@tilera.com>
152
153 * configure.tgt (tilegx-*-linux*): Enable gdbserver.
154
155 2013-02-27 Jiong Wang <jiwang@tilera.com>
156
157 * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
158
159 2013-02-27 Yao Qi <yao@codesourcery.com>
160 Pedro Alves <palves@redhat.com>
161
162 * tracepoint.c (tfile_trace_find): For tfind
163 pc/tp/range/outside, look for the next trace frame instead of
164 always starting from frame 0.
165
166 2013-02-26 Anthony Green <green@moxielogic.com>
167
168 * configure.tgt: Add support for moxie-*-rtems* target.
169
170 2013-02-25 Pedro Alves <palves@redhat.com>
171
172 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
173 warning text.
174
175 2013-02-24 Maciej W. Rozycki <macro@codesourcery.com>
176
177 * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
178 if $fp is used as the virtual frame pointer.
179
180 2013-02-23 Alan Modra <amodra@gmail.com>
181
182 * elfread.c (elf_symtab_read): Do not use udata.p here to find
183 symbol size.
184 * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
185 * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
186 * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
187 * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
188
189 2013-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
190
191 Code cleanup.
192 * elfread.c (build_id_bfd_get): Make the return type const.
193 (build_id_verify): Make the check parameter const.
194 (build_id_to_debug_filename): Make the build_id parameter and variable
195 data const.
196 (find_separate_debug_file_by_buildid): Make the variable build_id const.
197
198 2013-02-21 Alan Modra <amodra@gmail.com>
199
200 * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes.
201
202 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
203
204 Add a new method 'disassemble' to gdb.Architecture class.
205 * python/py-arch.c (archpy_disassmble): Implementation of the
206 new method gdb.Architecture.disassemble.
207 (arch_object_methods): Add entry for the new method.
208
209 2013-02-20 Jiong Wang <jiwang@tilera.com>
210
211 * MAINTAINERS (Write After Approval): Add myself to the list.
212
213 2013-02-19 Pedro Alves <palves@redhat.com>
214
215 Garbage collect 'struct monitor_ops'::load_routine.
216
217 * monitor.h (struct monitor_ops) <load_routine>: Remove field.
218 * monitor.c (monitor_load): No longer call
219 current_monitor->load_routine.
220 * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
221 * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
222 * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
223
224 2013-02-19 Pedro Alves <palves@redhat.com>
225
226 PR gdb/15161
227
228 Harmonize with generic_load.
229
230 * monitor.c: Include "readline/readline.h".
231 (monitor_load): Rename parameter 'file' to 'args'. Use build_argv
232 instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned
233 long/strtol for the 'load_offset' local. Error out if no argument
234 is given or if too many arguments are given. Tilde expand the
235 passed in file name.
236
237 2013-02-19 Kai Tietz <ktietz@redhat.com>
238
239 PR gdb/15161
240 * symfile.c (load_section_data): Change type of load_offset
241 to CORE_ADDR.
242 (generic_load): User strtoulst instead of strtoul for conversion
243 of load_offset.
244
245 2013-02-19 Jiong Wang <jiwang@tilera.com>
246
247 * tilegx-tdep.c (tilegx_analyze_prologue): add check for
248 for return address, "lr" register, saved on stack.
249 * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
250 after we invoke tilegx_analyze_prologue.
251
252 2013-02-19 Jiong Wang <jiwang@tilera.com>
253
254 * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
255
256 2013-02-19 Jiong Wang <jiwang@tilera.com>
257
258 * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
259
260 2013-02-19 Jiong Wang <jiwang@tilera.com>
261
262 * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
263 (tilegx_write_pc): New function.
264 (tilegx_cannot_reference_register): Return zero if REGNO
265 is TILEGX_FAULTNUM_REGNUM.
266 (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
267 (tilegx_register_name): Add handling of "faultnum" register.
268 * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
269 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
270 handling of TILEGX_FAULTNUM_REGNUM.
271 * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
272
273 2013-02-19 Jiong Wang <jiwang@tilera.com>
274
275 * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
276 should be aligned to 64bit.
277
278 2013-02-19 Kai Tietz <ktietz@redhat.com>
279
280 * windows-nat.c (windows_xfer_memory): Fix debug-output
281 for LLP64.
282
283 2013-02-19 Lei Liu <lei.liu2@windriver.com>
284
285 * mips-linux-nat.c (mips64_linux_regsets_store_registers):
286 Don't check DSP register number if HAVE_DSP is not set.
287
288 2013-02-19 Alan Modra <amodra@gmail.com>
289
290 * elfread.c (struct build_id): Delete. Use struct elf_build_id
291 throughout file instead.
292 (build_id_bfd_get): Update to use new elf_tdata build_id field.
293 Don't xmalloc return value.
294 (build_id_verify): Similarly. Don't xfree.
295 (build_id_to_debug_filename): Update.
296 (find_separate_debug_file_by_buildid): Update, don't xfree.
297
298 2013-02-18 Tom Tromey <tromey@redhat.com>
299
300 PR gdb/15102:
301 * dwarf2read.c (read_subrange_type): Use result of
302 'check_typedef'.
303
304 2013-02-16 Yuanhui Zhang <asmwarrior@gmail.com>
305
306 * frame.c: Remove one extra white space after #include
307 directive.
308
309 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
310
311 * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
312
313 2013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
314
315 * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
316 and dir commands into an if block.
317
318 2013-02-15 Sanimir Agovic <sanimir.agovic@intel.com>
319
320 * python/py-breakpoint (struct pybp_code): Use int instead of
321 enum type_code.
322
323 2013-02-15 Pedro Alves <pedro@codesourcery.com>
324 Hafiz Abid Qadeer <abidh@codesourcery.com>
325
326 * NEWS: Mention new field "trace-file".
327 * tracepoint.c (trace_status_mi): Output "trace-file" field.
328 (tfile_open): Record the trace file's filename in the trace
329 status.
330 (tfile_files_info): Mention the name of the trace file.
331 Check the "filename" field explicitely.
332 (trace_status_command): Explicitely check "filename" field.
333 (trace_find_command): Ditto.
334 (trace_find_pc_command): Ditto.
335 (trace_find_tracepoint_command): Ditto.
336 (trace_find_line_command): Ditto.
337 (trace_find_range_command): Ditto.
338 (trace_find_outside_command): Ditto.
339 * tracepoint.h (struct trace_status) <from_file>: Rename it
340 to "filename" and make it hold the trace file's filename
341 instead of a boolean.
342 * remote.c (remote_get_trace_status): Initialize "filename"
343 field with NULL instead of 0.
344
345 2013-02-15 Yao Qi <yao@codesourcery.com>
346
347 * remote.c: Fix a typo.
348
349 2013-02-14 Pierre Muller <muller@sourceware.org>
350
351 * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
352
353 2013-02-14 Pedro Alves <palves@redhat.com>
354
355 * utils.c (savestring): Don't #undef it. Move function to
356 common/common-utils.c.
357 * common/common-utils.c: Include gdb_string.h.
358 (savestring): Move here from utils.c.
359 * common/common-utils.h (savestring): Declare.
360
361 2013-02-14 Pedro Alves <palves@redhat.com>
362
363 * utils.c (savestring): Rename parameter 'size' to 'len'.
364
365 2013-02-14 Pedro Alves <palves@redhat.com>
366 Yufeng Zhang <yufeng.zhang@arm.com>
367
368 * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
369 (aarch64_inferior_data, struct aarch64_inferior_data):
370 Delete.
371 (struct aarch64_process_info): New.
372 (aarch64_process_list): New global.
373 (aarch64_find_process_pid, aarch64_add_process)
374 (aarch64_process_info_get): New functions.
375 (aarch64_inferior_data_get): Delete.
376 (aarch64_process_info_get): New function.
377 (aarch64_forget_process): New function.
378 (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement.
379 (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
380 aarch64_get_debug_reg_state.
381 (aarch64_notify_debug_reg_change): Use iterate_over_lwps
382 instead of linux_nat_iterate_watchpoint_lwps.
383 (aarch64_linux_new_fork): New function.
384 (aarch64_linux_child_post_startup_inferior): Use
385 aarch64_forget_process instead of aarch64_init_debug_reg_state.
386 (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
387 (aarch64_linux_remove_hw_breakpoint)
388 (aarch64_handle_aligned_watchpoint)
389 (aarch64_handle_unaligned_watchpoint)
390 (aarch64_linux_insert_watchpoint)
391 (aarch64_linux_remove_watchpoint)
392 (aarch64_linux_stopped_data_address): Adjust to pass the current
393 process id to aarch64_debug_reg_state.
394 (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
395 linux_nat_new_fork hook, and aarch64_forget_process as
396 linux_nat_forget_process hook; remove the call to
397 register_inferior_data_with_cleanup.
398
399 2013-02-14 Pedro Alves <palves@redhat.com>
400
401 * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
402 EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
403 lval_memory.
404
405 2013-02-14 Pedro Alves <pedro@codesourcery.com>
406 Hafiz Abid Qadeer <abidh@codesourcery.com>
407
408 * tracepoint.h (validate_trace_state_variable_name): Declare.
409 * tracepoint.c (validate_trace_state_variable_name): New.
410 (trace_variable_command): Parse the trace state variable's name
411 without using parse_expression. Do several validations.
412 * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
413 trace state variable's name with parse_expression. Validate it.
414
415 2013-02-14 Yao Qi <yao@codesourcery.com>
416
417 * infcmd.c (breakpoint_proceeded): Remove it.
418
419 2013-02-14 Yao Qi <yao@codesourcery.com>
420
421 * tracepoint.c (end_actions_pseudocommand): Make it static.
422 (while_stepping_pseudocommand): Likewise.
423 * tracepoint.h (end_actions_pseudocommand): Remove the
424 declaration.
425 (while_stepping_pseudocommand): Likewise.
426
427 2013-02-14 Yao Qi <yao@codesourcery.com>
428
429 * cli/cli-decode.c (help_cmd): Remove the declaration of
430 "cmdlist".
431 (help_all): Likewise.
432
433 2013-02-13 Pedro Alves <palves@redhat.com>
434
435 * amd64-linux-nat.c (update_debug_registers_callback):
436 Update comment.
437 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
438 iterate_over_lwps.
439 (amd64_linux_prepare_to_resume): Pass the lwp's pid to
440 i386_debug_reg_state.
441 (amd64_linux_new_fork): New function.
442 (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
443 linux_nat_new_fork hook, and i386_forget_process as
444 linux_nat_forget_process hook.
445 * i386-linux-nat.c (update_debug_registers_callback):
446 Update comment.
447 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
448 iterate_over_lwps.
449 (i386_linux_prepare_to_resume): Pass the lwp's pid to
450 i386_debug_reg_state.
451 (i386_linux_new_fork): New function.
452 (_initialize_i386_linux_nat): Install i386_linux_new_fork as
453 linux_nat_new_fork hook, and i386_forget_process as
454 linux_nat_forget_process hook.
455 * i386-nat.c (i386_init_dregs): Delete.
456 (i386_inferior_data, struct i386_inferior_data):
457 Delete.
458 (struct i386_process_info): New.
459 (i386_process_list): New global.
460 (i386_find_process_pid, i386_add_process, i386_process_info_get):
461 New functions.
462 (i386_inferior_data_get): Delete.
463 (i386_process_info_get): New function.
464 (i386_debug_reg_state): New parameter 'pid'. Reimplement.
465 (i386_forget_process): New function.
466 (i386_cleanup_dregs): Rewrite.
467 (i386_update_inferior_debug_regs, i386_insert_watchpoint)
468 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
469 (i386_stopped_data_address, i386_insert_hw_breakpoint)
470 (i386_remove_hw_breakpoint): Adjust to pass the current process id
471 to i386_debug_reg_state.
472 (i386_use_watchpoints): Don't register inferior data.
473 * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
474 adjust comment.
475 (i386_forget_process): Declare.
476 * linux-fork.c (delete_fork): Call linux_nat_forget_process.
477 * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
478 New static globals.
479 (linux_child_follow_fork): Don't call linux_nat_new_thread here.
480 (add_initial_lwp): New, factored out from ...
481 (add_lwp): ... this. Don't check the number of lwps before
482 calling linux_nat_new_thread.
483 (linux_nat_iterate_watchpoint_lwps): Delete.
484 (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
485 (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
486 forks and vforks.
487 (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
488 initial lwp.
489 (linux_nat_kill, linux_nat_mourn_inferior): Call
490 linux_nat_forget_process.
491 (linux_nat_set_new_fork, linux_nat_set_forget_process)
492 (linux_nat_forget_process): New functions.
493 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
494 type.
495 (linux_nat_iterate_watchpoint_lwps): Delete declaration.
496 (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
497 types.
498 (linux_nat_set_new_fork, linux_nat_set_forget_process)
499 (linux_nat_forget_process): New declarations.
500
501 * amd64fbsd-nat.c (super_mourn_inferior): New global.
502 (amd64fbsd_mourn_inferior): New function.
503 (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
504 * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
505
506 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
507
508 * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
509 Adding _().
510
511 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
512
513 * aarch64-linux-nat.c (debug_reg_change_callback)
514 (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
515 %s and phex().
516
517 2013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
518
519 * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
520 with LONGEST.
521
522 2013-02-13 Pedro Alves <palves@redhat.com>
523 Hafiz Abid Qadeer <abidh@codesourcery.com>
524
525 * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
526
527 2013-02-12 Tom Tromey <tromey@redhat.com>
528
529 PR symtab/11464:
530 * c-exp.y (lex_one_token): Initialize other fields of yylval on
531 NAME return.
532 (classify_inner_name): Remove 'first_name' argument, add
533 'context'. Remove unused variable.
534 (yylex): Explicitly maintain the context type. Exit loop earlier
535 if NAME result is seen.
536
537 2013-02-12 Pedro Alves <palves@redhat.com>
538
539 * amd64-darwin-tdep.c: Add (C) after Copyright.
540 * cli/cli-cmds.h: Ditto.
541 * cli/cli-decode.c: Ditto.
542 * cli/cli-decode.h: Ditto.
543 * cli/cli-dump.c: Ditto.
544 * cli/cli-dump.h: Ditto.
545 * cli/cli-interp.c: Ditto.
546 * cli/cli-logging.c: Ditto.
547 * cli/cli-script.c: Ditto.
548 * cli/cli-script.h: Ditto.
549 * cli/cli-setshow.c: Ditto.
550 * cli/cli-setshow.h: Ditto.
551 * cli/cli-utils.c: Ditto.
552 * cli/cli-utils.h: Ditto.
553 * config/alpha/nm-osf3.h: Ditto.
554 * config/djgpp/djconfig.sh: Ditto.
555 * config/i386/nm-fbsd.h: Ditto.
556 * config/i386/nm-i386gnu.h: Ditto.
557 * config/nm-linux.h: Ditto.
558 * config/nm-nto.h: Ditto.
559 * config/rs6000/nm-rs6000.h: Ditto.
560 * config/sparc/nm-sol2.h: Ditto.
561 * darwin-nat-info.c: Ditto.
562 * dfp.c: Ditto.
563 * dfp.h: Ditto.
564 * gdb-demangle.h: Ditto.
565 * i386-darwin-nat.c: Ditto.
566 * i386-darwin-tdep.c: Ditto.
567 * linux-fork.h: Ditto.
568 * m32c-tdep.c: Ditto.
569 * microblaze-linux-tdep.c: Ditto.
570 * microblaze-rom.c: Ditto.
571 * microblaze-tdep.c: Ditto.
572 * microblaze-tdep.h: Ditto.
573 * mips-linux-tdep.h: Ditto.
574 * ppc-ravenscar-thread.c: Ditto.
575 * ppc-ravenscar-thread.h: Ditto.
576 * prologue-value.c: Ditto.
577 * prologue-value.h: Ditto.
578 * ravenscar-thread.c: Ditto.
579 * ravenscar-thread.h: Ditto.
580 * sparc-ravenscar-thread.c: Ditto.
581 * sparc-ravenscar-thread.h: Ditto.
582 * tilegx-linux-tdep.c: Ditto.
583 * unwind_stop_reasons.def: Ditto.
584 * windows-nat.h: Ditto.
585 * xtensa-linux-tdep.c: Ditto.
586 * xtensa-xtregs.c: Ditto.
587 * regformats/regdat.sh: Ditto.
588 * regformats/regdef.h: Ditto.
589
590 2013-02-12 Pedro Alves <palves@redhat.com>
591
592 * break-catch-sig.c: Update copyright years.
593
594 2013-02-11 Siva Chandra Reddy <sivachandra@google.com>
595
596 Add support for a destructor for ui_out data and use it to
597 provide a ui_out destructor.
598 * ui-out.h: Declare the new ui_out destructor.
599 (ui_out_impl): Add a field for data destructor in ui_out_impl.
600 * ui-out.c (default_data_destroy): Add a default data destructor
601 which does nothing.
602 (default_ui_out_impl): Set the new data_destroy field to
603 default_data_destroy
604 (uo_data_destroy): Local function which invokes the data
605 destructor if present.
606 (clear_table): Local function which clears the table data of a
607 ui_out object.
608 (ui_out_destroy): Public function which frees a ui_out object.
609 (ui_out_table_end): Use the new clear_table function.
610 * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
611 NULL.
612 * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
613 to NULL.
614
615 2013-02-11 Doug Evans <dje@google.com>
616
617 * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
618 (printf_decfloat): New function. Broken out from ui_printf.
619 Remove unnecessary code to shift the entire format string down.
620 (printf_pointer): New function.
621 (ui_printf): Code to print C strings, wide C strings, decfloats,
622 and pointers moved to separate functions.
623
624 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
625
626 * valops.c (value_assign): Handling bitfield offset in
627 `lval_internalvar_component' case.
628
629 2013-02-08 Doug Evans <dje@google.com>
630
631 * common/format.c (parse_format_string): Fix whitespace.
632
633 2013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
634
635 * stack.c (return_command): Work around uninitialized variable
636 warning.
637
638 2013-02-08 Yufeng Zhang <yufeng.zhang@arm.com>
639
640 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
641 number of the registers from 36 to 34.
642
643 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
644
645 * NEWS: Mention new AArch64 native and target support.
646
647 2013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
648
649 * MAINTAINERS (Write After Approval): Add myself.
650
651 2013-02-08 Jim MacArthur <jim.macarthur@arm.com>
652 Marcus Shawcroft <marcus.shawcroft@arm.com>
653 Nigel Stephens <nigel.stephens@arm.com>
654 Yufeng Zhang <yufeng.zhang@arm.com>
655
656 * aarch64-linux-nat.c: New file.
657 * config/aarch64/linux.mh: New file.
658 * configure.host: Add AArch64.
659 * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
660
661 2013-02-07 Doug Evans <dje@google.com>
662
663 * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
664 disassemble command.
665
666 2013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
667
668 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
669 set_gdbarch_fetch_tls_load_module_address.
670
671 2013-02-06 David S. Miller <davem@davemloft.net>
672
673 * sparc-tdep.c (sparc32_return_value): Handle writing return value when
674 using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
675 * value.c (struct_return_convention): New function.
676 (using_struct_return): Implement in terms of struct_return_convention.
677 * value.h (struct_return_convention): Declare.
678 * stack.c (return_command): Allow successful overriding of the return
679 value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
680
681 2013-02-06 Tom Tromey <tromey@redhat.com>
682
683 * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
684 outside of TRY_CATCH.
685
686 2013-02-06 Yao Qi <yao@codesourcery.com>
687
688 * mi/mi-interp.c: Include "tracepoint.h".
689 (mi_tsv_modified): Declare.
690 (mi_tsv_created, mi_tsv_deleted): Update declaration.
691 (mi_interpreter_init): Call observer_attach_tsv_modified.
692 (mi_tsv_modified): New.
693 (mi_tsv_created, mi_tsv_deleted): Update.
694 * tracepoint.c (trace_variable_command): Call
695 observer_notify_tsv_modified if the initial value of tsv is
696 changed.
697 (delete_trace_state_variable): Call
698 observer_notify_tsv_deleted earlier.
699 (trace_variable_command): Caller update.
700 (create_tsv_from_upload): Likewise.
701 * observer.sh: Declare "struct trace_state_variable".
702
703 * NEWS: Mention the new MI notification "=tsv-modified".
704
705 2013-02-05 Doug Evans <dje@google.com>
706
707 * completer.c (location_completer): Fix typo in comment.
708
709 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
710
711 * breakpoint.c (add_location_to_breakpoint): Insert the location with
712 ADDRESS sorted.
713
714 2013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
715
716 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
717 Refactor if statement to avoid trailing || operator.
718
719 2013-02-05 Andreas Tobler <andreast@fgznet.ch>
720
721 * NEWS: Add PowerPC FreeBSD as a new native configuration.
722
723 2013-02-04 Andreas Tobler <andreast@fgznet.ch>
724
725 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
726 * configure.host: Add powerpc*-*-freebsd* target.
727 * configure.tgt: Add target info for powerpc*-*-freebsd*.
728 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
729 * config/powerpc/fbsd.mh: New file.
730
731 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>
732 Denys Vlasenko <dvlasenk@redhat.com>
733 Pedro Alves <palves@redhat.com>
734
735 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
736 (struct elf_internal_linux_prpsinfo): Forward declare.
737 * gdbarch.h, gdbarch.c: Regenerate.
738 * linux-tdep.c: Include `cli/cli-utils.h'.
739 (linux_fill_prpsinfo): New function.
740 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
741 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
742 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
743 depending on gdbarch pointer bitness.
744 * ppc-linux-tdep.c: Include elf-bfd.h.
745 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
746 on 32-bit.
747
748 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
749 Marcus Shawcroft <marcus.shawcroft@arm.com>
750 Nigel Stephens <nigel.stephens@arm.com>
751 Yufeng Zhang <yufeng.zhang@arm.com>
752
753 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
754
755 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
756 Marcus Shawcroft <marcus.shawcroft@arm.com>
757 Nigel Stephens <nigel.stephens@arm.com>
758 Yufeng Zhang <yufeng.zhang@arm.com>
759
760 * aarch64-newlib-tdep.c: New file.
761 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
762 aarch64*-*-elf.
763 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
764 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
765 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
766 * osabi.c (gdb_osabi_names): Add "Newlib".
767
768 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
769 Marcus Shawcroft <marcus.shawcroft@arm.com>
770 Nigel Stephens <nigel.stephens@arm.com>
771 Yufeng Zhang <yufeng.zhang@arm.com>
772
773 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
774 (ALLDEPFILES): Add aarch64-linux-tdep.c.
775 * aarch64-linux-tdep.c: New file.
776 * aarch64-linux-tdep.h: New file.
777 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
778 * configure.tgt: Add aarch64-none-linux-gnu.
779
780 2013-02-04 Jim MacArthur <jim.macarthur@arm.com>
781 Marcus Shawcroft <marcus.shawcroft@arm.com>
782 Nigel Stephens <nigel.stephens@arm.com>
783 Yufeng Zhang <yufeng.zhang@arm.com>
784
785 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
786 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
787 (ALLDEPFILES): Add aarch64-tdep.c.
788 * aarch64-tdep.c: New file.
789 * aarch64-tdep.h: New file.
790 * configure.tgt: Add AArch64.
791 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
792 (aarch64-expedite): New definition.
793 * features/aarch64-core.xml: New file.
794 * features/aarch64-fpu.xml: New file.
795 * features/aarch64-without-fpu.c: New file (generated).
796 * features/aarch64-without-fpu.xml: New file.
797 * features/aarch64.c: New file (generated).
798 * features/aarch64.xml: New file.
799 * regformats/aarch64-without-fpu.dat: New file (generated).
800 * regformats/aarch64.dat: New file (generated).
801
802 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
803
804 * contrib/expect-read1.c: New file.
805 * contrib/expect-read1.sh: New file.
806
807 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
808
809 * dwarf2read.c (file_file_name): New function with code from
810 file_full_name.
811 (file_full_name): Move most of the code to file_file_name.
812 (macro_start_file): Rename variable full_name to file_name and use
813 file_file_name for it. Add comp_dir parameter to new_macro_table.
814 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
815 macro_source_file->filename access by macro_source_fullname call.
816 * macroscope.c (_initialize_macroscope): Update the new_macro_table
817 caller.
818 * macrotab.c (struct macro_table): New field comp_dir.
819 (macro_include): New variables link_fullname and source_fullname.
820 Replace any macro_source_file->filename access by macro_source_fullname
821 call.
822 (macro_lookup_inclusion): Remove the partial filenames checking code.
823 (check_for_redefinition): New variables source_fullname and
824 found_key_fullname. Replace any macro_source_file->filename access by
825 macro_source_fullname call.
826 (macro_undef): New variables source_fullname and key_fullname. Replace
827 any macro_source_file->filename access by macro_source_fullname call.
828 (macro_lookup_definition): New variables retval and source_fullname.
829 Replace any macro_source_file->filename access by macro_source_fullname
830 call.
831 (foreach_macro): New variable key_fullname. Replace any
832 macro_source_file->filename access by macro_source_fullname call.
833 (foreach_macro_in_scope): New variable datum_fullname. Replace any
834 macro_source_file->filename access by macro_source_fullname call.
835 (new_macro_table): Add parameter comp_dir. Initialize T with it.
836 (macro_source_fullname): New function.
837 * macrotab.h (struct macro_source_file): Extent the filename field
838 comment.
839 (new_macro_table): New parameter comp_dir, add a comment for it.
840 (macro_source_fullname): new declaration.
841
842 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
843
844 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
845 this_real_name to outer block. Use it also for
846 compare_filenames_for_search.
847 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
848 with dw2_get_real_path for file_matcher, considering also
849 BASENAMES_MAY_DIFFER.
850 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
851
852 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
853
854 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
855 to the file_matcher parameter. Pass 0 to it.
856 (dwarf2_create_include_psymtab): Copy also DIRNAME.
857 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
858 NULL psymtab_to_fullname result.
859 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
860 an expected filename instead.
861 (expand_symtabs_matching_via_partial): Add basenames parameter to the
862 file_matcher parameter. Call also psymtab_to_fullname, after newly
863 considering BASENAMES_MAY_DIFFER.
864 * source.c (rewrite_source_path): Remove static.
865 * source.h (rewrite_source_path): New declaration.
866 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
867 the expand_symtabs_matching field. Comment it.
868 * symtab.c (file_matches): New function comment. Add parameter
869 basenames, implement it.
870 (search_symbols_file_matches): Add basenames parameter. Update the
871 file_matches caller.
872 (search_symbols): Match FILES also against symtab_to_fullname.
873 Optimize it for BASENAMES_MAY_DIFFER.
874
875 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
876
877 * source.c (print_source_lines_base): Print for TUI also "fullname".
878 * tui/tui-data.c (init_content_element): Change tui_locator_element
879 field to full_name.
880 * tui/tui-data.h (struct tui_locator_element): Likewise.
881 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
882 tui_update_locator_filename calls to tui_update_locator_fullname.
883 Replace symtab->filename refererence by symtab_to_fullname call.
884 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
885 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
886 field to full_name. Replace symtab->filename refererence by
887 symtab_to_fullname call.
888 (tui_show_symtab_source): Rename parameter to fullname. Change
889 tui_locator_element field to full_name.
890 * tui/tui-stack.c: Include source.h.
891 (tui_set_locator_filename): Rename the declaration to ...
892 (tui_set_locator_fullname): ... here. Rename its parameter to
893 fullname, updates its comment.
894 (tui_set_locator_info): Rename its parameter to fullname.
895 (tui_set_locator_filename): Rename the definition to ...
896 (tui_set_locator_fullname): ... here. Rename its parameter to
897 fullname, updates its comment. Change tui_locator_element field to
898 full_name.
899 (tui_set_locator_info): Rename its parameter to fullname.
900 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
901 (tui_update_locator_filename): Rename to ...
902 (tui_update_locator_fullname): ... here. Rename callee to
903 tui_set_locator_fullname.
904 (tui_show_frame_info): Replace symtab->filename refererence by
905 symtab_to_fullname call.
906 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
907 (tui_update_locator_fullname): ... here.
908 * tui/tui-winsource.c (tui_display_main): Rename the callee to
909 tui_update_locator_fullname. Replace symtab->filename refererence by
910 symtab_to_fullname call.
911 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
912 Rename the callee to tui_update_locator_fullname.
913 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
914
915 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
916
917 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
918 by symtab_to_filename_for_display calls.
919 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
920 (clear_command): New variable sal_fullname, initialize it. Replace
921 compare_filenames_for_search by filename_cmp with sal_fullname.
922 (say_where, update_static_tracepoint): Replace symtab->filename
923 refererences by symtab_to_filename_for_display calls.
924 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
925 Likewise.
926 * dwarf2read.c: Include source.h.
927 (fixup_go_packaging): Replace symtab->filename refererences by
928 symtab_to_filename_for_display calls.
929 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
930 Replace symtab->filename refererences by symtab_to_filename_for_display
931 calls.
932 (create_sals_line_offset, convert_linespec_to_sals): New variable
933 fullname, initialize it, replace symtab->filename reference by the
934 variable.
935 * linux-fork.c: Include source.h.
936 (info_checkpoints_command): Replace symtab->filename refererences by
937 symtab_to_filename_for_display calls.
938 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
939 by symtab_to_filename_for_display calls.
940 * mdebugread.c: Include source.h.
941 (psymtab_to_symtab_1): Replace symtab->filename refererences by
942 symtab_to_filename_for_display calls.
943 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
944 (mi_cmd_file_list_exec_source_files): Likewise.
945 * printcmd.c: Include source.h.
946 (build_address_symbolic): Replace symtab->filename refererences by
947 symtab_to_filename_for_display calls.
948 * psymtab.c (partial_map_symtabs_matching_filename)
949 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
950 with psymtab_to_fullname.
951 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
952 by symtab_to_filename_for_display calls.
953 (stpy_get_filename): New variable filename, initialize it, use instead
954 of symtab->filename refererences.
955 (salpy_str): Make variable filename const char *. Replace
956 symtab->filename refererences by symtab_to_filename_for_display calls.
957 * skip.c: Include source.h and filenames.h.
958 (skip_file_command): Remove const from the symtab variable. Replace
959 symtab->filename refererences by symtab_to_fullname call.
960 (function_name_is_marked_for_skip): New variables searched_for_fullname
961 and fullname. Use them to search also with symtab's fullname.
962 * source.c (find_source_lines): Replace symtab->filename refererences
963 by symtab_to_filename_for_display calls.
964 (print_source_lines_base): New variable filename, use it instead of
965 symtab->filename. Replace symtab->filename refererences by
966 symtab_to_filename_for_display calls.
967 (line_info, forward_search_command): Replace symtab->filename
968 refererences by symtab_to_filename_for_display calls.
969 (reverse_search_command): Replace symtab->filename refererences by
970 symtab_to_filename_for_display calls. New variable filename for it.
971 * stack.c (frame_info): Likewise.
972 * symmisc.c: Include source.h.
973 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
974 (maintenance_info_symtabs): Replace symtab->filename refererences by
975 symtab_to_filename_for_display calls.
976 * symtab.c (iterate_over_some_symtabs): Call
977 compare_filenames_for_search also with symtab_to_fullname.
978 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
979 symtab->filename refererences by symtab_to_filename_for_display calls.
980 (find_line_symtab): Replace symtab->filename refererences by
981 symtab_to_filename_for_display calls.
982 (file_matches): Replace filename_cmp by compare_filenames_for_search.
983 (print_symbol_info): Make the last parameter const char *. New
984 variable s_filename. Use it in the function.
985 (symtab_symbol_info): Make the last_filename variable const char *.
986 Replace symtab->filename refererences by symtab_to_filename_for_display
987 calls.
988 (rbreak_command): New variable fullname. Use it. Replace
989 symtab->filename refererence by symtab_to_filename_for_display call.
990 * tracepoint.c (set_traceframe_context, trace_find_line_command)
991 (print_one_static_tracepoint_marker): Replace symtab->filename
992 refererences by symtab_to_filename_for_display calls.
993 * tui/tui-source.c (tui_set_source_content): New variables filename and
994 s_filename. Replace symtab->filename refererences by this variable.
995 Replace other symtab->filename refererences by
996 symtab_to_filename_for_display calls.
997
998 2013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
999 Jan Kratochvil <jan.kratochvil@redhat.com>
1000
1001 Add a new variable that controls a way in which filenames are
1002 displayed.
1003 * NEWS (set filename-display): New entry.
1004 * source.c (filename_display_basename, filename_display_relative)
1005 (filename_display_absolute, filename_display_kind_names)
1006 (filename_display_string, show_filename_display_string)
1007 (symtab_to_filename_for_display): New.
1008 (_initialize_source): Added initialization of 'filename-display'
1009 variable.
1010 * source.h (symtab_to_filename_for_display): Added declaration.
1011 * stack.c (print_frame): Added new variable and calling of a new
1012 function and condition with this variable. Changed third argument of
1013 calling of a function.
1014
1015 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1016
1017 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
1018 Rename field reference filename to fullname.
1019 * tui/tui-data.h (struct tui_source_info): Rename field filename to
1020 fullname. New comment for it.
1021 * tui/tui-source.c (tui_set_source_content): Rename field reference
1022 filename to fullname. Initialize field by symtab_to_fullname now.
1023 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
1024 reference filename to fullname. Use symtab_to_fullname during
1025 comparison.
1026
1027 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1028
1029 Code cleanup.
1030 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
1031 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
1032 filename to fullname. Rename variable this_name to this_fullname.
1033 Lowercase FILENAME_CMP call.
1034 (dw2_find_symbol_file): New comment for the returned string.
1035 (dwarf2_gdb_index_functions): Rename the function to
1036 dw2_expand_symtabs_with_fullname.
1037 * psymtab.c (read_psymtabs_with_filename): Rename to ...
1038 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
1039 fullname.
1040 (psym_functions): Rename the function to read_psymtabs_with_fullname.
1041 * symfile.h (struct quick_symbol_functions): Rename field
1042 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
1043 parameter filename to fullname. Document returned string meaning for
1044 find_symbol_file.
1045 * symtab.c (find_line_symtab): Rename the called function to
1046 expand_symtabs_with_fullname.
1047
1048 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1049
1050 Code cleanup.
1051 * breakpoint.c (clear_command): Remove variable is_abs, unify the
1052 call of filename_cmp with compare_filenames_for_search.
1053 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
1054 is_abs, unify the call of FILENAME_CMP with
1055 compare_filenames_for_search. New gdb_asserts for real_path and name.
1056 Unify the call of compare_filenames_for_search with FILENAME_CMP.
1057 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
1058 * symfile.h (struct quick_symbol_functions): Extend the comment for
1059 map_symtabs_matching_filename.
1060 * symtab.c (compare_filenames_for_search): Remove the function comment
1061 relative path requirement. Handle absolute filenames, with a comment.
1062 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
1063 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
1064 real_path and name. Unify the call of compare_filenames_for_search
1065 with FILENAME_CMP.
1066 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
1067
1068 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1069
1070 Code cleanup.
1071 * breakpoint.c (print_breakpoint_location): Replace bp_location field
1072 source_file references by symtab field references. Remove variables
1073 sal and fullname.
1074 (momentary_breakpoint_from_master, add_location_to_breakpoint):
1075 (clear_command, say_where): Replace bp_location field source_file
1076 references by symtab field references.
1077 (bp_location_dtor): Remove the source_file reference.
1078 (update_static_tracepoint): Replace bp_location field source_file
1079 references by symtab field references.
1080 (breakpoint_free_objfile): New function.
1081 * breakpoint.h (struct bp_location): Extend the comment for line_number.
1082 Replace the field source_file by field symtab, extend its comment.
1083 (breakpoint_free_objfile): New declaration.
1084 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
1085 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
1086 field source_file references by symtab field references.
1087
1088 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1089
1090 Replace xfullpath calls by gdb_realpath calls.
1091 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
1092 function comment.
1093 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
1094 Remove it from the iterate_over_some_symtabs call.
1095 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
1096 Remove it from the dw2_map_expand_apply calls, remove a block handling
1097 it.
1098 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
1099 Remove it from the iterate_over_some_symtabs call.
1100 (partial_map_symtabs_matching_filename): Remove parameter full_path.
1101 Remove it from the partial_map_expand_apply calls, remove a block
1102 handling it. Drop gdb_realpath call and cleanups from the real_path
1103 handling.
1104 * source.c (openp): Drop the comment part about xfullpath. Replace
1105 xfullpath calls by gdb_realpath calls.
1106 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
1107 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
1108 from method map_symtabs_matching_filename and its comment.
1109 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
1110 gdb_realpath call.
1111 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
1112 remove it also from the function comment, remove a block handling it.
1113 Drop gdb_realpath call and cleanups from the real_path handling.
1114 (iterate_over_symtabs): Drop variable full_path and its use.
1115 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
1116 * utils.c (xfullpath): Remove.
1117 * utils.h (xfullpath): Remove.
1118
1119 2013-02-01 Andreas Tobler <andreast@fgznet.ch>
1120
1121 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
1122 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
1123 (ALLDEPFILES): Add ppc64-tdep.c.
1124 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
1125 ppc64-tdep.o to gdb_target_obs.
1126 * ppc64-tdep.h: New file.
1127 * ppc64-tdep.c: New file.
1128 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
1129 ppc-linux-tdep.c to here.
1130 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
1131 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
1132 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
1133 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
1134 from ppc-linux-tdep.c to here.
1135 (ppc64_convert_from_func_ptr_addr): Rename from
1136 ppc64_linux_convert_from_func_ptr_addr to
1137 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
1138 here.
1139 * rs6000-tdep.c:
1140 (read_insn): Move from ppc-linux-tdep.c to here.
1141 (insns_match_pattern, insn_d_field, insn_ds_field): Move
1142 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
1143 * ppc-linux-tdep.c: Include ppc64-tdep.h.
1144 Removed above functions.
1145 (ppc_linux_init_abi): Adjust.
1146
1147 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
1148
1149 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
1150
1151 2013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
1152
1153 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
1154
1155 2013-02-01 Pedro Alves <palves@redhat.com>
1156
1157 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
1158 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
1159
1160 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1161
1162 * elfread.c (elf_symfile_read): Limit separate debug info additions to
1163 files with no separate debug info.
1164 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
1165 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
1166 only for files with no separate debug info.
1167
1168 2013-01-31 Tom Tromey <tromey@redhat.com>
1169
1170 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
1171 change type.
1172 (struct jit_program_space_data): Rename from jit_inferior_data.
1173 Update comments.
1174 (get_jit_program_space_data): Rename from get_jit_inferior_data.
1175 Change return type. Attach data to program space.
1176 (jit_program_space_data_cleanup): Rename from
1177 jit_inferior_data_cleanup; change argument type.
1178 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
1179 change type.
1180 (jit_register_code): Update.
1181 (jit_update_inferior_cache): Remove.
1182 (jit_breakpoint_deleted): Get jit data from the location's program
1183 space.
1184 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
1185 'ps_data', change type.
1186 (jit_inferior_init, jit_breakpoint_re_set_internal)
1187 (jit_event_handler): Update.
1188 (free_objfile_data): Get data from objfile's program space.
1189 (_initialize_jit): Update.
1190
1191 2013-01-31 Tom Tromey <tromey@redhat.com>
1192
1193 PR gdb/13987:
1194 * jit.c (struct jit_inferior_data) <cached_code_address,
1195 jit_breakpoint>: New fields.
1196 (jit_breakpoint_re_set_internal): Fix logging. Only create
1197 breakpoint if cached address has changed.
1198 (jit_update_inferior_cache, jit_breakpoint_deleted): New
1199 functions.
1200 (_initialize_jit): Register breakpoint deleted observer.
1201
1202 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
1203
1204 * infrun.c (handle_syscall_event): Remove unused gdbarch.
1205 (save_infcall_suspend_state): Ifdef out unused inf.
1206 (restore_infcall_suspend_state): Ifdef out unused inf.
1207 * jit.c (jit_register_code): Remove unused i, b, inf_data.
1208 (jit_frame_sniffer): Remove unused inf_data.
1209
1210 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
1211
1212 * c-exp.y (classify_inner_name): Remove unused type.
1213 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
1214 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
1215 need_escape.
1216 (c_get_string): Remove unused kind.
1217 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
1218
1219 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
1220
1221 * charset.c (intermediate_encoding): Remove unused i.
1222 * completer.c (signal_completer): Remove unused i.
1223 * continuations.c (discard_my_continuations_1): Remove unused
1224 continuation_ptr.
1225 * corelow.c (core_close): Remove unuseD name.
1226 (get_core_siginfo): Remove unused pid.
1227 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
1228 i, cps.
1229 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
1230 (loclist_describe_location): Remove unused first.
1231 * event-top.c (command_line_handler): Remove unused got_eof.
1232 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
1233 (resize_section_table): Remove unused old_value.
1234 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
1235 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
1236 * i386-tdep.c (i386_process_record): Remove unused rex.
1237 * infcmd.c (get_return_value): Remove unused uiout.
1238 * jv-lang.c (type_from_class): Remove unused is_array.
1239 * jv-valprint.c (java_val_print): Remove unused i.
1240 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
1241 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
1242 * m2-typeprint.c (m2_print_type): Remove unused code.
1243 * macroexp.c (get_character_constant): Remove unused body_start.
1244 (macro_stringify): Remove unused result.
1245 * objc-lang.c (find_methods): Remove unused gdbarch.
1246 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
1247 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
1248 * stack.c (print_frame_args): Remove unused summary.
1249 * thread.c (thread_apply_command): Remove unused p.
1250 * valarith.c (value_x_unop): Remove unused mangle_ptr.
1251 * valops.c (search_struct_method): Remove unused skip.
1252 * valprint.c (generic_val_print): Remove unused byte_order.
1253 * varobj.c (varobj_update): Remove unused changed.
1254 * cli/cli-cmds.c (complete_command): Remove unused next_item.
1255 (alias_command): Remove unused c.
1256 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
1257 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
1258 format.
1259 (mi_cmd_data_write_memory): Remove unused word_format.
1260 (mi_cmd_data_write_memory_bytes): Remove unused r.
1261 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
1262 p_start, p_end.
1263 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
1264 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
1265 line_width.
1266
1267 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
1268
1269 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
1270 * symtab.c (iterate_over_symtabs): Remove unused s.
1271 (find_pc_sect_symtab): Remove unused pspAce.
1272 (find_pc_sect_line): Remove unused alt_symtab.
1273 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
1274 (completion_list_add_name): Remove unused newsize.
1275
1276 2013-01-31 Tom Tromey <tromey@redhat.com>
1277
1278 PR c++/14998:
1279 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
1280 TYPE_CODE_FUNC.
1281
1282 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
1283
1284 * target.c (target_read_string): Remove unused origlen.
1285
1286 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
1287
1288 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
1289 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
1290 * ax-general.c (ax_print): Remove unused is_float.
1291 * blockframe.c (block_innermost_frame): Remove unused start, end.
1292 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
1293
1294 2013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
1295
1296 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
1297 (svr4_read_so_list): Remove unused lmo.
1298 * solib-target.c (solib_target_relocate_section_addresses): Remove
1299 unused flags.
1300
1301 2013-01-30 Tom Tromey <tromey@redhat.com>
1302
1303 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
1304
1305 2013-01-30 Tom Tromey <tromey@redhat.com>
1306
1307 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
1308 * utils.c (gnu_debuglink_crc32): Remove.
1309 * utils.h (gnu_debuglink_crc32): Don't declare.
1310
1311 2013-01-30 Tom Tromey <tromey@redhat.com>
1312
1313 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
1314 (read_structure_type, read_enumeration_type): Remove cast.
1315
1316 2013-01-30 Tom Tromey <tromey@redhat.com>
1317
1318 * dwarf2read.c (read_namespace_type): Remove cast.
1319 (read_typedef): Likewise.
1320
1321 2013-01-29 Tom Tromey <tromey@redhat.com>
1322
1323 * dwarf2read.c (free_dwo_file): Remove assert.
1324
1325 2013-01-29 Tom Tromey <tromey@redhat.com>
1326
1327 * value.c (deprecated_set_value_modifiable): Remove.
1328 * value.h (deprecated_set_value_modifiable): Remove.
1329
1330 2013-01-28 Doug Evans <dje@google.com>
1331
1332 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
1333 to addresses from dwo files.
1334
1335 2013-01-25 Siva Chandra Reddy <sivachandra@google.com>
1336
1337 * valops.c (find_overload_match): Remove unused argument 'lax'.
1338 * value.h: Remove unused argument 'lax' from the declaration of
1339 find_overload_match.
1340 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
1341 to find_overload_match.
1342 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
1343 argument to find_overload_match.
1344
1345 2013-01-25 Tom Tromey <tromey@redhat.com>
1346
1347 * dwarf2read.c (processing_has_namespace_info): Remove.
1348 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
1349 (process_die, read_func_scope, dwarf2_start_symtab)
1350 (new_symbol_full): Update.
1351
1352 2013-01-25 Tom Tromey <tromey@redhat.com>
1353
1354 * cp-namespace.c (cp_set_block_scope): Remove.
1355 * cp-support.h (cp_set_block_scope): Remove.
1356 * dbxread.c: Include block.h.
1357 (cp_set_block_scope): New function.
1358 (process_one_symbol): Update.
1359 * dwarf2read.c (read_func_scope): Use block_set_scope.
1360
1361 2013-01-25 Pedro Alves <palves@redhat.com>
1362
1363 * remote.c (add_current_inferior_and_thread): Tweak comment.
1364
1365 2013-01-25 Tom Tromey <tromey@redhat.com>
1366
1367 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
1368 (cp_add_using_directive): Add 'copy_names' argument.
1369 * cp-support.h (cp_add_using_directive): Update.
1370 (struct using_direct) <import_src, import_dest, alias,
1371 declaration>: Now const.
1372 * dwarf2read.c (read_import_statement): Use obconcat.
1373 Don't copy names passed to cp_add_using_directive.
1374
1375 2013-01-25 Tom Tromey <tromey@redhat.com>
1376
1377 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
1378
1379 2013-01-25 Pedro Alves <palves@redhat.com>
1380
1381 * remote.c (stop_reply_extract_thread): New.
1382 (add_current_inferior_and_thread): New parameter 'wait_status'.
1383 Handle it.
1384 (remote_start_remote): Pass wait status to
1385 add_current_inferior_and_thread.
1386 (extended_remote_run): Update comment.
1387 (extended_remote_create_inferior_1): Pass wait status to
1388 add_current_inferior_and_thread.
1389
1390 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
1391 Ulrich Weigand <uweigand@de.ibm.com>
1392
1393 * valarith.c (value_vector_widen): New function for replicating a
1394 scalar into a vector.
1395 (value_binop): Use value_vector_widen to widen scalar to vector
1396 rather than casting, this better matches gcc C behaviour.
1397 * valops.c (value_casst): Update logic for casting between vector
1398 types, and for casting from scalar to vector, try to match gcc C
1399 behaviour.
1400 * value.h (value_vector_widen): Declare.
1401 * opencl-lang.c (opencl_value_cast): New opencl specific casting
1402 function, handle special case for casting scalar to vector.
1403 (opencl_relop): Use opencl_value_cast.
1404 (evaluate_subexp_opencl): Use opencl_value_cast instead of
1405 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
1406 in order to use opencl_value_cast.
1407
1408 2013-01-25 Yao Qi <yao@codesourcery.com>
1409
1410 * event-loop.c: Include "queue.h".
1411 (gdb_event_p): New typedef.
1412 (DECLARE_QUEUE_P): Use.
1413 (DEFINE_QUEUE_P): Use.
1414 (async_queue_event): Remove.
1415 (gdb_event_xfree): New.
1416 (initialize_event_loop): New.
1417 (process_event): Use QUEUE macros.
1418 (event_queue): Remove.
1419 (gdb_wait_for_event): Caller update.
1420 (check_async_event_handlers): Likewise.
1421 (poll_timers): Likewise.
1422 * event-loop.h (initialize_event_loop): Declare.
1423 * event-loop.c (gdb_event_xfree): New.
1424 * top.c (gdb_init): Call initialize_event_loop.
1425
1426 2013-01-25 Yao Qi <yao@codesourcery.com>
1427
1428 * event-loop.c (async_queue_event): Remove one parameter
1429 'position'. Remove code handling 'position' == TAIL.
1430 (gdb_wait_for_event): Caller update.
1431 (check_async_event_handlers): Caller update.
1432 (poll_timers): Caller update.
1433 * event-loop.h (enum queue_position): Remove.
1434
1435 2013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
1436
1437 * MAINTAINERS: Update my email.
1438
1439 2013-01-25 Yao Qi <yao@codesourcery.com>
1440
1441 * main.c (print_gdb_help): Remove "--epoch" from the help
1442 message.
1443
1444 2013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
1445
1446 * symtab.c (skip_prologue_using_sal): Consider a file
1447 change the same as an increased line number
1448
1449 2013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
1450
1451 * MAINTAINERS (Write After Approval): Add myself to the list.
1452
1453 2013-01-24 Tom Tromey <tromey@redhat.com>
1454
1455 * ada-lang.h (ada_decode_symbol): Make return type const.
1456 * ada-lang.c (ada_decode_symbol): Likewise.
1457
1458 2013-01-23 Doug Evans <dje@google.com>
1459
1460 * linespec.c (find_linespec_symbols): Make static.
1461
1462 2013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
1463
1464 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
1465 type on float conversion for complex type.
1466
1467 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
1468
1469 Add a new class gdb.Architecture which exposes GDB's
1470 internal representation of architecture via GDB Python API.
1471 * Makefile.in: Add entries corresponding to the new file
1472 python/py-arch.c.
1473 * NEWS (Python Scripting): Add entries for the new class
1474 gdb.Architecture and the new method gdb.Frame.architecture.
1475 * python/py-arch.c: Implement gdb.Architecture class.
1476 * python/py-frame.c (frapy_arch): Implement the method
1477 gdb.Frame.architecture().
1478 (frame_object_methods): Add 'architecture' to the method table.
1479 * python/python-internal.h: Add declarations of new utility
1480 functions.
1481 * python/python.c (_initialize_python): Initialize
1482 gdb.Architecture class.
1483
1484 2013-01-23 Doug Evans <dje@google.com>
1485
1486 Work around binutils/15021.
1487 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
1488 type_unit_group out of union s. All uses updated.
1489 (read_index_from_section): Watch for index version 8.
1490 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
1491 an imported symtab.
1492 (write_psymtabs_to_index): Increment version number to 8.
1493
1494 2013-01-22 Pedro Alves <palves@redhat.com>
1495
1496 * annotate.c (breakpoint_changed): Skip if breakpoint is not
1497 user-visible.
1498
1499 2013-01-22 Pedro Alves <palves@redhat.com>
1500
1501 * annotate.c (annotate_breakpoints_changed): Rename to ...
1502 (annotate_breakpoints_invalid): ... this. Make static.
1503 (breakpoint_changed): Adjust.
1504 (_initialize_annotate): Always install the observers. Install a
1505 "breakpoint_created" observer.
1506 * annotate.h (annotate_breakpoints_changed): Delete declaration.
1507 * breakpoint.c (set_breakpoint_condition)
1508 (breakpoint_set_commands, do_map_commands_command)
1509 (init_raw_breakpoint, clear_command, set_ignore_count)
1510 (enable_breakpoint_disp): No longer call
1511 annotate_breakpoints_changed.
1512
1513 2013-01-22 Pedro Alves <palves@redhat.com>
1514
1515 * annotate.c: Include "inferior.h".
1516 (frames_invalid_emitted)
1517 (breakpoints_invalid_emitted): New globals.
1518 (async_background_execution_p): New function.
1519 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
1520 emitting the annotation if it has already been emitted.
1521 (annotate_display_prompt): New function.
1522 * annotate.h (annotate_display_prompt): New declaration.
1523 * event-top.c: Include annotate.h.
1524 (display_gdb_prompt): Call annotate_display_prompt.
1525
1526 2013-01-22 Pedro Alves <palves@redhat.com>
1527
1528 * annotate.c (ignore_count_changed): Delete.
1529 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
1530 (annotate_ignore_count_change): Delete.
1531 (annotate_stopped): Don't emit a delayed breakpoints-changed
1532 annotation.
1533 * annotate.h (annotate_ignore_count_change): Delete.
1534 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
1535 annotate_ignore_count_change.
1536
1537 2013-01-22 Tom Tromey <tromey@redhat.com>
1538
1539 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
1540 require_rvalue for a register location.
1541
1542 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
1543
1544 * breakpoint.c (print_one_breakpoint_location): Add MI
1545 field 'thread-groups' when printing a breakpoint.
1546 (output_thread_groups): New function.
1547
1548 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
1549
1550 * python/lib/gdb/commands/explore.py
1551 (CompoundExplorer.explore_expr): Correct the name of a method
1552 being invoked.
1553 (ExploreTypeCommand.invoke): Add a missing 'return'.
1554
1555 2013-01-21 Tom Tromey <tromey@redhat.com>
1556
1557 * gdb_obstack.h (obconcat): Move declaration here, from...
1558 * symfile.h (obconcat): ... here.
1559 * gdb_obstack.c: New file.
1560 (obconcat): Move from...
1561 * symfile.c (obconcat): ... here.
1562 * Makefile.in (SFILES): Add gdb_obstack.c.
1563 (COMMON_OBS): Add gdb_obstack.o.
1564
1565 2013-01-21 Tom Tromey <tromey@redhat.com>
1566
1567 * symfile.h (obsavestring): Don't declare.
1568 * symfile.c (obsavestring): Remove.
1569 * ada-exp.y: Use obstack_copy0, not obsavestring.
1570 * ada-lang.c: Use obstack_copy0, not obsavestring.
1571 * coffread.c: Use obstack_copy0, not obsavestring.
1572 * cp-namespace.c: Use obstack_copy0, not obsavestring.
1573 * dbxread.c: Use obstack_copy0, not obsavestring.
1574 * dwarf2read.c: Use obstack_copy0, not obsavestring.
1575 * jit.c: Use obstack_copy0, not obsavestring.
1576 * mdebugread.c: Use obstack_copy0, not obsavestring.
1577 * psymtab.c: Use obstack_copy0, not obsavestring.
1578 * stabsread.c: Use obstack_copy0, not obsavestring.
1579 * xcoffread.c: Use obstack_copy0, not obsavestring.
1580
1581 2013-01-21 Tom Tromey <tromey@redhat.com>
1582
1583 * dwarf2read.c (fixup_go_packaging): Save package name
1584 on objfile obstack.
1585 * gdbtypes.c (init_type): Don't copy name.
1586
1587 2013-01-21 Tom Tromey <tromey@redhat.com>
1588
1589 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
1590 const.
1591 (struct attribute) <u.str>: Now const.
1592 (struct fnfieldlist) <name>: Now const.
1593 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
1594 (partial_die_parent_scope): Make return type const.
1595 (partial_die_full_name, add_partial_symbol): Update.
1596 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
1597 'name' const.
1598 (find_file_and_directory): Make 'name' and 'comp_dir' const.
1599 (read_file_scope, read_func_scope, dwarf2_add_field)
1600 (dwarf2_add_member_fn, read_structure_type)
1601 (process_enumeration_scope, read_array_type, read_module_type)
1602 (read_base_type, read_subrange_type): Update.
1603 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
1604 (new_symbol_full, guess_full_die_structure_name): Update.
1605 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
1606 (dwarf2_name): Return const type.
1607 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
1608 const.
1609
1610 2013-01-21 Tom Tromey <tromey@redhat.com>
1611
1612 * gdbtypes.c (init_type): Make 'name' const.
1613 * gdbtypes.h (init_type): Update.
1614
1615 2013-01-21 Tom Tromey <tromey@redhat.com>
1616
1617 * buildsym.c (patch_subfile_names): Use set_last_source_file.
1618 (start_symtab): Make 'name' and 'dirname' const. Use
1619 set_last_source_file.
1620 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
1621 (last_source_file): Define. Now static.
1622 (set_last_source_file, get_last_source_file): New functions.
1623 * buildsym.h (last_source_file): Don't declare.
1624 (start_symtab): Update.
1625 (set_last_source_file, get_last_source_file): Declare.
1626 * coffread.c (complete_symtab): Use set_last_source_file.
1627 (coff_end_symtab): Likewise.
1628 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
1629 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
1630 set_last_source_file.
1631 (process_one_symbol): Use get_last_source_file.
1632 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
1633 (psymtab_to_symtab_1): Use get_last_source_file.
1634 * xcoffread.c (process_linenos): Use get_last_source_file.
1635 (complete_symtab): Use set_last_source_file.
1636 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
1637 (scan_xcoff_symtab): Use set_last_source_file.
1638
1639 2013-01-21 Tom Tromey <tromey@redhat.com>
1640
1641 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
1642 (symbol_set_names): Remove casts. Handle field const-ness.
1643
1644 2013-01-21 Tom Tromey <tromey@redhat.com>
1645
1646 * dwarf2read.c (new_symbol_full): Remove cast.
1647 * symtab.c (symbol_set_demangled_name): Make 'name' const.
1648 * symtab.h (symbol_set_demangled_name): Update.
1649
1650 2013-01-21 Tom Tromey <tromey@redhat.com>
1651
1652 * main.c (captured_main): Call bfd_init.
1653
1654 2013-01-21 Tom Tromey <tromey@redhat.com>
1655
1656 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
1657 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
1658 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
1659 * NEWS: Update.
1660
1661 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1662
1663 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
1664
1665 2013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1666
1667 Fix gdb.fortran/common-block.exp crash in PIE mode.
1668 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
1669 LOC_COMMON_BLOCK.
1670 * f-valprint.c (info_common_command_for_block): Expect
1671 LOC_COMMON_BLOCK in gdb_assert.
1672 * symtab.h (struct general_symbol_info): Update comment for the
1673 common_block member.
1674 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
1675 (enum address_class): New member LOC_COMMON_BLOCK.
1676
1677 2013-01-18 David Blaikie <dblaikie@gmail.com>
1678
1679 * MAINTAINERS (Write After Approval): Add "David Blaikie".
1680
1681 2013-01-18 Tom Tromey <tromey@redhat.com>
1682
1683 PR c++/14999:
1684 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
1685 Call require_rvalue.
1686
1687 2013-01-18 Yao Qi <yao@codesourcery.com>
1688
1689 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
1690 (dbx_read_symtab): New declaration.
1691 (dbx_psymtab_to_symtab): Delete.
1692 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
1693 Rename parameter PST to SELF. Exchanged two parameters.
1694 (start_psymtab): Caller update.
1695 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
1696 (dwarf2_read_symtab): New declaration.
1697 (dwarf2_psymtab_to_symtab): Delete.
1698 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
1699 Rename parameter PST to SELF. Exchanged two parameters.
1700 (create_partial_symtab): Caller update.
1701 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
1702 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
1703 Rename parameter PST to SELF. Exchanged two parameters.
1704 (parse_partial_symbols, new_psymtab): Caller update.
1705 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
1706 two parameters.
1707 * psymtab.c (psymtab_to_symtab): Caller update.
1708 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
1709 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
1710 Rename parameter PST to SELF. Exchanged two parameters.
1711 (xcoff_start_psymtab): Caller update.
1712
1713 2013-01-18 Yao Qi <yao@codesourcery.com>
1714
1715 * infrun.c (proceed): Rename local variable 'oneproc' to
1716 'force_step'.
1717
1718 2013-01-17 Doug Evans <dje@google.com>
1719
1720 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
1721 (dw2_build_type_unit_groups): Delete. All uses updated.
1722
1723 * symtab.h (struct symbol_search): Add comment.
1724
1725 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1726
1727 * symtab.c (compare_filenames_for_search): New comment for
1728 HAS_DRIVE_SPEC.
1729
1730 2013-01-17 Tom Tromey <tromey@redhat.com>
1731
1732 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
1733
1734 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1735
1736 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
1737 initialize it by existing make_cleanup. Call new do_cleanups.
1738
1739 2013-01-17 Tom Tromey <tromey@redhat.com>
1740
1741 * cp-abi.c (cp_abi_completer): New function.
1742 (_initialize_cp_abi): Set completer for "set cp-abi".
1743
1744 2013-01-17 Tom Tromey <tromey@redhat.com>
1745
1746 * mem-break.c: Remove obsolete comment.
1747 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
1748
1749 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1750
1751 * jit.c (jit_reader_load_command): Interpret the jit reader name
1752 as an absolute path if it begins with a forward slash.
1753
1754 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
1755
1756 PR gdb/14550
1757
1758 * jit.c (finalize_symtab): Ensure that only the global block has a
1759 NULL superblock.
1760
1761 2013-01-17 Pedro Alves <palves@redhat.com>
1762
1763 * acinclude.m4: Include ../config/plugins.m4,
1764 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
1765 * Makefile.in (aclocal_m4_deps): Update.
1766 * aclocal.m4: Renegerate.
1767
1768 2013-01-16 Doug Evans <dje@google.com>
1769
1770 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
1771
1772 2013-01-16 Pedro Alves <palves@redhat.com>
1773 Tom Tromey <tromey@redhat.com>
1774
1775 PR cli/7221:
1776 * NEWS: Add "catch signal".
1777 * breakpoint.c (base_breakpoint_ops): No longer static.
1778 (bpstat_explains_signal): New function.
1779 (init_catchpoint): No longer static.
1780 (base_breakpoint_explains_signal): New function.
1781 (base_breakpoint_ops): Initialize new field.
1782 * breakpoint.h (enum bpstat_signal_value): New.
1783 (struct breakpoint_ops) <explains_signal>: New field.
1784 (bpstat_explains_signal): Remove macro, declare as function.
1785 (base_breakpoint_ops, init_catchpoint): Declare.
1786 * break-catch-sig.c: New file.
1787 * inferior.h (signal_catch_update): Declare.
1788 * infrun.c (signal_catch): New global.
1789 (handle_syscall_event): Update for change to
1790 bpstat_explains_signal.
1791 (handle_inferior_event): Likewise. Always handle random signals
1792 via bpstats.
1793 (signal_cache_update): Check signal_catch.
1794 (signal_catch_update): New function.
1795 (_initialize_infrun): Initialize signal_catch.
1796 * Makefile.in (SFILES): Add break-catch-sig.c.
1797 (COMMON_OBS): Add break-catch-sig.o.
1798
1799 2013-01-16 Tom Tromey <tromey@redhat.com>
1800
1801 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
1802 (print_one_catch_solib, print_one_catch_syscall)
1803 (print_one_catch_exec, print_one_exception_catchpoint): Emit
1804 "catch-type".
1805
1806 2013-01-16 Yao Qi <yao@codesourcery.com>
1807
1808 * printcmd.c (current_display_number): Make it static.
1809
1810 2013-01-16 Yao Qi <yao@codesourcery.com>
1811
1812 * infcmd.c (step_once): Don't check '!single_inst' as it was
1813 checked before.
1814
1815 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1816
1817 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
1818
1819 2013-01-14 Tom Tromey <tromey@redhat.com>
1820
1821 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
1822 set command.
1823 * command.h (add_setshow_string_noescape_cmd): Update.
1824 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
1825 (complete_set_gnutarget): New function.
1826 (_initialize_core): Set the "set gnutarget" completer.
1827
1828 2013-01-14 Tom Tromey <tromey@redhat.com>
1829
1830 PR symtab/14442:
1831 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
1832 (c_type_print_modifier): Likewise.
1833 * dwarf2read.c (read_tag_restrict_type): New function.
1834 (read_type_die_1): Handle DW_TAG_restrict_type.
1835 * gdbtypes.c (make_restrict_type): New function.
1836 (recursive_dump_type): Handle TYPE_RESTRICT.
1837 * gdbtypes.h (enum type_flag_values): Renumber.
1838 (enum type_instance_flag_value): Add
1839 TYPE_INSTANCE_FLAG_RESTRICT.
1840 (TYPE_RESTRICT): New macro.
1841 (make_restrict_type): Declare.
1842
1843 2013-01-14 Tom Tromey <tromey@redhat.com>
1844
1845 PR symtab/14931:
1846 * psymtab.c (struct psymtab_state): New.
1847 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
1848 functions.
1849 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
1850 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
1851
1852 2013-01-14 Richard Sharman <richard_sharman@mitel.com>
1853 Pedro Alves <palves@redhat.com>
1854
1855 PR remote/14786
1856
1857 * remote.c (remote_threads_info): Make a copy of the reply from
1858 qfThreadInfo and use that instead of rs->buf.
1859
1860 2013-01-14 Yao Qi <yao@codesourcery.com>
1861
1862 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
1863 (dbx_psymtab_to_symtab): Likewise.
1864 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
1865 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
1866 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
1867
1868 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1869
1870 * parse.c (parse_exp_in_context): New variable inner_chain. Call
1871 make_cleanup_restore_current_language. Call set_language. Move
1872 OLD_CHAIN and INNER_CHAIN cleanups.
1873 * utils.c (do_restore_current_language)
1874 (make_cleanup_restore_current_language): New functions.
1875 * utils.h (make_cleanup_restore_current_language): New declaration.
1876
1877 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1878
1879 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
1880 non-existing files.
1881
1882 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
1883 non-existing files if FILENAME is already absolute.
1884
1885 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1886
1887 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
1888 fputs_filtered. Append trailing newline.
1889
1890 2013-01-11 Yao Qi <yao@codesourcery.com>
1891 Stan Shebs <stan@codesourcery.com>
1892
1893 * psymtab.c (init_psymbol_list): Clarify the comment.
1894
1895 2013-01-11 Yao Qi <yao@codesourcery.com>
1896
1897 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
1898 (update_dprintf_command_list): Assert that 'printf_line' is
1899 non-null. Remove condition check.
1900
1901 2013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1902
1903 Code cleanup.
1904 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
1905 type const char *.
1906 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
1907 const char *.
1908 * tui/tui-source.h (tui_source_is_displayed): Likewise.
1909
1910 2013-01-09 Anthony Green <green@moxielogic.com>
1911
1912 * cp-abi.c (cplus_print_vtable): Don't return value from void
1913 function.
1914 * ada-lang.c (re_set_catch_assert): Ditto.
1915
1916 2013-01-09 Doug Evans <dje@google.com>
1917
1918 * symfile.h (quick_symbol_functions): Delete member
1919 pre_expand_symtabs_matching. All uses removed.
1920 * dwarf2read.c (dw2_lookup_symbol): Implement.
1921 (dw2_do_expand_symtabs_matching): Delete.
1922 (dw2_pre_expand_symtabs_matching): Delete.
1923 (struct dw2_symtab_iterator): New type.
1924 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
1925 (dw2_expand_symtabs_for_function): Rewrite.
1926 (dwarf2_gdb_index_functions): Update.
1927 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
1928 (psym_functions): Update.
1929
1930 2013-01-09 Tom Tromey <tromey@redhat.com>
1931
1932 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
1933 * configure: Rebuild.
1934 * configure.ac: Add somread.o to the build if BFD has SOM
1935 support.
1936 * somread.c: Include som/aout.h, not syms.h.
1937 (som_symtab_read): Use som_external_symbol_dictionary_record.
1938 Unpack records manually.
1939 (_initialize_somread): Declare.
1940
1941 2012-01-08 Mike Frysinger <vapier@gentoo.org>
1942
1943 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
1944 Cast return_address to 64bits.
1945
1946 2013-01-08 Hui Zhu <hui_zhu@mentor.com>
1947
1948 * printcmd.c: Remove define of function output_command.
1949 * tracepoint.c: Remove extern of function output_command.
1950 * valprint.h: (output_command): New extern.
1951
1952 2013-01-07 Tom Tromey <tromey@redhat.com>
1953
1954 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
1955 Remove.
1956 (objc_language_defn): Use c_printchar, c_printstr,
1957 c_emit_char.
1958
1959 2013-01-07 Tom Tromey <tromey@redhat.com>
1960
1961 PR cli/7719:
1962 * NEWS: Update.
1963 * ada-valprint.c (printstr, print_field_values): Remove
1964 "inspect_it" code.
1965 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
1966 code.
1967 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
1968 code.
1969 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
1970 * main.c (captured_main): Remove "epoch" argument.
1971 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
1972 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
1973 * p-valprint.c (pascal_object_print_value_fields): Remove
1974 "inspect_it" code.
1975 * printcmd.c (print_command_1): Remove 'inspect' argument.
1976 (print_command, call_command): Update.
1977 (inspect_command): Remove.
1978 (_initialize_printcmd): Make "inspect" an alias for "print".
1979 * top.c (epoch_interface): Remove.
1980 * top.h (epoch_interface): Remove.
1981 * valprint.c (user_print_options): Update.
1982 (print_converted_chars_to_obstack): Remove "inspect_it" code.
1983 * valprint.h (struct value_print_options) <inspect_it>: Remove
1984 field.
1985
1986 2013-01-04 Tom Tromey <tromey@redhat.com>
1987
1988 * valprint.h (read_string): Add 'extern'.
1989
1990 2013-01-07 Joel Brobecker <brobecker@adacore.com>
1991
1992 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
1993 used to decide whether to define darwin_read_dyld_info or not.
1994
1995 2013-01-03 Pierre Muller <muller@sourceware.org>
1996
1997 * main.c (relocate_gdb_directory): Avoid calling stat function
1998 if DIR is empty.
1999
2000 2013-01-03 Yao Qi <yao@codesourcery.com>
2001
2002 * psymtab.c (fixup_psymbol_section): Update declaration.
2003 (fixup_psymbol_section): Remove code returning value.
2004
2005 2013-01-03 Yao Qi <yao@codesourcery.com>
2006
2007 * symtab.h: Remove some out of date comments.
2008 (enum exception_event_kind): Move it ...
2009 * breakpoint.c: ... here.
2010
2011 2013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
2012
2013 PR gdb/14405
2014 * darwin-nat.c (darwin_read_dyld_info): Only build if
2015 TASK_DYLD_INFO_COUNT is defined.
2016 (darwin_xfer_partial): Call darwin_read_dyld_info only if
2017 TASK_DYLD_INFO_COUNT is defined.
2018
2019 2013-01-02 Tom Tromey <tromey@redhat.com>
2020
2021 * symfile.h (struct ecoff_debug_hack): Remove.
2022 * objfiles.c: Don't include mdebugread.h.
2023
2024 2013-01-02 Tom Tromey <tromey@redhat.com>
2025
2026 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
2027 * configure.ac: Check for Mach-O support in BFD. Update
2028 CONFIG_OBS.
2029 * configure: Rebuild.
2030
2031 2013-01-02 Tom Tromey <tromey@redhat.com>
2032
2033 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
2034 * configure.ac: Use GDB_AC_CHECK_BFD.
2035 * configure: Rebuild.
2036
2037 2013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2038
2039 * MAINTAINERS: Update my email.
2040
2041 2013-01-01 Joel Brobecker <brobecker@adacore.com>
2042
2043 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
2044
2045 2013-01-01 Joel Brobecker <brobecker@adacore.com>
2046
2047 * rs6000-nat.c (bss_data_overlap): New function.
2048 (vmap_symtab): Use it to adjust the .bss section's offset.
2049
2050 2013-01-01 Joel Brobecker <brobecker@adacore.com>
2051
2052 Update year range in copyright notice of all files.
2053
2054 2013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
2055
2056 * top.c (print_gdb_version): Update copyright year.
2057
2058 For older changes see ChangeLog-2012.
2059 \f
2060 Local Variables:
2061 mode: change-log
2062 left-margin: 8
2063 fill-column: 74
2064 version-control: never
2065 coding: utf-8
2066 End:
This page took 0.073258 seconds and 4 git commands to generate.