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