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