]> Git Repo - binutils.git/blame - gdb/ChangeLog
charset.c: fix -Wpointer-sign
[binutils.git] / gdb / ChangeLog
CommitLineData
2898e560
PA
12013-03-07 Pedro Alves <[email protected]>
2
3 * charset.c (struct wchar_iterator) <input>: Change type to 'const
4 gdb_byte *'.
5 (make_wchar_iterator): Remove cast to char*.
6 (wchar_iterate): Change type of local.
7
a09b4448
PA
82013-03-07 Pedro Alves <[email protected]>
9
10 * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
11 for 'regcache->register_status'.
12
20ced3e4
PA
132013-03-07 Pedro Alves <[email protected]>
14
c2d6a675 15 * breakpoint.c (breakpoint_xfer_memory): Change type of local to
20ced3e4
PA
16 int.
17
fe106009
PA
182013-03-07 Pedro Alves <[email protected]>
19
20 * stap-probe.c (handle_stap_probe): Add cast to char*.
21
8ac2c12b
PA
222013-03-07 Pedro Alves <[email protected]>
23
24 * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv,
25 RECORD_MSGRCV>: Pass a signed variable to
26 regcache_raw_read_signed, instead of an unsigned one.
27
99f0a309
PA
282013-03-07 Pedro Alves <[email protected]>
29
30 * remote-notif.c (notif_debug): Change type to int.
31 * remote-notif.h (notif_debug): Likewise.
32
964b8317
PA
332013-03-07 Pedro Alves <[email protected]>
34
35 * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
36
f0cc8ad4
PA
372013-03-07 Pedro Alves <[email protected]>
38
39 * remote.c (hex2bin, bin2hex): Move extern declarations to ...
40 * remote.h (hex2bin, bin2hex): ... here.
41 * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
42
77dec115
EZ
432013-03-07 Eli Zaretskii <[email protected]>
44
45 * utils.c (initialize_utils): Improve doc strings of "set/show
46 width", "set/show height", and "set/show pagination".
47
741d92cf
KS
482013-03-06 Keith Seitz <[email protected]>
49
50 * ax-gdb.c (gen_printf): Make FORMAT const.
51 * ax-gdb.h (gen_printf): Likewise.
52 * ax-general.c (ax_string): Make STR const.
53 * ax.h (ax_string): Likewise.
54
7b6c814e
DE
552013-03-06 Doug Evans <[email protected]>
56
57 * elfread.c (elf_symfile_read): Move debugging printf to more
58 logical location.
59
634334ab
PA
602013-03-06 Pedro Alves <[email protected]>
61
62 * python/py-utils.c (target_string_to_unicode): Delete function.
63 * python/python-internal.h (target_string_to_unicode): Delete
64 declaration.
65
e482a1a7
PM
662013-03-06 Pierre Muller <[email protected]>
67
68 * linespec.c (get_current_search_block): ARI fix, use (void)
69 for empty parameter list.
70
4eeaa230
DE
712013-03-05 Doug Evans <[email protected]>
72
73 * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
74 of old ada_lookup_symbol_list. In !full_search case, don't
75 search superblocks.
76 (ada_lookup_symbol_list): Delete arg full_search, all callers
77 updated. Call ada_lookup_symbol_list_worker.
78 (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
79 * ada-lang.h (ada_lookup_symbol_list): Update.
80 * language.h (language_defn): Update comment for
81 la_iterate_over_symbols.
82 * linespec.c (iterate_over_file_blocks): New function.
83 (iterate_over_all_matching_symtabs): Call it.
84 (lookup_prefix_sym): Ditto.
85 (get_current_search_block): New function.
86 (get_search_block): Delete.
87 (find_label_symbols): Call get_current_search_block.
88 (add_matching_symbols_to_info): Call iterate_over_file_blocks.
89 * symtab.c (iterate_over_symbols): Don't search superblocks.
90
b69b1fb1
YQ
912013-03-05 Yao Qi <[email protected]>
92
93 * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
94 parameter VAR's type from "unsigned int" to "int".
95 * command.h (var_zuinteger_unlimited): Update its comments.
96 (add_setshow_zuinteger_unlimited_cmd): Update the declaration.
97
3c095f49
CV
982013-03-05 Corinna Vinschen <[email protected]>
99
100 * NEWS: Mention new target x86_64-*-cygwin*.
101
b5b0b0af
CV
1022013-03-05 Corinna Vinschen <[email protected]>
103
104 * configure.host: Add x86_64-*-cygwin* as host.
105 * configure.tgt: Add x86_64-*-cygwin* as target.
106 * config/i386/cygwin64.mh: New file.
107
f6f99966
JK
1082013-03-04 Jan Kratochvil <[email protected]>
109
110 * linespec.c (decode_line_2): Fix duplicate request off by two message.
111
33f448b1
JK
1122013-03-04 Jan Kratochvil <[email protected]>
113
114 * linespec.c (struct linespec_canonical_name): New.
115 (struct linespec_state): Change canonical_names type to it.
116 (add_sal_to_sals): Change variable canonical_name to canonical. Change
117 xrealloc element size. Initialize the different CANONICAL fields.
118 (canonical_to_fullform): New.
119 (filter_results): Use it. Add variables canonical, fullform and
120 cleanup.
121 (struct decode_line_2_item, decode_line_2_compare_items): New.
122 (decode_line_2): Remove variables iter and item_names, add variables
123 items and items_count. Modify the code for these new variables.
124
feb14725
CV
1252013-03-04 Corinna Vinschen <[email protected]>
126
127 * coff-pe-read.c (read_pe_exported_syms): Don't return without
128 calling do_cleanup.
129
e83b17ba
HZ
1302013-03-04 Luis Machado <[email protected]>
131
132 * tracepoint.c (build_traceframe_info): Add code for byte order.
133
a2d13a0d
KB
1342013-03-02 Kevin Buettner <[email protected]>
135
8dddcae8
KB
136 * v850-tdep.c: (v850e2_register_name): Revise system register
137 names to match current V850E2M architecture specifications.
138 Update register number enum comments too.
a2d13a0d 139
d79e58d8
JW
1402013-03-01 Jiong Wang <[email protected]>
141 Pedro Alves <[email protected]>
142
143 * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
144 to END_ADDR.
145 (tilegx_skip_prologue): Limit prologue analysis to section end.
146
c4be5165
JK
1472013-03-01 Jan Kratochvil <[email protected]>
148
149 * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
150 use it.
151
e362b510
PA
1522013-03-01 Pedro Alves <[email protected]>
153
154 Use gdb_byte for bytes from the program being debugged.
155
156 * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
157 Change type of local 'buf' to gdb_byte.
158 * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
159 * bfin-tdep.c (bfin_push_dummy_call): Likewise.
160 * cris-tdep.c (cris_sigcontext_addr)
161 (cris_sigtramp_frame_unwind_cache): Likewise.
162 * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
163 (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
164 Likewise.
165 * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
166 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
167 (hppa32_hpux_search_dummy_call_sequence)
168 (hppa_hpux_supply_save_state): Likewise.
169 * hppa-linux-tdep.c (insns_match_pattern)
170 (hppa_linux_find_global_pointer): Likewise.
171 * hppa-tdep.c (hppa_in_function_epilogue_p)
172 (skip_prologue_hard_way, hppa_frame_cache): Likewise.
173 * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
174 * i386fbsd-tdep.c (i386fbsd_supply_uthread)
175 (i386fbsd_collect_uthread): Likewise.
176 * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
177 * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
178 * ia64-tdep.c (examine_prologue, ia64_frame_cache)
179 (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
180 (ia64_sigtramp_frame_prev_register, ia64_access_reg)
181 (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
182 (ia64_libunwind_frame_prev_register)
183 (ia64_libunwind_sigtramp_frame_this_id)
184 (ia64_find_global_pointer_from_dynamic_section)
185 (find_extant_func_descr, find_func_descr, ia64_dummy_id)
186 (ia64_unwind_pc): Likewise.
187 * iq2000-tdep.c (iq2000_store_return_value): Likewise.
188 * m68hc11-tdep.c (m68hc11_push_dummy_call)
189 (m68hc11_extract_return_value): Likewise.
190 * m68klinux-nat.c (fetch_register, store_register): Likewise.
191 * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
192 (mep_get_insn, mep_push_dummy_call): Likewise.
193 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
194 (mips_linux_in_dynsym_stub): Likewise.
195 * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
196 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
197 * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
198 to gdb_byte.
199 * remote-mips.c (mips_set_register): Likewise.
200 * remote-sim.c (gdbsim_fetch_register): Likewise.
201 * score-tdep.c (score7_fetch_inst): Change type of parameter
202 'memblock' and local 'buf' to gdb_byte.
203 (score7_malloc_and_get_memblock): Change return type to gdb_byte.
204 Change type of local 'buf' to gdb_byte. Adjust.
205 (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
206 to gdb_byte**.
207 (score7_analyze_prologue): Change type of 'memblock' and
208 'memblock_ptr' locals to gdb_byte*.
209 * sh64-tdep.c (sh64_extract_return_value)
210 (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
211 * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
212 * solib-pa64.c (pa64_solib_create_inferior_hook)
213 (pa64_open_symbol_file_object): Remove local 'buf'.
214 * solib-som.c (som_solib_create_inferior_hook, link_map_start)
215 (som_open_symbol_file_object): Likewise.
216 * solib-spu.c (spu_current_sos): Likewise.
217 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
218 * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
219 (spu_store_registers): Likewise.
220 * target.c (debug_print_register): Likewise.
221 * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
222 * xstormy16-tdep.c (xstormy16_store_return_value)
223 (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
224 (xstormy16_find_jmp_table_entry): Likewise.
225
75cc61ca 2262013-03-01 Jiong Wang <[email protected]>
61d8bd0e
JW
227
228 * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
229 (tilegx_gdbarch_init): Install it.
230
ddb08e9c
TT
2312013-02-28 Tom Tromey <[email protected]>
232
233 * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
234 PyLong_Check.
235
62d7fb51
DE
2362013-02-28 Doug Evans <[email protected]>
237
238 * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
239 * python/python.c (gdbpy_find_pc_line): Ditto.
240
c4a9e8b4
TT
2412013-02-28 Tom Tromey <[email protected]>
242
243 * contrib/excheck.py: New file.
244 * contrib/exsummary.py: New file.
245 * contrib/gcc-with-excheck: New file.
246
7f6a5dde
TT
2472013-02-28 Tom Tromey <[email protected]>
248
249 * python/python.c (gdbpy_print_stack): Call begin_line and
250 fprintf_filtered inside TRY_CATCH.
251
9e974e55
TT
2522013-02-28 Tom Tromey <[email protected]>
253
254 * python/python.c (gdbpy_find_pc_line): Call find_pc_line
255 inside TRY_CATCH.
256
dd5fa3e7
TT
2572013-02-28 Tom Tromey <[email protected]>
258
259 * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
260 frame_object_to_frame_info inside TRY_CATCH.
261
86a3263f
TT
2622013-02-28 Tom Tromey <[email protected]>
263
264 * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
265 TRY_CATCH.
266
81b52a3a
TT
2672013-02-28 Tom Tromey <[email protected]>
268
269 * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
270
d50a0ce2
CV
2712013-02-27 Corinna Vinschen <[email protected]>
272
273 * windows-nat.c: Throughout, fix format strings and casts of
274 printf-like functions to avoid type related warnings on all
275 platforms.
276 (handle_output_debug_string): Fetch context information address
277 from debug string using string_to_core_addr.
278
e1f58301
JW
2792013-02-27 Jiong Wang <[email protected]>
280
281 * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
282 * regformats/reg-tilegx32.dat: New.
283
4fcd89fc
JW
2842013-02-27 Jiong Wang <[email protected]>
285
286 * configure.tgt (tilegx-*-linux*): Enable gdbserver.
287
748d24e6
JW
2882013-02-27 Jiong Wang <[email protected]>
289
290 * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
291
6c8e944d
YQ
2922013-02-27 Yao Qi <[email protected]>
293 Pedro Alves <[email protected]>
294
295 * tracepoint.c (tfile_trace_find): For tfind
296 pc/tp/range/outside, look for the next trace frame instead of
297 always starting from frame 0.
298
acd7db30
AG
2992013-02-26 Anthony Green <[email protected]>
300
301 * configure.tgt: Add support for moxie-*-rtems* target.
302
025e6dce
PA
3032013-02-25 Pedro Alves <[email protected]>
304
305 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
306 warning text.
307
ca9c94ef
MR
3082013-02-24 Maciej W. Rozycki <[email protected]>
309
310 * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
311 if $fp is used as the virtual frame pointer.
312
24c274a1
AM
3132013-02-23 Alan Modra <[email protected]>
314
315 * elfread.c (elf_symtab_read): Do not use udata.p here to find
316 symbol size.
317 * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
318 * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
319 * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
320 * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
321
bfada189
JK
3222013-02-22 Jan Kratochvil <[email protected]>
323
324 Code cleanup.
325 * elfread.c (build_id_bfd_get): Make the return type const.
326 (build_id_verify): Make the check parameter const.
327 (build_id_to_debug_filename): Make the build_id parameter and variable
328 data const.
329 (find_separate_debug_file_by_buildid): Make the variable build_id const.
330
c0355132
AM
3312013-02-21 Alan Modra <[email protected]>
332
333 * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes.
334
9f44fbc0
SCR
3352013-02-20 Siva Chandra Reddy <[email protected]>
336
337 Add a new method 'disassemble' to gdb.Architecture class.
338 * python/py-arch.c (archpy_disassmble): Implementation of the
339 new method gdb.Architecture.disassemble.
340 (arch_object_methods): Add entry for the new method.
341
b74ea3eb
JW
3422013-02-20 Jiong Wang <[email protected]>
343
344 * MAINTAINERS (Write After Approval): Add myself to the list.
345
61a672f1
PA
3462013-02-19 Pedro Alves <[email protected]>
347
348 Garbage collect 'struct monitor_ops'::load_routine.
349
350 * monitor.h (struct monitor_ops) <load_routine>: Remove field.
351 * monitor.c (monitor_load): No longer call
352 current_monitor->load_routine.
353 * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
354 * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
355 * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
356
40e397df
PA
3572013-02-19 Pedro Alves <[email protected]>
358
359 PR gdb/15161
360
361 Harmonize with generic_load.
362
363 * monitor.c: Include "readline/readline.h".
364 (monitor_load): Rename parameter 'file' to 'args'. Use build_argv
365 instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned
366 long/strtol for the 'load_offset' local. Error out if no argument
367 is given or if too many arguments are given. Tilde expand the
368 passed in file name.
369
f698ca8e
KT
3702013-02-19 Kai Tietz <[email protected]>
371
372 PR gdb/15161
373 * symfile.c (load_section_data): Change type of load_offset
374 to CORE_ADDR.
375 (generic_load): User strtoulst instead of strtoul for conversion
376 of load_offset.
377
3361b059
WL
3782013-02-19 Jiong Wang <[email protected]>
379
380 * tilegx-tdep.c (tilegx_analyze_prologue): add check for
381 for return address, "lr" register, saved on stack.
382 * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
383 after we invoke tilegx_analyze_prologue.
384
3e9d5130
WL
3852013-02-19 Jiong Wang <[email protected]>
386
bb1bcd86
WL
387 * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
388
3361b059 3892013-02-19 Jiong Wang <[email protected]>
bb1bcd86 390
b74ea3eb 391 * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
3e9d5130 392
4aaf2503
WL
3932013-02-19 Jiong Wang <[email protected]>
394
b74ea3eb 395 * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
4aaf2503
WL
396 (tilegx_write_pc): New function.
397 (tilegx_cannot_reference_register): Return zero if REGNO
398 is TILEGX_FAULTNUM_REGNUM.
399 (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
400 (tilegx_register_name): Add handling of "faultnum" register.
401 * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
402 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
403 handling of TILEGX_FAULTNUM_REGNUM.
404 * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
405
bc23a956
WL
4062013-02-19 Jiong Wang <[email protected]>
407
408 * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
b74ea3eb 409 should be aligned to 64bit.
bc23a956 410
42f45f1a
KT
4112013-02-19 Kai Tietz <[email protected]>
412
413 * windows-nat.c (windows_xfer_memory): Fix debug-output
414 for LLP64.
415
6ce4c112
LL
4162013-02-19 Lei Liu <[email protected]>
417
418 * mips-linux-nat.c (mips64_linux_regsets_store_registers):
419 Don't check DSP register number if HAVE_DSP is not set.
420
30e8ee25
AM
4212013-02-19 Alan Modra <[email protected]>
422
423 * elfread.c (struct build_id): Delete. Use struct elf_build_id
424 throughout file instead.
425 (build_id_bfd_get): Update to use new elf_tdata build_id field.
426 Don't xmalloc return value.
427 (build_id_verify): Similarly. Don't xfree.
428 (build_id_to_debug_filename): Update.
429 (find_separate_debug_file_by_buildid): Update, don't xfree.
430
4c9ad8c2
TT
4312013-02-18 Tom Tromey <[email protected]>
432
433 PR gdb/15102:
434 * dwarf2read.c (read_subrange_type): Use result of
435 'check_typedef'.
436
983dc440
YQ
4372013-02-16 Yuanhui Zhang <[email protected]>
438
439 * frame.c: Remove one extra white space after #include
440 directive.
441
7fb2b84a
JK
4422013-02-15 Jan Kratochvil <[email protected]>
443
444 * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
445
edceb2a9
JK
4462013-02-15 Jan Kratochvil <[email protected]>
447
448 * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
449 and dir commands into an if block.
450
e81b7af8
TT
4512013-02-15 Sanimir Agovic <[email protected]>
452
453 * python/py-breakpoint (struct pybp_code): Use int instead of
454 enum type_code.
455
f5911ea1
HAQ
4562013-02-15 Pedro Alves <[email protected]>
457 Hafiz Abid Qadeer <[email protected]>
458
459 * NEWS: Mention new field "trace-file".
460 * tracepoint.c (trace_status_mi): Output "trace-file" field.
461 (tfile_open): Record the trace file's filename in the trace
462 status.
463 (tfile_files_info): Mention the name of the trace file.
464 Check the "filename" field explicitely.
465 (trace_status_command): Explicitely check "filename" field.
466 (trace_find_command): Ditto.
467 (trace_find_pc_command): Ditto.
468 (trace_find_tracepoint_command): Ditto.
469 (trace_find_line_command): Ditto.
470 (trace_find_range_command): Ditto.
471 (trace_find_outside_command): Ditto.
472 * tracepoint.h (struct trace_status) <from_file>: Rename it
473 to "filename" and make it hold the trace file's filename
474 instead of a boolean.
475 * remote.c (remote_get_trace_status): Initialize "filename"
476 field with NULL instead of 0.
477
796cb314
YQ
4782013-02-15 Yao Qi <[email protected]>
479
480 * remote.c: Fix a typo.
481
42e79b1d
PM
4822013-02-14 Pierre Muller <[email protected]>
483
484 * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
485
baea0dae
PA
4862013-02-14 Pedro Alves <[email protected]>
487
488 * utils.c (savestring): Don't #undef it. Move function to
489 common/common-utils.c.
490 * common/common-utils.c: Include gdb_string.h.
491 (savestring): Move here from utils.c.
492 * common/common-utils.h (savestring): Declare.
493
57c3b6ed
PA
4942013-02-14 Pedro Alves <[email protected]>
495
496 * utils.c (savestring): Rename parameter 'size' to 'len'.
497
d6c44983
YZ
4982013-02-14 Pedro Alves <[email protected]>
499 Yufeng Zhang <[email protected]>
500
501 * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
502 (aarch64_inferior_data, struct aarch64_inferior_data):
503 Delete.
504 (struct aarch64_process_info): New.
505 (aarch64_process_list): New global.
506 (aarch64_find_process_pid, aarch64_add_process)
507 (aarch64_process_info_get): New functions.
508 (aarch64_inferior_data_get): Delete.
509 (aarch64_process_info_get): New function.
510 (aarch64_forget_process): New function.
511 (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement.
512 (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
513 aarch64_get_debug_reg_state.
514 (aarch64_notify_debug_reg_change): Use iterate_over_lwps
515 instead of linux_nat_iterate_watchpoint_lwps.
516 (aarch64_linux_new_fork): New function.
517 (aarch64_linux_child_post_startup_inferior): Use
518 aarch64_forget_process instead of aarch64_init_debug_reg_state.
519 (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
520 (aarch64_linux_remove_hw_breakpoint)
521 (aarch64_handle_aligned_watchpoint)
522 (aarch64_handle_unaligned_watchpoint)
523 (aarch64_linux_insert_watchpoint)
524 (aarch64_linux_remove_watchpoint)
525 (aarch64_linux_stopped_data_address): Adjust to pass the current
526 process id to aarch64_debug_reg_state.
527 (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
528 linux_nat_new_fork hook, and aarch64_forget_process as
529 linux_nat_forget_process hook; remove the call to
530 register_inferior_data_with_cleanup.
531
4819b3f8
PA
5322013-02-14 Pedro Alves <[email protected]>
533
534 * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
535 EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
536 lval_memory.
537
1773c82c
HAQ
5382013-02-14 Pedro Alves <[email protected]>
539 Hafiz Abid Qadeer <[email protected]>
540
541 * tracepoint.h (validate_trace_state_variable_name): Declare.
542 * tracepoint.c (validate_trace_state_variable_name): New.
543 (trace_variable_command): Parse the trace state variable's name
544 without using parse_expression. Do several validations.
545 * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
546 trace state variable's name with parse_expression. Validate it.
547
53778a97
YQ
5482013-02-14 Yao Qi <[email protected]>
549
550 * infcmd.c (breakpoint_proceeded): Remove it.
551
7b3ae3a6
YQ
5522013-02-14 Yao Qi <[email protected]>
553
554 * tracepoint.c (end_actions_pseudocommand): Make it static.
555 (while_stepping_pseudocommand): Likewise.
556 * tracepoint.h (end_actions_pseudocommand): Remove the
557 declaration.
558 (while_stepping_pseudocommand): Likewise.
559
64580925
YQ
5602013-02-14 Yao Qi <[email protected]>
561
562 * cli/cli-decode.c (help_cmd): Remove the declaration of
563 "cmdlist".
564 (help_all): Likewise.
565
26cb8b7c
PA
5662013-02-13 Pedro Alves <[email protected]>
567
568 * amd64-linux-nat.c (update_debug_registers_callback):
569 Update comment.
570 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
571 iterate_over_lwps.
572 (amd64_linux_prepare_to_resume): Pass the lwp's pid to
573 i386_debug_reg_state.
574 (amd64_linux_new_fork): New function.
575 (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
576 linux_nat_new_fork hook, and i386_forget_process as
577 linux_nat_forget_process hook.
578 * i386-linux-nat.c (update_debug_registers_callback):
579 Update comment.
a8256ea1 580 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
26cb8b7c
PA
581 iterate_over_lwps.
582 (i386_linux_prepare_to_resume): Pass the lwp's pid to
583 i386_debug_reg_state.
584 (i386_linux_new_fork): New function.
585 (_initialize_i386_linux_nat): Install i386_linux_new_fork as
586 linux_nat_new_fork hook, and i386_forget_process as
587 linux_nat_forget_process hook.
588 * i386-nat.c (i386_init_dregs): Delete.
589 (i386_inferior_data, struct i386_inferior_data):
590 Delete.
591 (struct i386_process_info): New.
592 (i386_process_list): New global.
593 (i386_find_process_pid, i386_add_process, i386_process_info_get):
594 New functions.
595 (i386_inferior_data_get): Delete.
596 (i386_process_info_get): New function.
597 (i386_debug_reg_state): New parameter 'pid'. Reimplement.
598 (i386_forget_process): New function.
599 (i386_cleanup_dregs): Rewrite.
600 (i386_update_inferior_debug_regs, i386_insert_watchpoint)
601 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
602 (i386_stopped_data_address, i386_insert_hw_breakpoint)
603 (i386_remove_hw_breakpoint): Adjust to pass the current process id
604 to i386_debug_reg_state.
605 (i386_use_watchpoints): Don't register inferior data.
606 * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
607 adjust comment.
608 (i386_forget_process): Declare.
609 * linux-fork.c (delete_fork): Call linux_nat_forget_process.
610 * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
611 New static globals.
612 (linux_child_follow_fork): Don't call linux_nat_new_thread here.
613 (add_initial_lwp): New, factored out from ...
614 (add_lwp): ... this. Don't check the number of lwps before
615 calling linux_nat_new_thread.
616 (linux_nat_iterate_watchpoint_lwps): Delete.
617 (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
618 (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
619 forks and vforks.
620 (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
621 initial lwp.
622 (linux_nat_kill, linux_nat_mourn_inferior): Call
623 linux_nat_forget_process.
624 (linux_nat_set_new_fork, linux_nat_set_forget_process)
625 (linux_nat_forget_process): New functions.
626 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
627 type.
628 (linux_nat_iterate_watchpoint_lwps): Delete declaration.
629 (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
630 types.
631 (linux_nat_set_new_fork, linux_nat_set_forget_process)
632 (linux_nat_forget_process): New declarations.
633
634 * amd64fbsd-nat.c (super_mourn_inferior): New global.
635 (amd64fbsd_mourn_inferior): New function.
636 (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
637 * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
638
5befea72
MS
6392013-02-13 Marcus Shawcroft <[email protected]>
640
55015247
YQ
641 * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
642 Adding _().
5befea72 643
1d3ffd6b
MS
6442013-02-13 Marcus Shawcroft <[email protected]>
645
646 * aarch64-linux-nat.c (debug_reg_change_callback)
647 (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
648 %s and phex().
649
6eb04473
MS
6502013-02-13 Marcus Shawcroft <[email protected]>
651
652 * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
653 with LONGEST.
654
a016fc87
HAQ
6552013-02-13 Pedro Alves <[email protected]>
656 Hafiz Abid Qadeer <[email protected]>
657
658 * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
659
e234dfaf
TT
6602013-02-12 Tom Tromey <[email protected]>
661
662 PR symtab/11464:
663 * c-exp.y (lex_one_token): Initialize other fields of yylval on
664 NAME return.
665 (classify_inner_name): Remove 'first_name' argument, add
666 'context'. Remove unused variable.
667 (yylex): Explicitly maintain the context type. Exit loop earlier
668 if NAME result is seen.
669
0b1afbb3
PA
6702013-02-12 Pedro Alves <[email protected]>
671
672 * amd64-darwin-tdep.c: Add (C) after Copyright.
673 * cli/cli-cmds.h: Ditto.
674 * cli/cli-decode.c: Ditto.
675 * cli/cli-decode.h: Ditto.
676 * cli/cli-dump.c: Ditto.
677 * cli/cli-dump.h: Ditto.
678 * cli/cli-interp.c: Ditto.
679 * cli/cli-logging.c: Ditto.
680 * cli/cli-script.c: Ditto.
681 * cli/cli-script.h: Ditto.
682 * cli/cli-setshow.c: Ditto.
683 * cli/cli-setshow.h: Ditto.
684 * cli/cli-utils.c: Ditto.
685 * cli/cli-utils.h: Ditto.
686 * config/alpha/nm-osf3.h: Ditto.
687 * config/djgpp/djconfig.sh: Ditto.
688 * config/i386/nm-fbsd.h: Ditto.
689 * config/i386/nm-i386gnu.h: Ditto.
690 * config/nm-linux.h: Ditto.
691 * config/nm-nto.h: Ditto.
692 * config/rs6000/nm-rs6000.h: Ditto.
693 * config/sparc/nm-sol2.h: Ditto.
694 * darwin-nat-info.c: Ditto.
695 * dfp.c: Ditto.
696 * dfp.h: Ditto.
697 * gdb-demangle.h: Ditto.
698 * i386-darwin-nat.c: Ditto.
699 * i386-darwin-tdep.c: Ditto.
700 * linux-fork.h: Ditto.
701 * m32c-tdep.c: Ditto.
702 * microblaze-linux-tdep.c: Ditto.
703 * microblaze-rom.c: Ditto.
704 * microblaze-tdep.c: Ditto.
705 * microblaze-tdep.h: Ditto.
706 * mips-linux-tdep.h: Ditto.
707 * ppc-ravenscar-thread.c: Ditto.
708 * ppc-ravenscar-thread.h: Ditto.
709 * prologue-value.c: Ditto.
710 * prologue-value.h: Ditto.
711 * ravenscar-thread.c: Ditto.
712 * ravenscar-thread.h: Ditto.
713 * sparc-ravenscar-thread.c: Ditto.
714 * sparc-ravenscar-thread.h: Ditto.
715 * tilegx-linux-tdep.c: Ditto.
716 * unwind_stop_reasons.def: Ditto.
717 * windows-nat.h: Ditto.
718 * xtensa-linux-tdep.c: Ditto.
719 * xtensa-xtregs.c: Ditto.
720 * regformats/regdat.sh: Ditto.
721 * regformats/regdef.h: Ditto.
722
6c01dd94
PA
7232013-02-12 Pedro Alves <[email protected]>
724
725 * break-catch-sig.c: Update copyright years.
726
b65a2bd9
SCR
7272013-02-11 Siva Chandra Reddy <[email protected]>
728
729 Add support for a destructor for ui_out data and use it to
730 provide a ui_out destructor.
731 * ui-out.h: Declare the new ui_out destructor.
732 (ui_out_impl): Add a field for data destructor in ui_out_impl.
733 * ui-out.c (default_data_destroy): Add a default data destructor
734 which does nothing.
735 (default_ui_out_impl): Set the new data_destroy field to
736 default_data_destroy
737 (uo_data_destroy): Local function which invokes the data
738 destructor if present.
739 (clear_table): Local function which clears the table data of a
740 ui_out object.
741 (ui_out_destroy): Public function which frees a ui_out object.
742 (ui_out_table_end): Use the new clear_table function.
743 * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
744 NULL.
745 * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
746 to NULL.
747
c2792f5a
DE
7482013-02-11 Doug Evans <[email protected]>
749
750 * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
751 (printf_decfloat): New function. Broken out from ui_printf.
752 Remove unnecessary code to shift the entire format string down.
753 (printf_pointer): New function.
754 (ui_printf): Code to print C strings, wide C strings, decfloats,
755 and pointers moved to separate functions.
756
d9e98382
SDJ
7572013-02-11 Sergio Durigan Junior <[email protected]>
758
759 * valops.c (value_assign): Handling bitfield offset in
760 `lval_internalvar_component' case.
761
4ff3ce77
DE
7622013-02-08 Doug Evans <[email protected]>
763
764 * common/format.c (parse_format_string): Fix whitespace.
765
901900c4
MGD
7662013-02-08 Matthew Gretton-Dann <[email protected]>
767
768 * stack.c (return_command): Work around uninitialized variable
769 warning.
770
b5dbc8d4
YZ
7712013-02-08 Yufeng Zhang <[email protected]>
772
773 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
774 number of the registers from 36 to 34.
775
51d66578
MS
7762013-02-08 Marcus Shawcroft <[email protected]>
777
778 * NEWS: Mention new AArch64 native and target support.
779
176b1c95
MS
7802013-02-08 Marcus Shawcroft <[email protected]>
781
782 * MAINTAINERS (Write After Approval): Add myself.
783
9d19df75
MS
7842013-02-08 Jim MacArthur <[email protected]>
785 Marcus Shawcroft <[email protected]>
786 Nigel Stephens <[email protected]>
787 Yufeng Zhang <[email protected]>
788
789 * aarch64-linux-nat.c: New file.
790 * config/aarch64/linux.mh: New file.
791 * configure.host: Add AArch64.
792 * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
793
7e1e0340
DE
7942013-02-07 Doug Evans <[email protected]>
795
796 * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
797 disassemble command.
798
45e25a36
MS
7992013-02-07 Marcus Shawcroft <[email protected]>
800
801 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
802 set_gdbarch_fetch_tls_load_module_address.
803
bbfdfe1c
DM
8042013-02-06 David S. Miller <[email protected]>
805
806 * sparc-tdep.c (sparc32_return_value): Handle writing return value when
807 using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
808 * value.c (struct_return_convention): New function.
809 (using_struct_return): Implement in terms of struct_return_convention.
810 * value.h (struct_return_convention): Declare.
811 * stack.c (return_command): Allow successful overriding of the return
812 value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
813
bc9abe4a
TT
8142013-02-06 Tom Tromey <[email protected]>
815
816 * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
817 outside of TRY_CATCH.
818
134a2066
YQ
8192013-02-06 Yao Qi <[email protected]>
820
821 * mi/mi-interp.c: Include "tracepoint.h".
822 (mi_tsv_modified): Declare.
823 (mi_tsv_created, mi_tsv_deleted): Update declaration.
824 (mi_interpreter_init): Call observer_attach_tsv_modified.
825 (mi_tsv_modified): New.
826 (mi_tsv_created, mi_tsv_deleted): Update.
827 * tracepoint.c (trace_variable_command): Call
828 observer_notify_tsv_modified if the initial value of tsv is
829 changed.
830 (delete_trace_state_variable): Call
831 observer_notify_tsv_deleted earlier.
832 (trace_variable_command): Caller update.
833 (create_tsv_from_upload): Likewise.
834 * observer.sh: Declare "struct trace_state_variable".
835
836 * NEWS: Mention the new MI notification "=tsv-modified".
837
59be2b6a
DE
8382013-02-05 Doug Evans <[email protected]>
839
840 * completer.c (location_completer): Fix typo in comment.
841
d30113d4
JK
8422013-02-05 Jan Kratochvil <[email protected]>
843
844 * breakpoint.c (add_location_to_breakpoint): Insert the location with
845 ADDRESS sorted.
846
14ac654f
MS
8472013-02-05 Marcus Shawcroft <[email protected]>
848
849 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
850 Refactor if statement to avoid trailing || operator.
851
543bf33d
AT
8522013-02-05 Andreas Tobler <[email protected]>
853
854 * NEWS: Add PowerPC FreeBSD as a new native configuration.
855
dc18f110
AT
8562013-02-04 Andreas Tobler <[email protected]>
857
858 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
859 * configure.host: Add powerpc*-*-freebsd* target.
860 * configure.tgt: Add target info for powerpc*-*-freebsd*.
861 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
862 * config/powerpc/fbsd.mh: New file.
863
b3ac9c77
SDJ
8642013-02-04 Sergio Durigan Junior <[email protected]>
865 Denys Vlasenko <[email protected]>
866 Pedro Alves <[email protected]>
867
868 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
869 (struct elf_internal_linux_prpsinfo): Forward declare.
870 * gdbarch.h, gdbarch.c: Regenerate.
871 * linux-tdep.c: Include `cli/cli-utils.h'.
872 (linux_fill_prpsinfo): New function.
873 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
874 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
875 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
876 depending on gdbarch pointer bitness.
877 * ppc-linux-tdep.c: Include elf-bfd.h.
878 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
879 on 32-bit.
880
176eb98c
MS
8812013-02-04 Jim MacArthur <[email protected]>
882 Marcus Shawcroft <[email protected]>
883 Nigel Stephens <[email protected]>
884 Yufeng Zhang <[email protected]>
885
886 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
887
cf0dbd6f
MS
8882013-02-04 Jim MacArthur <[email protected]>
889 Marcus Shawcroft <[email protected]>
890 Nigel Stephens <[email protected]>
891 Yufeng Zhang <[email protected]>
892
893 * aarch64-newlib-tdep.c: New file.
894 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
895 aarch64*-*-elf.
896 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
897 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
898 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
899 * osabi.c (gdb_osabi_names): Add "Newlib".
900
1ae3db19
MS
9012013-02-04 Jim MacArthur <[email protected]>
902 Marcus Shawcroft <[email protected]>
903 Nigel Stephens <[email protected]>
904 Yufeng Zhang <[email protected]>
905
906 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
907 (ALLDEPFILES): Add aarch64-linux-tdep.c.
908 * aarch64-linux-tdep.c: New file.
909 * aarch64-linux-tdep.h: New file.
910 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
911 * configure.tgt: Add aarch64-none-linux-gnu.
912
07b287a0
MS
9132013-02-04 Jim MacArthur <[email protected]>
914 Marcus Shawcroft <[email protected]>
915 Nigel Stephens <[email protected]>
916 Yufeng Zhang <[email protected]>
917
918 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
919 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
920 (ALLDEPFILES): Add aarch64-tdep.c.
921 * aarch64-tdep.c: New file.
922 * aarch64-tdep.h: New file.
923 * configure.tgt: Add AArch64.
924 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
925 (aarch64-expedite): New definition.
926 * features/aarch64-core.xml: New file.
927 * features/aarch64-fpu.xml: New file.
928 * features/aarch64-without-fpu.c: New file (generated).
929 * features/aarch64-without-fpu.xml: New file.
930 * features/aarch64.c: New file (generated).
931 * features/aarch64.xml: New file.
932 * regformats/aarch64-without-fpu.dat: New file (generated).
933 * regformats/aarch64.dat: New file (generated).
934
0f1b18ab
JK
9352013-02-03 Jan Kratochvil <[email protected]>
936
937 * contrib/expect-read1.c: New file.
938 * contrib/expect-read1.sh: New file.
939
233d95b5
JK
9402013-02-03 Jan Kratochvil <[email protected]>
941
942 * dwarf2read.c (file_file_name): New function with code from
943 file_full_name.
944 (file_full_name): Move most of the code to file_file_name.
945 (macro_start_file): Rename variable full_name to file_name and use
946 file_file_name for it. Add comp_dir parameter to new_macro_table.
947 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
948 macro_source_file->filename access by macro_source_fullname call.
949 * macroscope.c (_initialize_macroscope): Update the new_macro_table
950 caller.
951 * macrotab.c (struct macro_table): New field comp_dir.
952 (macro_include): New variables link_fullname and source_fullname.
953 Replace any macro_source_file->filename access by macro_source_fullname
954 call.
955 (macro_lookup_inclusion): Remove the partial filenames checking code.
956 (check_for_redefinition): New variables source_fullname and
957 found_key_fullname. Replace any macro_source_file->filename access by
958 macro_source_fullname call.
959 (macro_undef): New variables source_fullname and key_fullname. Replace
960 any macro_source_file->filename access by macro_source_fullname call.
961 (macro_lookup_definition): New variables retval and source_fullname.
962 Replace any macro_source_file->filename access by macro_source_fullname
963 call.
964 (foreach_macro): New variable key_fullname. Replace any
965 macro_source_file->filename access by macro_source_fullname call.
966 (foreach_macro_in_scope): New variable datum_fullname. Replace any
967 macro_source_file->filename access by macro_source_fullname call.
968 (new_macro_table): Add parameter comp_dir. Initialize T with it.
969 (macro_source_fullname): New function.
970 * macrotab.h (struct macro_source_file): Extent the filename field
971 comment.
972 (new_macro_table): New parameter comp_dir, add a comment for it.
973 (macro_source_fullname): new declaration.
974
da235a7c
JK
9752013-02-03 Jan Kratochvil <[email protected]>
976
977 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
978 this_real_name to outer block. Use it also for
979 compare_filenames_for_search.
980 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
981 with dw2_get_real_path for file_matcher, considering also
982 BASENAMES_MAY_DIFFER.
983 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
984
fbd9ab74
JK
9852013-02-03 Jan Kratochvil <[email protected]>
986
987 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
988 to the file_matcher parameter. Pass 0 to it.
989 (dwarf2_create_include_psymtab): Copy also DIRNAME.
990 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
991 NULL psymtab_to_fullname result.
992 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
993 an expected filename instead.
994 (expand_symtabs_matching_via_partial): Add basenames parameter to the
995 file_matcher parameter. Call also psymtab_to_fullname, after newly
996 considering BASENAMES_MAY_DIFFER.
997 * source.c (rewrite_source_path): Remove static.
998 * source.h (rewrite_source_path): New declaration.
999 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
1000 the expand_symtabs_matching field. Comment it.
1001 * symtab.c (file_matches): New function comment. Add parameter
1002 basenames, implement it.
1003 (search_symbols_file_matches): Add basenames parameter. Update the
1004 file_matches caller.
1005 (search_symbols): Match FILES also against symtab_to_fullname.
1006 Optimize it for BASENAMES_MAY_DIFFER.
1007
56d397a3
JK
10082013-02-03 Jan Kratochvil <[email protected]>
1009
1010 * source.c (print_source_lines_base): Print for TUI also "fullname".
1011 * tui/tui-data.c (init_content_element): Change tui_locator_element
1012 field to full_name.
1013 * tui/tui-data.h (struct tui_locator_element): Likewise.
1014 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
1015 tui_update_locator_filename calls to tui_update_locator_fullname.
1016 Replace symtab->filename refererence by symtab_to_fullname call.
1017 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
1018 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
1019 field to full_name. Replace symtab->filename refererence by
1020 symtab_to_fullname call.
1021 (tui_show_symtab_source): Rename parameter to fullname. Change
1022 tui_locator_element field to full_name.
1023 * tui/tui-stack.c: Include source.h.
1024 (tui_set_locator_filename): Rename the declaration to ...
1025 (tui_set_locator_fullname): ... here. Rename its parameter to
1026 fullname, updates its comment.
1027 (tui_set_locator_info): Rename its parameter to fullname.
1028 (tui_set_locator_filename): Rename the definition to ...
1029 (tui_set_locator_fullname): ... here. Rename its parameter to
1030 fullname, updates its comment. Change tui_locator_element field to
1031 full_name.
1032 (tui_set_locator_info): Rename its parameter to fullname.
1033 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
1034 (tui_update_locator_filename): Rename to ...
1035 (tui_update_locator_fullname): ... here. Rename callee to
1036 tui_set_locator_fullname.
1037 (tui_show_frame_info): Replace symtab->filename refererence by
1038 symtab_to_fullname call.
1039 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
1040 (tui_update_locator_fullname): ... here.
1041 * tui/tui-winsource.c (tui_display_main): Rename the callee to
1042 tui_update_locator_fullname. Replace symtab->filename refererence by
1043 symtab_to_fullname call.
1044 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
1045 Rename the callee to tui_update_locator_fullname.
1046 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
1047
05cba821
JK
10482013-02-03 Jan Kratochvil <[email protected]>
1049
1050 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
1051 by symtab_to_filename_for_display calls.
1052 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
1053 (clear_command): New variable sal_fullname, initialize it. Replace
1054 compare_filenames_for_search by filename_cmp with sal_fullname.
1055 (say_where, update_static_tracepoint): Replace symtab->filename
1056 refererences by symtab_to_filename_for_display calls.
1057 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
1058 Likewise.
1059 * dwarf2read.c: Include source.h.
1060 (fixup_go_packaging): Replace symtab->filename refererences by
1061 symtab_to_filename_for_display calls.
1062 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
1063 Replace symtab->filename refererences by symtab_to_filename_for_display
1064 calls.
1065 (create_sals_line_offset, convert_linespec_to_sals): New variable
1066 fullname, initialize it, replace symtab->filename reference by the
1067 variable.
1068 * linux-fork.c: Include source.h.
1069 (info_checkpoints_command): Replace symtab->filename refererences by
1070 symtab_to_filename_for_display calls.
1071 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
1072 by symtab_to_filename_for_display calls.
1073 * mdebugread.c: Include source.h.
1074 (psymtab_to_symtab_1): Replace symtab->filename refererences by
1075 symtab_to_filename_for_display calls.
1076 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
1077 (mi_cmd_file_list_exec_source_files): Likewise.
1078 * printcmd.c: Include source.h.
1079 (build_address_symbolic): Replace symtab->filename refererences by
1080 symtab_to_filename_for_display calls.
1081 * psymtab.c (partial_map_symtabs_matching_filename)
1082 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
1083 with psymtab_to_fullname.
1084 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
1085 by symtab_to_filename_for_display calls.
1086 (stpy_get_filename): New variable filename, initialize it, use instead
1087 of symtab->filename refererences.
1088 (salpy_str): Make variable filename const char *. Replace
1089 symtab->filename refererences by symtab_to_filename_for_display calls.
1090 * skip.c: Include source.h and filenames.h.
1091 (skip_file_command): Remove const from the symtab variable. Replace
1092 symtab->filename refererences by symtab_to_fullname call.
1093 (function_name_is_marked_for_skip): New variables searched_for_fullname
1094 and fullname. Use them to search also with symtab's fullname.
1095 * source.c (find_source_lines): Replace symtab->filename refererences
1096 by symtab_to_filename_for_display calls.
1097 (print_source_lines_base): New variable filename, use it instead of
1098 symtab->filename. Replace symtab->filename refererences by
1099 symtab_to_filename_for_display calls.
1100 (line_info, forward_search_command): Replace symtab->filename
1101 refererences by symtab_to_filename_for_display calls.
1102 (reverse_search_command): Replace symtab->filename refererences by
1103 symtab_to_filename_for_display calls. New variable filename for it.
1104 * stack.c (frame_info): Likewise.
1105 * symmisc.c: Include source.h.
1106 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
1107 (maintenance_info_symtabs): Replace symtab->filename refererences by
1108 symtab_to_filename_for_display calls.
1109 * symtab.c (iterate_over_some_symtabs): Call
1110 compare_filenames_for_search also with symtab_to_fullname.
1111 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
1112 symtab->filename refererences by symtab_to_filename_for_display calls.
1113 (find_line_symtab): Replace symtab->filename refererences by
1114 symtab_to_filename_for_display calls.
1115 (file_matches): Replace filename_cmp by compare_filenames_for_search.
1116 (print_symbol_info): Make the last parameter const char *. New
1117 variable s_filename. Use it in the function.
1118 (symtab_symbol_info): Make the last_filename variable const char *.
1119 Replace symtab->filename refererences by symtab_to_filename_for_display
1120 calls.
1121 (rbreak_command): New variable fullname. Use it. Replace
1122 symtab->filename refererence by symtab_to_filename_for_display call.
1123 * tracepoint.c (set_traceframe_context, trace_find_line_command)
1124 (print_one_static_tracepoint_marker): Replace symtab->filename
1125 refererences by symtab_to_filename_for_display calls.
1126 * tui/tui-source.c (tui_set_source_content): New variables filename and
1127 s_filename. Replace symtab->filename refererences by this variable.
1128 Replace other symtab->filename refererences by
1129 symtab_to_filename_for_display calls.
1130
1b56eb55
JK
11312013-02-03 Eldar Gaynetdinov <[email protected]>
1132 Jan Kratochvil <[email protected]>
1133
1134 Add a new variable that controls a way in which filenames are
1135 displayed.
1136 * NEWS (set filename-display): New entry.
1137 * source.c (filename_display_basename, filename_display_relative)
1138 (filename_display_absolute, filename_display_kind_names)
1139 (filename_display_string, show_filename_display_string)
1140 (symtab_to_filename_for_display): New.
1141 (_initialize_source): Added initialization of 'filename-display'
1142 variable.
1143 * source.h (symtab_to_filename_for_display): Added declaration.
1144 * stack.c (print_frame): Added new variable and calling of a new
1145 function and condition with this variable. Changed third argument of
1146 calling of a function.
1147
aa079c93
JK
11482013-02-03 Jan Kratochvil <[email protected]>
1149
1150 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
1151 Rename field reference filename to fullname.
1152 * tui/tui-data.h (struct tui_source_info): Rename field filename to
1153 fullname. New comment for it.
1154 * tui/tui-source.c (tui_set_source_content): Rename field reference
1155 filename to fullname. Initialize field by symtab_to_fullname now.
1156 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
1157 reference filename to fullname. Use symtab_to_fullname during
1158 comparison.
1159
652a8996
JK
11602013-02-03 Jan Kratochvil <[email protected]>
1161
1162 Code cleanup.
1163 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
1164 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
1165 filename to fullname. Rename variable this_name to this_fullname.
1166 Lowercase FILENAME_CMP call.
1167 (dw2_find_symbol_file): New comment for the returned string.
1168 (dwarf2_gdb_index_functions): Rename the function to
1169 dw2_expand_symtabs_with_fullname.
1170 * psymtab.c (read_psymtabs_with_filename): Rename to ...
1171 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
1172 fullname.
1173 (psym_functions): Rename the function to read_psymtabs_with_fullname.
1174 * symfile.h (struct quick_symbol_functions): Rename field
1175 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
1176 parameter filename to fullname. Document returned string meaning for
1177 find_symbol_file.
1178 * symtab.c (find_line_symtab): Rename the called function to
1179 expand_symtabs_with_fullname.
1180
af529f8f
JK
11812013-02-03 Jan Kratochvil <[email protected]>
1182
1183 Code cleanup.
1184 * breakpoint.c (clear_command): Remove variable is_abs, unify the
1185 call of filename_cmp with compare_filenames_for_search.
1186 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
1187 is_abs, unify the call of FILENAME_CMP with
1188 compare_filenames_for_search. New gdb_asserts for real_path and name.
1189 Unify the call of compare_filenames_for_search with FILENAME_CMP.
1190 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
1191 * symfile.h (struct quick_symbol_functions): Extend the comment for
1192 map_symtabs_matching_filename.
1193 * symtab.c (compare_filenames_for_search): Remove the function comment
1194 relative path requirement. Handle absolute filenames, with a comment.
1195 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
1196 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
1197 real_path and name. Unify the call of compare_filenames_for_search
1198 with FILENAME_CMP.
1199 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
1200
2f202fde
JK
12012013-02-03 Jan Kratochvil <[email protected]>
1202
1203 Code cleanup.
1204 * breakpoint.c (print_breakpoint_location): Replace bp_location field
1205 source_file references by symtab field references. Remove variables
1206 sal and fullname.
1207 (momentary_breakpoint_from_master, add_location_to_breakpoint):
1208 (clear_command, say_where): Replace bp_location field source_file
1209 references by symtab field references.
1210 (bp_location_dtor): Remove the source_file reference.
1211 (update_static_tracepoint): Replace bp_location field source_file
1212 references by symtab field references.
1213 (breakpoint_free_objfile): New function.
1214 * breakpoint.h (struct bp_location): Extend the comment for line_number.
1215 Replace the field source_file by field symtab, extend its comment.
1216 (breakpoint_free_objfile): New declaration.
1217 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
1218 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
1219 field source_file references by symtab field references.
1220
f5b95b50
JK
12212013-02-03 Jan Kratochvil <[email protected]>
1222
1223 Replace xfullpath calls by gdb_realpath calls.
1224 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
1225 function comment.
1226 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
1227 Remove it from the iterate_over_some_symtabs call.
1228 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
1229 Remove it from the dw2_map_expand_apply calls, remove a block handling
1230 it.
1231 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
1232 Remove it from the iterate_over_some_symtabs call.
1233 (partial_map_symtabs_matching_filename): Remove parameter full_path.
1234 Remove it from the partial_map_expand_apply calls, remove a block
1235 handling it. Drop gdb_realpath call and cleanups from the real_path
1236 handling.
1237 * source.c (openp): Drop the comment part about xfullpath. Replace
1238 xfullpath calls by gdb_realpath calls.
1239 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
1240 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
1241 from method map_symtabs_matching_filename and its comment.
1242 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
1243 gdb_realpath call.
1244 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
1245 remove it also from the function comment, remove a block handling it.
1246 Drop gdb_realpath call and cleanups from the real_path handling.
1247 (iterate_over_symtabs): Drop variable full_path and its use.
1248 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
1249 * utils.c (xfullpath): Remove.
1250 * utils.h (xfullpath): Remove.
1251
d78489bf
AT
12522013-02-01 Andreas Tobler <[email protected]>
1253
1254 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
1255 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
1256 (ALLDEPFILES): Add ppc64-tdep.c.
1257 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
1258 ppc64-tdep.o to gdb_target_obs.
1259 * ppc64-tdep.h: New file.
1260 * ppc64-tdep.c: New file.
1261 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
1262 ppc-linux-tdep.c to here.
1263 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
1264 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
1265 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
1266 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
1267 from ppc-linux-tdep.c to here.
1268 (ppc64_convert_from_func_ptr_addr): Rename from
1269 ppc64_linux_convert_from_func_ptr_addr to
1270 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
1271 here.
1272 * rs6000-tdep.c:
1273 (read_insn): Move from ppc-linux-tdep.c to here.
1274 (insns_match_pattern, insn_d_field, insn_ds_field): Move
1275 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
1276 * ppc-linux-tdep.c: Include ppc64-tdep.h.
1277 Removed above functions.
1278 (ppc_linux_init_abi): Adjust.
1279
8db60374
AR
12802013-02-01 Aleksandar Ristovski <[email protected]>
1281
1282 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
1283
f2e5f4ce
AR
12842013-02-01 Aleksandar Ristovski <[email protected]>
1285
1286 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
1287
c1f7d745
PA
12882013-02-01 Pedro Alves <[email protected]>
1289
1290 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
1291 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
1292
8a92335b
JK
12932013-02-01 Jan Kratochvil <[email protected]>
1294
1295 * elfread.c (elf_symfile_read): Limit separate debug info additions to
1296 files with no separate debug info.
1297 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
1298 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
1299 only for files with no separate debug info.
1300
8eacb197
TT
13012013-01-31 Tom Tromey <[email protected]>
1302
1303 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
1304 change type.
1305 (struct jit_program_space_data): Rename from jit_inferior_data.
1306 Update comments.
1307 (get_jit_program_space_data): Rename from get_jit_inferior_data.
1308 Change return type. Attach data to program space.
1309 (jit_program_space_data_cleanup): Rename from
1310 jit_inferior_data_cleanup; change argument type.
1311 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
1312 change type.
1313 (jit_register_code): Update.
1314 (jit_update_inferior_cache): Remove.
1315 (jit_breakpoint_deleted): Get jit data from the location's program
1316 space.
1317 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
1318 'ps_data', change type.
1319 (jit_inferior_init, jit_breakpoint_re_set_internal)
1320 (jit_event_handler): Update.
1321 (free_objfile_data): Get data from objfile's program space.
1322 (_initialize_jit): Update.
1323
f25c0135
TT
13242013-01-31 Tom Tromey <[email protected]>
1325
1326 PR gdb/13987:
1327 * jit.c (struct jit_inferior_data) <cached_code_address,
1328 jit_breakpoint>: New fields.
1329 (jit_breakpoint_re_set_internal): Fix logging. Only create
1330 breakpoint if cached address has changed.
1331 (jit_update_inferior_cache, jit_breakpoint_deleted): New
1332 functions.
1333 (_initialize_jit): Register breakpoint deleted observer.
1334
974a734b
AR
13352013-01-31 Aleksandar Ristovski <[email protected]>
1336
1337 * infrun.c (handle_syscall_event): Remove unused gdbarch.
1338 (save_infcall_suspend_state): Ifdef out unused inf.
1339 (restore_infcall_suspend_state): Ifdef out unused inf.
1340 * jit.c (jit_register_code): Remove unused i, b, inf_data.
1341 (jit_frame_sniffer): Remove unused inf_data.
1342
df54f8eb
AR
13432013-01-31 Aleksandar Ristovski <[email protected]>
1344
1345 * c-exp.y (classify_inner_name): Remove unused type.
1346 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
1347 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
1348 need_escape.
1349 (c_get_string): Remove unused kind.
1350 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
1351
5799c0b9
AR
13522013-01-31 Aleksandar Ristovski <[email protected]>
1353
1354 * charset.c (intermediate_encoding): Remove unused i.
1355 * completer.c (signal_completer): Remove unused i.
1356 * continuations.c (discard_my_continuations_1): Remove unused
1357 continuation_ptr.
1358 * corelow.c (core_close): Remove unuseD name.
1359 (get_core_siginfo): Remove unused pid.
1360 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
1361 i, cps.
1362 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
1363 (loclist_describe_location): Remove unused first.
1364 * event-top.c (command_line_handler): Remove unused got_eof.
1365 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
1366 (resize_section_table): Remove unused old_value.
1367 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
1368 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
1369 * i386-tdep.c (i386_process_record): Remove unused rex.
1370 * infcmd.c (get_return_value): Remove unused uiout.
1371 * jv-lang.c (type_from_class): Remove unused is_array.
1372 * jv-valprint.c (java_val_print): Remove unused i.
1373 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
1374 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
1375 * m2-typeprint.c (m2_print_type): Remove unused code.
1376 * macroexp.c (get_character_constant): Remove unused body_start.
1377 (macro_stringify): Remove unused result.
1378 * objc-lang.c (find_methods): Remove unused gdbarch.
1379 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
1380 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
1381 * stack.c (print_frame_args): Remove unused summary.
1382 * thread.c (thread_apply_command): Remove unused p.
1383 * valarith.c (value_x_unop): Remove unused mangle_ptr.
1384 * valops.c (search_struct_method): Remove unused skip.
1385 * valprint.c (generic_val_print): Remove unused byte_order.
1386 * varobj.c (varobj_update): Remove unused changed.
1387 * cli/cli-cmds.c (complete_command): Remove unused next_item.
1388 (alias_command): Remove unused c.
1389 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
1390 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
1391 format.
1392 (mi_cmd_data_write_memory): Remove unused word_format.
1393 (mi_cmd_data_write_memory_bytes): Remove unused r.
1394 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
1395 p_start, p_end.
1396 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
1397 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
1398 line_width.
1399
c656bca5
AR
14002013-01-31 Aleksandar Ristovski <[email protected]>
1401
1402 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
1403 * symtab.c (iterate_over_symtabs): Remove unused s.
1404 (find_pc_sect_symtab): Remove unused pspAce.
1405 (find_pc_sect_line): Remove unused alt_symtab.
1406 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
1407 (completion_list_add_name): Remove unused newsize.
1408
7078baeb
TT
14092013-01-31 Tom Tromey <[email protected]>
1410
1411 PR c++/14998:
1412 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
1413 TYPE_CODE_FUNC.
1414
c2e8b827
AR
14152013-01-31 Aleksandar Ristovski <[email protected]>
1416
1417 * target.c (target_read_string): Remove unused origlen.
1418
0e43993a
AR
14192013-01-31 Aleksandar Ristovski <[email protected]>
1420
1421 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
1422 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
1423 * ax-general.c (ax_print): Remove unused is_float.
1424 * blockframe.c (block_innermost_frame): Remove unused start, end.
1425 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
1426
765a97ab
AR
14272013-01-31 Aleksandar Ristovski <[email protected]>
1428
1429 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
1430 (svr4_read_so_list): Remove unused lmo.
1431 * solib-target.c (solib_target_relocate_section_addresses): Remove
1432 unused flags.
1433
a99dad3d
TT
14342013-01-30 Tom Tromey <[email protected]>
1435
1436 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
1437
3bff1ecd
TT
14382013-01-30 Tom Tromey <[email protected]>
1439
1440 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
1441 * utils.c (gnu_debuglink_crc32): Remove.
1442 * utils.h (gnu_debuglink_crc32): Don't declare.
1443
7d455152
TT
14442013-01-30 Tom Tromey <[email protected]>
1445
1446 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
1447 (read_structure_type, read_enumeration_type): Remove cast.
1448
abee88f2
TT
14492013-01-30 Tom Tromey <[email protected]>
1450
1451 * dwarf2read.c (read_namespace_type): Remove cast.
1452 (read_typedef): Likewise.
1453
8d9878a4
TT
14542013-01-29 Tom Tromey <[email protected]>
1455
1456 * dwarf2read.c (free_dwo_file): Remove assert.
1457
a543d2a9
TT
14582013-01-29 Tom Tromey <[email protected]>
1459
1460 * value.c (deprecated_set_value_modifiable): Remove.
1461 * value.h (deprecated_set_value_modifiable): Remove.
1462
bed911e5
DE
14632013-01-28 Doug Evans <[email protected]>
1464
1465 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
1466 to addresses from dwo files.
1467
28c64fc2
SCR
14682013-01-25 Siva Chandra Reddy <[email protected]>
1469
1470 * valops.c (find_overload_match): Remove unused argument 'lax'.
1471 * value.h: Remove unused argument 'lax' from the declaration of
1472 find_overload_match.
1473 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
1474 to find_overload_match.
1475 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
1476 argument to find_overload_match.
1477
4d4ec4e5
TT
14782013-01-25 Tom Tromey <[email protected]>
1479
1480 * dwarf2read.c (processing_has_namespace_info): Remove.
1481 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
1482 (process_die, read_func_scope, dwarf2_start_symtab)
1483 (new_symbol_full): Update.
1484
195a3f6c
TT
14852013-01-25 Tom Tromey <[email protected]>
1486
1487 * cp-namespace.c (cp_set_block_scope): Remove.
1488 * cp-support.h (cp_set_block_scope): Remove.
1489 * dbxread.c: Include block.h.
1490 (cp_set_block_scope): New function.
1491 (process_one_symbol): Update.
1492 * dwarf2read.c (read_func_scope): Use block_set_scope.
1493
8ba0730a
PA
14942013-01-25 Pedro Alves <[email protected]>
1495
1496 * remote.c (add_current_inferior_and_thread): Tweak comment.
1497
12aaed36
TT
14982013-01-25 Tom Tromey <[email protected]>
1499
1500 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
1501 (cp_add_using_directive): Add 'copy_names' argument.
1502 * cp-support.h (cp_add_using_directive): Update.
1503 (struct using_direct) <import_src, import_dest, alias,
1504 declaration>: Now const.
1505 * dwarf2read.c (read_import_statement): Use obconcat.
1506 Don't copy names passed to cp_add_using_directive.
1507
7fc75ca7
TT
15082013-01-25 Tom Tromey <[email protected]>
1509
1510 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
1511
3405876a
PA
15122013-01-25 Pedro Alves <[email protected]>
1513
1514 * remote.c (stop_reply_extract_thread): New.
1515 (add_current_inferior_and_thread): New parameter 'wait_status'.
1516 Handle it.
1517 (remote_start_remote): Pass wait status to
1518 add_current_inferior_and_thread.
1519 (extended_remote_run): Update comment.
1520 (extended_remote_create_inferior_1): Pass wait status to
1521 add_current_inferior_and_thread.
1522
8954db33
AB
15232013-01-25 Andrew Burgess <[email protected]>
1524 Ulrich Weigand <[email protected]>
1525
1526 * valarith.c (value_vector_widen): New function for replicating a
1527 scalar into a vector.
1528 (value_binop): Use value_vector_widen to widen scalar to vector
1529 rather than casting, this better matches gcc C behaviour.
1530 * valops.c (value_casst): Update logic for casting between vector
1531 types, and for casting from scalar to vector, try to match gcc C
1532 behaviour.
1533 * value.h (value_vector_widen): Declare.
1534 * opencl-lang.c (opencl_value_cast): New opencl specific casting
1535 function, handle special case for casting scalar to vector.
1536 (opencl_relop): Use opencl_value_cast.
1537 (evaluate_subexp_opencl): Use opencl_value_cast instead of
1538 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
1539 in order to use opencl_value_cast.
1540
843b20dc
YQ
15412013-01-25 Yao Qi <[email protected]>
1542
1543 * event-loop.c: Include "queue.h".
1544 (gdb_event_p): New typedef.
1545 (DECLARE_QUEUE_P): Use.
1546 (DEFINE_QUEUE_P): Use.
1547 (async_queue_event): Remove.
1548 (gdb_event_xfree): New.
1549 (initialize_event_loop): New.
1550 (process_event): Use QUEUE macros.
1551 (event_queue): Remove.
1552 (gdb_wait_for_event): Caller update.
1553 (check_async_event_handlers): Likewise.
1554 (poll_timers): Likewise.
1555 * event-loop.h (initialize_event_loop): Declare.
1556 * event-loop.c (gdb_event_xfree): New.
1557 * top.c (gdb_init): Call initialize_event_loop.
1558
20ad8856
YQ
15592013-01-25 Yao Qi <[email protected]>
1560
1561 * event-loop.c (async_queue_event): Remove one parameter
1562 'position'. Remove code handling 'position' == TAIL.
1563 (gdb_wait_for_event): Caller update.
1564 (check_async_event_handlers): Caller update.
1565 (poll_timers): Caller update.
1566 * event-loop.h (enum queue_position): Remove.
1567
3bbbe775
MK
15682013-01-25 Maxim Kuvyrkov <[email protected]>
1569
1570 * MAINTAINERS: Update my email.
1571
a87d9ac4
YQ
15722013-01-25 Yao Qi <[email protected]>
1573
1574 * main.c (print_gdb_help): Remove "--epoch" from the help
1575 message.
1576
2077afdd
TD
15772013-01-24 Ulrich Weigand  <[email protected]>
1578
1579 * symtab.c (skip_prologue_using_sal): Consider a file
1580 change the same as an increased line number
1581
63da4037
TD
15822013-01-24 Tiago Stürmer Daitx  <[email protected]>
1583
30e8ee25 1584 * MAINTAINERS (Write After Approval): Add myself to the list.
63da4037 1585
45e6c716
TT
15862013-01-24 Tom Tromey <[email protected]>
1587
1588 * ada-lang.h (ada_decode_symbol): Make return type const.
1589 * ada-lang.c (ada_decode_symbol): Likewise.
1590
b1ae631a
DE
15912013-01-23 Doug Evans <[email protected]>
1592
1593 * linespec.c (find_linespec_symbols): Make static.
1594
55a78401
SDJ
15952013-01-23 Tiago Stürmer Daitx <[email protected]>
1596
1597 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
1598 type on float conversion for complex type.
1599
bea883fd
SCR
16002013-01-23 Siva Chandra Reddy <[email protected]>
1601
1602 Add a new class gdb.Architecture which exposes GDB's
1603 internal representation of architecture via GDB Python API.
1604 * Makefile.in: Add entries corresponding to the new file
1605 python/py-arch.c.
1606 * NEWS (Python Scripting): Add entries for the new class
1607 gdb.Architecture and the new method gdb.Frame.architecture.
1608 * python/py-arch.c: Implement gdb.Architecture class.
1609 * python/py-frame.c (frapy_arch): Implement the method
1610 gdb.Frame.architecture().
1611 (frame_object_methods): Add 'architecture' to the method table.
1612 * python/python-internal.h: Add declarations of new utility
1613 functions.
1614 * python/python.c (_initialize_python): Initialize
1615 gdb.Architecture class.
1616
796a7ff8
DE
16172013-01-23 Doug Evans <[email protected]>
1618
1619 Work around binutils/15021.
1620 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
1621 type_unit_group out of union s. All uses updated.
1622 (read_index_from_section): Watch for index version 8.
1623 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
1624 an imported symtab.
1625 (write_psymtabs_to_index): Increment version number to 8.
1626
0928e93d
PA
16272013-01-22 Pedro Alves <[email protected]>
1628
1629 * annotate.c (breakpoint_changed): Skip if breakpoint is not
1630 user-visible.
1631
9c97429f
PA
16322013-01-22 Pedro Alves <[email protected]>
1633
1634 * annotate.c (annotate_breakpoints_changed): Rename to ...
1635 (annotate_breakpoints_invalid): ... this. Make static.
1636 (breakpoint_changed): Adjust.
1637 (_initialize_annotate): Always install the observers. Install a
1638 "breakpoint_created" observer.
1639 * annotate.h (annotate_breakpoints_changed): Delete declaration.
1640 * breakpoint.c (set_breakpoint_condition)
1641 (breakpoint_set_commands, do_map_commands_command)
1642 (init_raw_breakpoint, clear_command, set_ignore_count)
1643 (enable_breakpoint_disp): No longer call
1644 annotate_breakpoints_changed.
1645
bd00c694
PA
16462013-01-22 Pedro Alves <[email protected]>
1647
1648 * annotate.c: Include "inferior.h".
1649 (frames_invalid_emitted)
1650 (breakpoints_invalid_emitted): New globals.
1651 (async_background_execution_p): New function.
1652 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
1653 emitting the annotation if it has already been emitted.
1654 (annotate_display_prompt): New function.
1655 * annotate.h (annotate_display_prompt): New declaration.
1656 * event-top.c: Include annotate.h.
1657 (display_gdb_prompt): Call annotate_display_prompt.
1658
187d10dd
PA
16592013-01-22 Pedro Alves <[email protected]>
1660
1661 * annotate.c (ignore_count_changed): Delete.
1662 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
1663 (annotate_ignore_count_change): Delete.
1664 (annotate_stopped): Don't emit a delayed breakpoints-changed
1665 annotation.
1666 * annotate.h (annotate_ignore_count_change): Delete.
1667 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
1668 annotate_ignore_count_change.
1669
d84cf7eb
TT
16702013-01-22 Tom Tromey <[email protected]>
1671
1672 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
1673 require_rvalue for a register location.
1674
8f1d5693
MK
16752013-01-21 Marc Khouzam <[email protected]>
1676
1677 * breakpoint.c (print_one_breakpoint_location): Add MI
1678 field 'thread-groups' when printing a breakpoint.
1679 (output_thread_groups): New function.
1680
aa6199c6
SCR
16812013-01-21 Siva Chandra Reddy <[email protected]>
1682
1683 * python/lib/gdb/commands/explore.py
1684 (CompoundExplorer.explore_expr): Correct the name of a method
1685 being invoked.
1686 (ExploreTypeCommand.invoke): Add a missing 'return'.
1687
d2afef13
TT
16882013-01-21 Tom Tromey <[email protected]>
1689
1690 * gdb_obstack.h (obconcat): Move declaration here, from...
1691 * symfile.h (obconcat): ... here.
1692 * gdb_obstack.c: New file.
1693 (obconcat): Move from...
1694 * symfile.c (obconcat): ... here.
1695 * Makefile.in (SFILES): Add gdb_obstack.c.
1696 (COMMON_OBS): Add gdb_obstack.o.
1697
10f0c4bb
TT
16982013-01-21 Tom Tromey <[email protected]>
1699
1700 * symfile.h (obsavestring): Don't declare.
1701 * symfile.c (obsavestring): Remove.
1702 * ada-exp.y: Use obstack_copy0, not obsavestring.
1703 * ada-lang.c: Use obstack_copy0, not obsavestring.
1704 * coffread.c: Use obstack_copy0, not obsavestring.
1705 * cp-namespace.c: Use obstack_copy0, not obsavestring.
1706 * dbxread.c: Use obstack_copy0, not obsavestring.
1707 * dwarf2read.c: Use obstack_copy0, not obsavestring.
1708 * jit.c: Use obstack_copy0, not obsavestring.
1709 * mdebugread.c: Use obstack_copy0, not obsavestring.
1710 * psymtab.c: Use obstack_copy0, not obsavestring.
1711 * stabsread.c: Use obstack_copy0, not obsavestring.
1712 * xcoffread.c: Use obstack_copy0, not obsavestring.
1713
86f62fd7
TT
17142013-01-21 Tom Tromey <[email protected]>
1715
1716 * dwarf2read.c (fixup_go_packaging): Save package name
1717 on objfile obstack.
1718 * gdbtypes.c (init_type): Don't copy name.
1719
15d034d0
TT
17202013-01-21 Tom Tromey <[email protected]>
1721
1722 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
1723 const.
1724 (struct attribute) <u.str>: Now const.
1725 (struct fnfieldlist) <name>: Now const.
1726 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
1727 (partial_die_parent_scope): Make return type const.
1728 (partial_die_full_name, add_partial_symbol): Update.
1729 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
1730 'name' const.
1731 (find_file_and_directory): Make 'name' and 'comp_dir' const.
1732 (read_file_scope, read_func_scope, dwarf2_add_field)
1733 (dwarf2_add_member_fn, read_structure_type)
1734 (process_enumeration_scope, read_array_type, read_module_type)
1735 (read_base_type, read_subrange_type): Update.
1736 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
1737 (new_symbol_full, guess_full_die_structure_name): Update.
1738 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
1739 (dwarf2_name): Return const type.
1740 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
1741 const.
1742
748e18ae
TT
17432013-01-21 Tom Tromey <[email protected]>
1744
1745 * gdbtypes.c (init_type): Make 'name' const.
1746 * gdbtypes.h (init_type): Update.
1747
46212e0b
TT
17482013-01-21 Tom Tromey <[email protected]>
1749
1750 * buildsym.c (patch_subfile_names): Use set_last_source_file.
1751 (start_symtab): Make 'name' and 'dirname' const. Use
1752 set_last_source_file.
1753 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
1754 (last_source_file): Define. Now static.
1755 (set_last_source_file, get_last_source_file): New functions.
1756 * buildsym.h (last_source_file): Don't declare.
1757 (start_symtab): Update.
1758 (set_last_source_file, get_last_source_file): Declare.
1759 * coffread.c (complete_symtab): Use set_last_source_file.
1760 (coff_end_symtab): Likewise.
1761 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
1762 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
1763 set_last_source_file.
1764 (process_one_symbol): Use get_last_source_file.
1765 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
1766 (psymtab_to_symtab_1): Use get_last_source_file.
1767 * xcoffread.c (process_linenos): Use get_last_source_file.
1768 (complete_symtab): Use set_last_source_file.
1769 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
1770 (scan_xcoff_symtab): Use set_last_source_file.
1771
9d2ceabe
TT
17722013-01-21 Tom Tromey <[email protected]>
1773
1774 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
1775 (symbol_set_names): Remove casts. Handle field const-ness.
1776
cfc594ee
TT
17772013-01-21 Tom Tromey <[email protected]>
1778
1779 * dwarf2read.c (new_symbol_full): Remove cast.
1780 * symtab.c (symbol_set_demangled_name): Make 'name' const.
1781 * symtab.h (symbol_set_demangled_name): Update.
1782
5484b13a
TT
17832013-01-21 Tom Tromey <[email protected]>
1784
1785 * main.c (captured_main): Call bfd_init.
1786
1605ef26
TT
17872013-01-21 Tom Tromey <[email protected]>
1788
1789 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
1790 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
1791 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
1792 * NEWS: Update.
1793
3b74cdc3
JK
17942013-01-21 Jan Kratochvil <[email protected]>
1795
1796 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
1797
5a352474
JK
17982013-01-21 Jan Kratochvil <[email protected]>
1799
1800 Fix gdb.fortran/common-block.exp crash in PIE mode.
1801 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
1802 LOC_COMMON_BLOCK.
1803 * f-valprint.c (info_common_command_for_block): Expect
1804 LOC_COMMON_BLOCK in gdb_assert.
1805 * symtab.h (struct general_symbol_info): Update comment for the
1806 common_block member.
1807 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
1808 (enum address_class): New member LOC_COMMON_BLOCK.
1809
c60797fd
DB
18102013-01-18 David Blaikie <[email protected]>
1811
1812 * MAINTAINERS (Write After Approval): Add "David Blaikie".
0cae7dfb 1813
46f35228
TT
18142013-01-18 Tom Tromey <[email protected]>
1815
1816 PR c++/14999:
1817 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
1818 Call require_rvalue.
1819
257e7a09
YQ
18202013-01-18 Yao Qi <[email protected]>
1821
1822 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
1823 (dbx_read_symtab): New declaration.
1824 (dbx_psymtab_to_symtab): Delete.
1825 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
1826 Rename parameter PST to SELF. Exchanged two parameters.
1827 (start_psymtab): Caller update.
1828 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
1829 (dwarf2_read_symtab): New declaration.
1830 (dwarf2_psymtab_to_symtab): Delete.
1831 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
1832 Rename parameter PST to SELF. Exchanged two parameters.
1833 (create_partial_symtab): Caller update.
1834 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
1835 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
1836 Rename parameter PST to SELF. Exchanged two parameters.
1837 (parse_partial_symbols, new_psymtab): Caller update.
1838 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
1839 two parameters.
1840 * psymtab.c (psymtab_to_symtab): Caller update.
1841 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
1842 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
1843 Rename parameter PST to SELF. Exchanged two parameters.
1844 (xcoff_start_psymtab): Caller update.
1845
0de5618e
YQ
18462013-01-18 Yao Qi <[email protected]>
1847
1848 * infrun.c (proceed): Rename local variable 'oneproc' to
1849 'force_step'.
1850
5c04624b
DE
18512013-01-17 Doug Evans <[email protected]>
1852
848e3e78
DE
1853 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
1854 (dw2_build_type_unit_groups): Delete. All uses updated.
1855
5c04624b
DE
1856 * symtab.h (struct symbol_search): Add comment.
1857
d84fca2c
JK
18582013-01-17 Jan Kratochvil <[email protected]>
1859
1860 * symtab.c (compare_filenames_for_search): New comment for
1861 HAS_DRIVE_SPEC.
1862
6108433d
TT
18632013-01-17 Tom Tromey <[email protected]>
1864
1865 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
1866
c89ffd86
JK
18672013-01-17 Jan Kratochvil <[email protected]>
1868
1869 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
1870 initialize it by existing make_cleanup. Call new do_cleanups.
1871
db2b2972
TT
18722013-01-17 Tom Tromey <[email protected]>
1873
1874 * cp-abi.c (cp_abi_completer): New function.
1875 (_initialize_cp_abi): Set completer for "set cp-abi".
1876
be7d37a2
TT
18772013-01-17 Tom Tromey <[email protected]>
1878
1879 * mem-break.c: Remove obsolete comment.
1880 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
1881
c9fb1240
SD
18822012-01-17 Sanjoy Das <[email protected]>
1883
1884 * jit.c (jit_reader_load_command): Interpret the jit reader name
1885 as an absolute path if it begins with a forward slash.
1886
db334a01
SD
18872012-01-17 Sanjoy Das <[email protected]>
1888
1889 PR gdb/14550
1890
1891 * jit.c (finalize_symtab): Ensure that only the global block has a
1892 NULL superblock.
1893
7d928dac
PA
18942013-01-17 Pedro Alves <[email protected]>
1895
1896 * acinclude.m4: Include ../config/plugins.m4,
1897 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
1898 * Makefile.in (aclocal_m4_deps): Update.
1899 * aclocal.m4: Renegerate.
1900
fb8cf7c5
DE
19012013-01-16 Doug Evans <[email protected]>
1902
1903 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
1904
ab04a2af
TT
19052013-01-16 Pedro Alves <[email protected]>
1906 Tom Tromey <[email protected]>
1907
1908 PR cli/7221:
1909 * NEWS: Add "catch signal".
1910 * breakpoint.c (base_breakpoint_ops): No longer static.
1911 (bpstat_explains_signal): New function.
1912 (init_catchpoint): No longer static.
1913 (base_breakpoint_explains_signal): New function.
1914 (base_breakpoint_ops): Initialize new field.
1915 * breakpoint.h (enum bpstat_signal_value): New.
1916 (struct breakpoint_ops) <explains_signal>: New field.
1917 (bpstat_explains_signal): Remove macro, declare as function.
1918 (base_breakpoint_ops, init_catchpoint): Declare.
1919 * break-catch-sig.c: New file.
1920 * inferior.h (signal_catch_update): Declare.
1921 * infrun.c (signal_catch): New global.
1922 (handle_syscall_event): Update for change to
1923 bpstat_explains_signal.
1924 (handle_inferior_event): Likewise. Always handle random signals
1925 via bpstats.
1926 (signal_cache_update): Check signal_catch.
1927 (signal_catch_update): New function.
1928 (_initialize_infrun): Initialize signal_catch.
1929 * Makefile.in (SFILES): Add break-catch-sig.c.
1930 (COMMON_OBS): Add break-catch-sig.o.
1931
8ac3646f
TT
19322013-01-16 Tom Tromey <[email protected]>
1933
1934 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
1935 (print_one_catch_solib, print_one_catch_syscall)
1936 (print_one_catch_exec, print_one_exception_catchpoint): Emit
1937 "catch-type".
1938
5a18e302
YQ
19392013-01-16 Yao Qi <[email protected]>
1940
1941 * printcmd.c (current_display_number): Make it static.
1942
3f01d0d0
YQ
19432013-01-16 Yao Qi <[email protected]>
1944
1945 * infcmd.c (step_once): Don't check '!single_inst' as it was
1946 checked before.
1947
1ed59174
JK
19482013-01-15 Jan Kratochvil <[email protected]>
1949
1950 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
1951
44478ab3
TT
19522013-01-14 Tom Tromey <[email protected]>
1953
1954 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
1955 set command.
1956 * command.h (add_setshow_string_noescape_cmd): Update.
1957 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
1958 (complete_set_gnutarget): New function.
1959 (_initialize_core): Set the "set gnutarget" completer.
1960
06d66ee9
TT
19612013-01-14 Tom Tromey <[email protected]>
1962
1963 PR symtab/14442:
1964 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
1965 (c_type_print_modifier): Likewise.
1966 * dwarf2read.c (read_tag_restrict_type): New function.
1967 (read_type_die_1): Handle DW_TAG_restrict_type.
1968 * gdbtypes.c (make_restrict_type): New function.
1969 (recursive_dump_type): Handle TYPE_RESTRICT.
1970 * gdbtypes.h (enum type_flag_values): Renumber.
1971 (enum type_instance_flag_value): Add
1972 TYPE_INSTANCE_FLAG_RESTRICT.
1973 (TYPE_RESTRICT): New macro.
1974 (make_restrict_type): Declare.
1975
c9bf0622
TT
19762013-01-14 Tom Tromey <[email protected]>
1977
1978 PR symtab/14931:
1979 * psymtab.c (struct psymtab_state): New.
1980 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
1981 functions.
1982 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
1983 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
1984
44d594fd
PA
19852013-01-14 Richard Sharman <[email protected]>
1986 Pedro Alves <[email protected]>
1987
1988 PR remote/14786
1989
1990 * remote.c (remote_threads_info): Make a copy of the reply from
1991 qfThreadInfo and use that instead of rs->buf.
1992
442e4d9c
YQ
19932013-01-14 Yao Qi <[email protected]>
1994
1995 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
1996 (dbx_psymtab_to_symtab): Likewise.
1997 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
1998 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
1999 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
2000
5b12a61c
JK
20012013-01-13 Jan Kratochvil <[email protected]>
2002
2003 * parse.c (parse_exp_in_context): New variable inner_chain. Call
2004 make_cleanup_restore_current_language. Call set_language. Move
2005 OLD_CHAIN and INNER_CHAIN cleanups.
2006 * utils.c (do_restore_current_language)
2007 (make_cleanup_restore_current_language): New functions.
2008 * utils.h (make_cleanup_restore_current_language): New declaration.
2009
f0a4b570
JK
20102013-01-13 Jan Kratochvil <[email protected]>
2011
2012 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
2013 non-existing files.
2014
57b3c00c
JK
2015 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
2016 non-existing files if FILENAME is already absolute.
2017
daefa854
JK
20182013-01-11 Jan Kratochvil <[email protected]>
2019
2020 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
2021 fputs_filtered. Append trailing newline.
2022
ca9c6ee2
YQ
20232013-01-11 Yao Qi <[email protected]>
2024 Stan Shebs <[email protected]>
2025
2026 * psymtab.c (init_psymbol_list): Clarify the comment.
2027
f28045c2
YQ
20282013-01-11 Yao Qi <[email protected]>
2029
2030 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
2031 (update_dprintf_command_list): Assert that 'printf_line' is
2032 non-null. Remove condition check.
2033
da5132d3
JK
20342013-01-10 Jan Kratochvil <[email protected]>
2035
2036 Code cleanup.
2037 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
2038 type const char *.
2039 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
2040 const char *.
2041 * tui/tui-source.h (tui_source_is_displayed): Likewise.
2042
843e694d
AG
20432013-01-09 Anthony Green <[email protected]>
2044
2045 * cp-abi.c (cplus_print_vtable): Don't return value from void
2046 function.
2047 * ada-lang.c (re_set_catch_assert): Ditto.
2048
da51c347
DE
20492013-01-09 Doug Evans <[email protected]>
2050
2051 * symfile.h (quick_symbol_functions): Delete member
2052 pre_expand_symtabs_matching. All uses removed.
2053 * dwarf2read.c (dw2_lookup_symbol): Implement.
2054 (dw2_do_expand_symtabs_matching): Delete.
2055 (dw2_pre_expand_symtabs_matching): Delete.
2056 (struct dw2_symtab_iterator): New type.
2057 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
2058 (dw2_expand_symtabs_for_function): Rewrite.
2059 (dwarf2_gdb_index_functions): Update.
2060 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
2061 (psym_functions): Update.
2062
b2259038
TT
20632013-01-09 Tom Tromey <[email protected]>
2064
2065 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
2066 * configure: Rebuild.
2067 * configure.ac: Add somread.o to the build if BFD has SOM
2068 support.
2069 * somread.c: Include som/aout.h, not syms.h.
2070 (som_symtab_read): Use som_external_symbol_dictionary_record.
2071 Unpack records manually.
2072 (_initialize_somread): Declare.
2073
bdad4180
MF
20742012-01-08 Mike Frysinger <[email protected]>
2075
2076 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
2077 Cast return_address to 64bits.
2078
03cdf680
HZ
20792013-01-08 Hui Zhu <[email protected]>
2080
2081 * printcmd.c: Remove define of function output_command.
2082 * tracepoint.c: Remove extern of function output_command.
2083 * valprint.h: (output_command): New extern.
2084
8a808554
TT
20852013-01-07 Tom Tromey <[email protected]>
2086
2087 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
2088 Remove.
2089 (objc_language_defn): Use c_printchar, c_printstr,
2090 c_emit_char.
2091
e93a8774
TT
20922013-01-07 Tom Tromey <[email protected]>
2093
2094 PR cli/7719:
2095 * NEWS: Update.
2096 * ada-valprint.c (printstr, print_field_values): Remove
2097 "inspect_it" code.
2098 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
2099 code.
2100 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
2101 code.
2102 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
2103 * main.c (captured_main): Remove "epoch" argument.
2104 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
2105 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
2106 * p-valprint.c (pascal_object_print_value_fields): Remove
2107 "inspect_it" code.
2108 * printcmd.c (print_command_1): Remove 'inspect' argument.
2109 (print_command, call_command): Update.
2110 (inspect_command): Remove.
2111 (_initialize_printcmd): Make "inspect" an alias for "print".
2112 * top.c (epoch_interface): Remove.
2113 * top.h (epoch_interface): Remove.
2114 * valprint.c (user_print_options): Update.
2115 (print_converted_chars_to_obstack): Remove "inspect_it" code.
2116 * valprint.h (struct value_print_options) <inspect_it>: Remove
2117 field.
2118
21192013-01-04 Tom Tromey <[email protected]>
2120
2121 * valprint.h (read_string): Add 'extern'.
2122
b967eb24
JB
21232013-01-07 Joel Brobecker <[email protected]>
2124
2125 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
2126 used to decide whether to define darwin_read_dyld_info or not.
2127
78a8b30e
PM
21282013-01-03 Pierre Muller <[email protected]>
2129
2130 * main.c (relocate_gdb_directory): Avoid calling stat function
2131 if DIR is empty.
2132
50da2f25
YQ
21332013-01-03 Yao Qi <[email protected]>
2134
2135 * psymtab.c (fixup_psymbol_section): Update declaration.
2136 (fixup_psymbol_section): Remove code returning value.
2137
e7e8980f
YQ
21382013-01-03 Yao Qi <[email protected]>
2139
2140 * symtab.h: Remove some out of date comments.
2141 (enum exception_event_kind): Move it ...
2142 * breakpoint.c: ... here.
2143
569283d4
MF
21442013-01-02 Iain Sandoe <[email protected]>
2145
9f9d9a96 2146 PR gdb/14405
569283d4
MF
2147 * darwin-nat.c (darwin_read_dyld_info): Only build if
2148 TASK_DYLD_INFO_COUNT is defined.
2149 (darwin_xfer_partial): Call darwin_read_dyld_info only if
2150 TASK_DYLD_INFO_COUNT is defined.
2151
2e36fbea
TT
21522013-01-02 Tom Tromey <[email protected]>
2153
2154 * symfile.h (struct ecoff_debug_hack): Remove.
2155 * objfiles.c: Don't include mdebugread.h.
2156
4f05add4
TT
21572013-01-02 Tom Tromey <[email protected]>
2158
2159 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
2160 * configure.ac: Check for Mach-O support in BFD. Update
2161 CONFIG_OBS.
2162 * configure: Rebuild.
2163
def63ff0
TT
21642013-01-02 Tom Tromey <[email protected]>
2165
2166 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
2167 * configure.ac: Use GDB_AC_CHECK_BFD.
2168 * configure: Rebuild.
2169
60c5dd93
MK
21702013-01-01 Maxim Kuvyrkov <[email protected]>
2171
2172 * MAINTAINERS: Update my email.
2173
6e58437e
JB
21742013-01-01 Joel Brobecker <[email protected]>
2175
2176 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
2177
627fe805
JB
21782013-01-01 Joel Brobecker <[email protected]>
2179
2180 * rs6000-nat.c (bss_data_overlap): New function.
2181 (vmap_symtab): Use it to adjust the .bss section's offset.
2182
28e7fd62
JB
21832013-01-01 Joel Brobecker <[email protected]>
2184
2185 Update year range in copyright notice of all files.
2186
e93a8774 21872013-01-01, 13 Joel Brobecker <[email protected]>
b9786c74
JB
2188
2189 * top.c (print_gdb_version): Update copyright year.
2190
72b20e9c 2191For older changes see ChangeLog-2012.
c906108c
SS
2192\f
2193Local Variables:
2194mode: change-log
2195left-margin: 8
2196fill-column: 74
2197version-control: never
57da7796 2198coding: utf-8
c906108c 2199End:
This page took 3.344848 seconds and 4 git commands to generate.