gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
393fd4c3
YQ
12013-04-10 Hui Zhu <hui@codesourcery.com>
2 Yao Qi <yao@codesourcery.com>
3
4 * configure.ac: Check libbabeltrace is installed.
5 * config.in: Regenerate.
6 * configure: Regenerate.
7 * Makefile.in (LIBBABELTRACE): New.
8 (CLIBS): Add LIBBABELTRACE.
9 * ctf.c: Include "exec.h".
10 (CTF_EVENT_ID_STATUS, CTF_EVENT_ID_TSV_DEF): New macros.
11 (CTF_EVENT_ID_TP_DEF, ctf_save_write_int32): New macros.
12 (ctf_save_metadata_header): Define new type aliases in
13 metadata.
14 (ctf_write_header): Define event type "tsv_def" and "tp_def"
15 in metadata. Start a new faked packet for trace status.
16 (ctf_write_status): Write trace status to CTF.
17 (ctf_write_uploaded_tsv): Write TSV to CTF.
18 (ctf_write_uploaded_tp): Write tracepoint definition to CTF.
19 (ctf_write_definition_end): End the faked packet.
20
21 (ctx, ctf_iter, trace_dirname): New.
22 (start_pos): New variable.
23 (ctf_destroy, ctf_open_dir, ctf_open): New.
24 (SET_INT32_FIELD, SET_ARRAY_FIELD, SET_STRING_FIELD): New
25 macros.
26 (ctf_read_tsv, ctf_read_tp, ctf_close, ctf_files_info): New.
27 (ctf_fetch_registers, ctf_xfer_partial): New.
28 (ctf_get_trace_state_variable_value): New.
29 (ctf_get_tpnum_from_frame_event): New.
30 (ctf_get_traceframe_address): New.
31 (ctf_trace_find, ctf_has_stack): New.
32 (ctf_has_registers, ctf_traceframe_info, init_ctf_ops): New.
33 (ctf_get_trace_status, ctf_read_status): New.
34 (_initialize_ctf): New.
35 * tracepoint.c (get_tracepoint_number): New
36 (get_uploaded_tsv): Remove 'static'.
37 (struct traceframe_info, trace_regblock_size): Move it to ...
38 * tracepoint.h: ... here.
39 (get_tracepoint_number): Declare it.
40 (get_uploaded_tsv): Declare it.
41
42 * NEWS: Mention new configure option.
43
5c2b4418
HZ
442013-04-10 Pedro Alves <palves@redhat.com>
45 Hui Zhu <hui@codesourcery.com>
46
47 * breakpoint.c (dprintf_re_set): New.
48 (initialize_breakpoint_ops): Set dprintf_breakpoint_ops re_set
49 to dprintf_re_set.
50
a5c66735
JB
512013-04-09 Joel Brobecker <brobecker@adacore.com>
52
53 * configure.tgt (gdb_target_obs) <powerpc-*-aix* | rs6000-*-*>:
54 Remove solib-svr4.o from the list.
55
9e77999c
JB
562013-04-09 Joel Brobecker <brobecker@adacore.com>
57
58 * varobj.c (update_dynamic_varobj_children) [!HAVE_PYTHON]:
59 Use gdb_assert_not_reached instead of invalid boolean expression.
60
1927e618
PA
612013-04-09 Pedro Alves <palves@redhat.com>
62
63 * remote.c (unpush_and_perror): New function.
64 (readchar, remote_serial_write): Use it.
65
10782d74
MM
662013-04-09 Markus Metzger <markus.t.metzger@intel.com>
67
68 * NEWS: Mention new btrace RSP packets.
69
4c8429ef
TT
702013-04-08 Tom Tromey <tromey@redhat.com>
71
72 * symmisc.c (dump_msymbols): Cast fprintf_filtered argument to
73 long.
74
8625fc1b
TT
752013-04-08 Tom Tromey <tromey@redhat.com>
76
77 * maint.c (print_bfd_section_info): Print the section index.
78 * symmisc.c (dump_msymbols): Print the section index.
79
e27d198c
TT
802013-04-08 Tom Tromey <tromey@redhat.com>
81
82 PR symtab/8424:
83 * blockframe.c (find_pc_partial_function_gnu_ifunc): Check
84 SYMBOL_SECTION, not SYMBOL_OBJ_SECTION.
85 * breakpoint.c (resolve_sal_pc): Update.
86 * elfread.c (elf_gnu_ifunc_record_cache): Update.
87 * findvar.c (struct minsym_lookup_data) <objfile>: New field.
88 (minsym_lookup_iterator_cb): Use it.
89 (default_read_var_value): Update.
90 * hppa-hpux-tdep.c (hppa64_hpux_in_solib_call_trampoline):
91 Update.
92 * infcmd.c (jump_command): Update.
93 * linespec.c (minsym_found): Update.
94 * maint.c (maintenance_translate_address): Update.
95 * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Update.
96 (prim_record_minimal_symbol_full): Don't set SYMBOL_OBJ_SECTION.
97 * parse.c (write_exp_msymbol): Update.
98 * printcmd.c (address_info): Update.
99 * psymtab.c (find_pc_sect_psymbol): Update.
100 (fixup_psymbol_section): Check SYMBOL_SECTION, not
101 SYMBOL_OBJ_SECTION.
102 (add_psymbol_to_bcache): Correctly initialize SYMBOL_SECTION.
103 Don't initialize SYMBOL_OBJ_SECTION.
104 * spu-tdep.c (spu_catch_start): Update.
105 * stabsread.c (define_symbol): Don't set SYMBOL_SECTION.
106 * symmisc.c (dump_msymbols, print_symbol): Update.
107 * symtab.c (fixup_section): Don't set 'obj_section'. Change
108 how fallback section is computed.
109 (fixup_symbol_section): Update.
110 (find_pc_sect_symtab, find_function_start_sal, skip_prologue_sal):
111 Update.
112 (allocate_symbol, initialize_symbol, allocate_template_symbol):
113 Initialize SYMBOL_SECTION.
114 * symtab.h (struct general_symbol_info) <section>: Update comment.
115 <obj_section>: Remove.
116 (SYMBOL_OBJ_SECTION): Add 'objfile' argument. Rewrite.
117 (SYMBOL_OBJFILE): New macro.
118
e6dc44a8
TT
1192013-04-08 Tom Tromey <tromey@redhat.com>
120
121 * coffread.c (record_minimal_symbol): Update.
122 * dbxread.c (record_minimal_symbol): Update.
123 * elfread.c (record_minimal_symbol): Update.
124 * machoread.c (macho_symtab_add_minsym): Update.
125 * mdebugread.c (record_minimal_symbol, parse_partial_symbols):
126 Update.
127 * minsyms.c (prim_record_minimal_symbol): Update.
128 (prim_record_minimal_symbol_full): Remove 'bfd_section'
129 argument.
130 (prim_record_minimal_symbol_and_info): Likewise.
131 * minsyms.h (prim_record_minimal_symbol_full)
132 (prim_record_minimal_symbol_and_info): Update.
133 * symtab.c (allocate_symbol, initialize_symbol)
134 (allocate_template_symbol): Initialize SYMBOL_SECTION.
135 * xcoffread.c (record_minimal_symbol, scan_xcoff_symtab):
136 Update.
137
36192a8d
TT
1382013-04-08 Tom Tromey <tromey@redhat.com>
139
140 PR symtab/8423:
141 * solib-som.c (som_solib_section_offsets): Use BFD section
142 indices. Set offsets for all sections.
143 * somread.c (som_symtab_read): Compute BFD section for
144 symbol. Use prim_record_minimal_symbol_and_info.
145 (som_symfile_read): Fix comment.
146 (struct find_section_offset_arg): New.
147 (find_section_offset, set_section_index): New functions.
148 (som_symfile_offsets): Use set_section_index to compute
149 section indices.
150
65cf3563
TT
1512013-04-08 Tom Tromey <tromey@redhat.com>
152
153 * coffread.c (cs_to_section): Use gdb_bfd_section_index.
154 * elfread.c (record_minimal_symbol, elf_symtab_read): Use
155 gdb_bfd_section_index.
156 * gdb_bfd.c (gdb_bfd_section_index, gdb_bfd_count_sections):
157 New functions.
158 * gdb_bfd.h (gdb_bfd_section_index, gdb_bfd_count_sections):
159 Declare.
160 * machoread.c (macho_symtab_add_minsym, macho_symfile_offsets):
161 Update.
162 * objfiles.c (add_to_objfile_sections_full): New function.
163 (add_to_objfile_sections): Use it.
164 (build_section_table): Rewrite.
165 (objfile_relocate1): Use gdb_bfd_section_index. Update.
166 * objfiles.h (obj_section_offset): Use gdb_bfd_section_index.
167 (struct objfile) <sections>: Update comment.
168 (ALL_OBJFILE_OSECTIONS): Skip sections where the_bfd_section
169 is NULL.
170 (ALL_OBJSECTIONS): Use it.
171 * solib-dsbt.c (dsbt_relocate_main_executable): Update.
172 * solib-frv.c (frv_relocate_main_executable): Update.
173 * solib-target.c (solib_target_relocate_section_addresses):
174 Use gdb_bfd_section_index.
175 * symfile.c (build_section_addr_info_from_section_table):
176 Use gdb_bfd_section_index.
177 (build_section_addr_info_from_bfd, place_section): Likewise.
178 * symtab.c (fixup_section): Update.
179 * xcoffread.c (find_targ_sec): Use gdb_bfd_section_index.
180
7cbd4a93
TT
1812013-04-08 Tom Tromey <tromey@redhat.com>
182
183 * minsyms.h (struct bound_minimal_symbol): New.
184 (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
185 Remove objfile argument.
186 (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
187 Return bound_minimal_symbol.
188 * minsyms.c (lookup_minimal_symbol_by_pc_1)
189 (lookup_minimal_symbol_by_pc_section, lookup_minimal_symbol_by_pc):
190 Return bound_minimal_symbol.
191 (in_gnu_ifunc_stub): Update.
192 (lookup_minimal_symbol_and_objfile): Return bound_minimal_symbol.
193 Remove 'objfile_p' argument.
194 (lookup_solib_trampoline_symbol_by_pc): Update.
195 * ada-tasks.c, amd64-windows-tdep.c, arm-tdep.c,
196 arm-wince-tdep.c, block.c, blockframe.c, breakpoint.c, btrace.c,
197 c-valprint.c, dwarf2loc.c, elfread.c, frame.c, frv-tdep.c,
198 glibc-tdep.c, gnu-v2-abi.c, gnu-v3-abi.c, hppa-hpux-tdep.c,
199 i386-tdep.c, ia64-tdep.c, infcall.c, infcmd.c, jit.c,
200 linux-fork.c, m32c-tdep.c, m68hc11-tdep.c, maint.c,
201 mips-tdep.c, p-valprint.c, parse.c, ppc-linux-tdep.c,
202 ppc-sysv-tdep.c, printcmd.c, rs6000-tdep.c, sh64-tdep.c,
203 stack.c, symtab.c, tui/tui-disasm.c: Update.
204
f85f34ed
TT
2052013-04-08 Tom Tromey <tromey@redhat.com>
206
207 * ada-lang.c (ada_decode_symbol): Check and set 'ada_mangled'.
208 Use symbol's obstack, not an objfile.
209 * coffread.c (process_coff_symbol): Update.
210 * dwarf2read.c (fixup_go_packaging, new_symbol_full): Update.
211 * jv-lang.c (add_class_symbol): Update.
212 * mdebugread.c (new_symbol): Update.
213 * minsyms.c (prim_record_minimal_symbol_full)
214 (terminate_minimal_symbol_table): Update.
215 * psymtab.c (add_psymbol_to_bcache): Clear entire symbol. Update.
216 * stabsread.c (define_symbol, read_enum_type): Update.
217 * symtab.c (symbol_set_demangled_name, symbol_get_demangled_name):
218 Handle Ada specially.
219 (symbol_set_language): Add 'obstack' argument.
220 (symbol_set_names): Update.
221 (symbol_natural_name, symbol_demangled_name): Always use
222 ada_decode_symbol.
223 * symtab.h (struct general_symbol_info)
224 <language_specific::obstack>: New field.
225 <ada_mangled>: New field.
226 (SYMBOL_SET_LANGUAGE): Add 'obstack' argument.
227 (symbol_set_language): Update.
228
ccde22c0
TT
2292013-04-08 Tom Tromey <tromey@redhat.com>
230
231 * symtab.c (symbol_init_cplus_specific, symbol_set_demangled_name):
232 Take an obstack, not an objfile.
233 (symbol_set_names): Update.
234 * symtab.h (symbol_set_demangled_name): Update.
235
e623cf5d
TT
2362013-04-08 Tom Tromey <tromey@redhat.com>
237
238 * coffread.c (process_coff_symbol, coff_read_enum_type): Call
239 allocate_symbol.
240 * dwarf2read.c (fixup_go_packaging): Call allocate_symbol.
241 (read_func_scope): Call allocate_template_symbol.
242 (new_symbol_full): Call allocate_symbol.
243 * jit.c (finalize_symtab): Call allocate_symbol.
244 * jv-lang.c (add_class_symbol): Call allocate_symbol.
245 * mdebugread.c (parse_symbol, new_block): Call allocate_symbol.
246 * stabsread.c (patch_block_stabs, define_symbol, read_enum_type)
247 (common_block_end): Call allocate_symbol.
248 * symtab.c (allocate_symbol, initialize_symbol)
249 (allocate_template_symbol): New functions.
250 * symtab.c (allocate_symbol, initialize_symbol)
251 (allocate_template_symbol): Declare.
252 * xcoffread.c (process_xcoff_symbol): Call initialize_symbol.
253
f6de8ec2
PA
2542013-04-08 Pedro Alves <palves@redhat.com>
255 Keith Seitz <keiths@redhat.com>
256
257 * breakpoint.c (create_breakpoint): Rename
258 "parse_condition_and_thread" parameter to "parse_arg". Update
259 describing comment. If !PARSE_ARG, then error out if ARG is not
260 the empty string after extracting the location.
261 * breakpoint.h (create_breakpoint): Rename
262 "parse_condition_and_thread" parameter to "parse_arg".
263
f65ce5fb
AR
2642013-04-08 Aleksandar Ristovski <aristovski@qnx.com
265
266 * solib-svr4.c (lm_addr_check): Add const qualifier to 'so' arg.
267
cc5925ad
YQ
2682013-04-07 Yao Qi <yao@codesourcery.com>
269
270 * remote.c (remote_trace_find): Change type of parameters 'addr1'
271 and 'addr2' to CORE_ADDR.
272 * target.c (update_current_target): Update.
273 * target.h (struct target_ops) <to_trace_find>: Change parameter
274 type to CORE_ADDR.
275 * tracepoint.c (tfind_1): Change type of parameters 'addr1' and
276 'addr2' to CORE_ADDR.
277 (tfile_trace_find): Likewise.
278 (tfile_get_traceframe_address): Change return type to CORE_ADDR.
279 Change local variable 'addr' to type CORE_ADDR.
280 * tracepoint.h (tfind_1): Update declaration.
281
d9ac0664
EZ
2822013-04-06 Eli Zaretskii <eliz@gnu.org>
283
284 * windows-nat.c (windows_get_absolute_argv0): Move from here...
285 * mingw-hdep.c (windows_get_absolute_argv0): ...to here.
286 Include main.h.
287
288 * windows-nat.h (windows_get_absolute_argv0): Move prototype from
289 here...
290 * main.h (windows_get_absolute_argv0): ...to here.
291
02142a6c
DE
2922013-04-05 Doug Evans <dje@google.com>
293
294 * dwarf2read.c (struct dwarf2_per_objfile): Tweak comment.
295 (read_cutu_die_from_dwo): Add comments.
296 (read_structure_type): Update comment.
297 (read_enumeration_type, read_namespace_type): Update comment.
298 (read_die_type, get_die_type_at_offset, get_die_type): Update comment.
299
43662968
JK
3002013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
301
302 Convert man pages to texinfo, new gdbinit.5 texinfo page.
303 * Makefile.in (gdb.z): Remove.
304 (install-only): Remove $(man1dir) and gdb.1 installation.
305 * gdb.1: Remove.
306
9ead1b84
JK
3072013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
308
309 Fix compatibility with Linux kernel 3.8.3.
310 * linux-tdep.c (linux_find_memory_regions_full): Move variable number
311 to more inner block. Remove parsing of NUMBER from outer block.
312 Parse NUMBER only if KEYWORD has been identified.
313
d1794952
JK
3142013-04-05 Jan Kratochvil <jan.kratochvil@redhat.com>
315
316 Fix variable name shadowing.
317 * linux-tdep.c (linux_find_memory_regions_full): Rename outer variable
318 filename to mapsfilename and update its uses.
319
9025569e
EZ
3202013-04-05 Eli Zaretskii <eliz@gnu.org>
321
322 * Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is
323 empty. See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html
324 and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for
325 details of the problem.
326
c9a6ce02
PA
3272013-04-04 Pedro Alves <palves@redhat.com>
328 Hui Zhu <hui@codesourcery.com>
329
330 * breakpoint.c (validate_commands_for_breakpoint): If validating a
331 tracepoint, reset its STEP_COUNT and call validate_actionline.
332
5ff888ce
DE
3332013-04-03 Doug Evans <dje@google.com>
334
bf6af496
DE
335 * dwarf2read.c (read_die_and_siblings_1): Renamed from
336 read_die_and_siblings.
337 (read_die_and_siblings): New function.
338 (read_cutu_die_from_dwo): Dump die if requested.
339 (read_die_and_children): Call read_full_die_1 and
340 read_die_and_siblings_1.
341 (read_full_die): Dump die if requested.
342
343 * dwarf2read.c (read_comp_units_from_section): Add debugging printf.
344
0ac5b59e
DE
345 * dwarf2read.c (struct dwo_file): New member comp_dir.
346 Rename member name to dwo_name. All uses updated.
347 (hash_dwo_file): Include comp_dir in computation.
348 (eq_dwo_file): Ditto.
349 (lookup_dwo_file_slot): New arg comp_dir. All callers updated.
350 (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto.
351
5ff888ce
DE
352 * psymtab.c (read_psymtabs_with_fullname): Don't call
353 psymtab_to_fullname if the basenames are different.
354
ec83d211
JK
3552013-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
356
357 * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname".
358 New entry about "fullname" presence.
359
4f4352f7
PA
3602013-04-03 Pedro Alves <palves@redhat.com>
361
362 * NEWS: Mention x86_64/Cygwin as new native configuration.
363
3d1d5ea3
DE
3642013-04-02 Doug Evans <dje@google.com>
365
366 * dwarf2read.c (read_structure_type): Fix typo in comment.
367
be9a8770
PA
3682013-04-02 Pedro Alves <palves@redhat.com>
369
370 * NEWS: Mention "set/show debug aarch64", "set/show debug
371 coff-pe-read" and "set/show debug mach-o".
372
a46c1e42
PA
3732013-04-02 Pedro Alves <palves@redhat.com>
374
375 * NEWS: Mention "set/show remote trace-buffer-size-packet".
376
3ad18b19
EZ
3772013-04-02 Eli Zaretskii <eliz@gnu.org>
378
379 * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h.
380 gdb_string.h is now in common/.
381
e9f1758d
PA
3822013-04-02 Pedro Alves <palves@redhat.com>
383
384 * NEWS: Move "set debug notification" and "set trace-buffer-size"
385 under "New options".
386
049dc89b
JK
3872013-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
388
389 Revert this patch:
390 PR gdb/15275
391 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
392
c33e31fd
PA
3932013-04-02 Pedro Alves <palves@redhat.com>
394
395 PR gdb/15275
396
397 * remote.c (send_interrupt_sequence): Use remote_serial_write.
398 (remote_serial_write): New function.
399 (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write.
400
ea5f3910
JW
4012013-04-01 Jiong Wang <jiwang@tilera.com>
402
403 * NEWS: Mention TILE-Gx in "New native configurations" and
404 "New targets" sections.
405
5c6fa7ab
DE
4062013-04-01 Doug Evans <dje@google.com>
407
c0f78cd4
DE
408 * dwarf2read.c (lookup_signatured_type_at_offset): Delete.
409 (process_enumeration_scope): Simplify.
410
0186c6a7
DE
411 * dwarf2read.c (struct dwarf2_per_cu_data): Move member
412 type_unit_group ...
413 (struct signatured_type): ... to here.
414 (sig_type_ptr): New typedef.
415 (type_unit_group): Delete member 't.first_cu'. Move member 'tus'
416 out of union 't'. All uses updated.
417 (dw2_get_file_names_reader): Assert not called for a type unit.
418 (dw2_get_file_names): Assert not called for a type unit or type
419 unit group.
420 (build_type_psymtabs_reader): Assert called for a type unit.
421 (build_type_psymtab_dependencies): Assert called for a type unit group.
422
5c6fa7ab
DE
423 * dwarf2read.c (free_dwo_file): Add comment.
424 (dwarf2_per_objfile_free): Unref dwp bfd.
425
b3c0ad67 4262013-04-01 Aleksandar Ristovski <aristovski@qnx.com>
cebca8c1
AR
427
428 * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'.
429 (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'.
430 (read_pe_exported_syms): Remove unused 'exportix'.
431 (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries',
432 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata',
433 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'.
434
e2df1547
AR
4352013-04-01 Aleksandar Ristovski <aristovski@qnx.com>
436
437 * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'.
438 (print_it_watchpoint): Remove unused 'bl'.
439 (say_where): Remove unused 'uiout'.
440 (bpstat_remove_breakpoint_callback): Remove unused 'uiout'.
441 (bkpt_breakpoint_hit): Remove unused 'b'.
442 (internal_bkpt_print_it): Remove unused 'uiout'.
443 * buildsym.c (augment_type_symtab): Remove unused 'i'.
444
d81e75c0
TD
4452013-03-31 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
446
447 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function.
448 (ppc64_sysv_abi_push_dummy_call): Handle complex arguments.
449
5a8b3f62
DE
4502013-03-29 Doug Evans <dje@google.com>
451
ab5088bf
DE
452 * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file.
453 Delete arg is_dwp. All callers updated.
454 (open_dwp_file): New function.
455 (open_and_init_dwp_file): Call it.
456 (get_dwp_file): New function.
457 (lookup_dwo_cutu): Call it.
458
a8ad1e57
DE
459 * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and
460 unnecessary, cleanup.
461
6296d8c1
DE
462 * dwarf2read.c (lookup_dwo_cutu): Improve complaint text.
463
b0c7bfa9
DE
464 * dwarf2read.c (read_cutu_die_from_dwo): New function.
465 (lookup_dwo_unit): New function.
466 (init_cutu_and_read_dies): Move DWO handling to new functions.
467
c88ee1f0
DE
468 * dwarf2read.c (struct signatured_type): Tweak comment.
469 (struct dwo_unit): Tweak comment.
470 (create_debug_types_hash_table): Tweak comment. Reformat long line.
471 (create_dwo_debug_info_hash_table): Tweak comment.
472 (dwarf2_per_cu_offset_and_type): Tweak comment.
473
5a8b3f62
DE
474 * dwarf2read.c (lookup_signatured_type): Remove complaint about
475 missing .debug_types section.
476
9852c492
YQ
4772013-03-29 Yao Qi <yao@codesourcery.com>
478
479 * corelow.c: Include "completer.h".
480 (_initialize_corelow): Call add_target_with_completer with
481 argument 'filename_completer'.
482 * tracepoint.c: Likewise.
483 * exec.c (_initialize_exec): Likewise.
484 * target.c (add_target): Rename to ...
485 (add_target_with_completer): ... this. Call set_cmd_completer
486 if parameter completer is not NULL.
487 (add_target): New.
488 * target.h: Include "command.h".
489 (add_target_with_completer): Declare it.
490
af312be7
JB
4912013-03-28 Joel Brobecker <brobecker@adacore.com>
492
493 * coffread.c (is_import_fixup_symbol): New function.
494 (record_minimal_symbol): Use is_import_fixup_symbol to
495 detect import fixup symbols, and discard them.
496
8a0459fd
DE
4972013-03-28 Doug Evans <dje@google.com>
498
0349ea22
DE
499 * dwarf2read.c (create_debug_types_hash_table): Don't allocate the
500 types hash table until we know we need it.
501
f652bce2
DE
502 * dwarf2read.c (create_addrmap_from_index): Complain about bad CU
503 index numbers.
504
e4a48d9d
DE
505 * dwarf2read.c (dw2_get_file_names): Delete arg "objfile".
506 All callers updated.
507 (dw2_print_stats): Print #read CUs too.
508 (dump_die_shallow): Print signatured types better.
509
8a0459fd
DE
510 * dwarf2read.c (struct dwarf2_per_cu_data): Rename member
511 info_or_types_section to section. All uses updated.
512 (struct dwo_unit): Ditto.
513
bd3eecc3
PA
5142013-03-28 Pedro Alves <palves@redhat.com>
515
516 * NEWS (New options): New section.
517 (New options): Mention set/show remote trace-status-packet.
518 * remote.c (PACKET_qTStatus): New enumeration value.
519 (remote_get_trace_status): Skip sending qTStatus if the packet is
520 disabled. Use packet_ok.
521 (_initialize_remote): Register a configuration command for
522 qTStatus packet.
523
41245087
DE
5242013-03-28 Doug Evans <dje@google.com>
525
7edbb660
DE
526 * symfile.c (find_separate_debug_file): Add comment.
527 (terminate_after_last_dir_separator): Tweak comment.
528
0018ea6f
DE
529 * dwarf2read.c (create_partial_symtab): Add forward decl.
530 (create_partial_symtab): Move to be closer to other psymtab functions.
531 (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto.
532
ca69b9e6
DE
533 * dwarf2read.c (dwarf2_physname): Move declaration to better spot.
534 (compute_symtab_includes): Remove unnecessary forward declaration.
535 (die_needs_namespace): Add comment marking group of functions for
536 dwarf2 name computation.
537
a9375afe
DE
538 * typeprint.c (_initialize_typeprint): Improve type help text.
539
41245087
DE
540 * python/python.c (finish_python_initialization): Provide suggestion
541 for how to tell gdb to find its python files.
542
7f7cc265
PA
5432013-03-28 Pedro Alves <palves@redhat.com>
544
545 PR gdb/15294
546
547 * source.c (_initialize_source): Change back "set listsize" to an
548 integer command.
549
ec21308c
JK
5502013-03-27 Gareth McMullin <gareth@blacksphere.co.nz>
551
552 PR gdb/15275
553 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
554
840a9a1f
PA
5552013-03-27 Pedro Alves <palves@redhat.com>
556
557 * top.c (history_size): Rename to ...
558 (history_size_setshow_var): ... this. Add comment.
559 (show_commands): Use readline's 'history_length' instead of
560 computing the history length by calling history_get in a loop.
561 (set_history_size_command): Error out for sizes over INT_MAX.
562 Restore previous history size on invalid size.
563 (init_history): If HISTSIZE is negative, leave the history size as
564 zero. Add comments.
565 (init_main): Adjust.
566
826ecc4d
PA
5672013-03-27 Pedro Alves <palves@redhat.com>
568
569 * coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug
570 coff_pe_read" command to "set debug coff-pe-read".
571
0ccfeeae
MM
5722013-03-27 Markus Metzger <markus.t.metzger@intel.com>
573
574 * record.c (command_size_to_target_size): Fix size comparison.
575 Change parameter type from pointer to integer to integer.
576 Update all users.
577
40653b35
PM
5782013-03-27 Pierre Muller <muller@sourceware.org>
579
580 * windows-nat.c (handle_output_debug_string): Avoid typecast
581 from integer of different size warning.
582
c62fa0e2
JB
5832013-03-26 Joel Brobecker <brobecker@adacore.com>
584
585 * windows-nat.c (handle_output_debug_string): Add empty line
586 after local block variable definition.
587
2c619be2
PA
5882013-03-26 Pedro Alves <palves@redhat.com>
589
590 * ser-tcp.c (wait_for_connect): Make 'polls' parameter unsigned.
591 (net_open): Make 'polls' local unsigned.
592
1b493192
PA
5932013-03-26 Pedro Alves <palves@redhat.com>
594
595 * remote.c (_initialize_remote): Make "set remoteaddresssize"
596 a zuinteger command instead of uinteger.
597
7ee70bf5
PA
5982013-03-26 Pedro Alves <palves@redhat.com>
599
600 * record-full.c (record_full_insn_num): Make it unsigned.
601 (record_full_check_insn_num, record_full_message)
602 (record_full_registers_change, record_full_xfer_partial): Remove
603 record_full_insn_max_num check (it's always != 0).
604 (record_full_info, record_full_restore): Use %u as format string.
605 (): Use %u as format string.
606 (set_record_full_insn_max_num): Remove record_full_insn_max_num
607 check (it's always != 0).
608
dfd1f9bb
PA
6092013-03-26 Pedro Alves <palves@redhat.com>
610
611 * dcache.c (_initialize_dcache): Make the "set dcache line-size"
612 and "set dcache size" commands zuinteger instead of uinteger.
613
addb4faf
PA
6142013-03-26 Pedro Alves <palves@redhat.com>
615
616 * cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version"
617 command zuinteger instead of uinteger.
618
b75bf488
PA
6192013-03-26 Pedro Alves <palves@redhat.com>
620
621 * coff-pe-read.c (_initialize_coff_pe_read): Make the command
622 zuinteger instead of uinteger.
623
42c634cb
PA
6242013-03-26 Pedro Alves <palves@redhat.com>
625
626 * record.c (record_insn_history_size_setshow_var)
627 (record_call_history_size_setshow_var): New globals.
628 (command_size_to_target_size): New function.
629 (cmd_record_insn_history, cmd_record_call_history): Use
630 command_size_to_target_size instead of cast.
631 (validate_history_size, set_record_insn_history_size)
632 (set_record_call_history_size): New functions.
633 (_initialize_record): Install set_record_insn_history_size and
634 set_record_call_history_size as "set" hooks of "set record
635 instruction-history-size" and "set record
636 function-call-history-size".
637
1fb2e2b5
PA
6382013-03-26 Pedro Alves <palves@redhat.com>
639
640 * top.c (gdb_rl_operate_and_get_next): Replace max_input_history
641 use with history_max_entries use. Remove FIXME note.
642
99c819ee
MM
6432013-03-26 Markus Metzger <markus.t.metzger@intel.com>
644
645 * record-btrace.c (record_btrace_close): Call
646 record_btrace_auto_disable.
647
9f9e404c
JB
6482013-03-25 Joel Brobecker <brobecker@adacore.com>
649
650 * rs6000-nat.c (fixup_breakpoints): Delete declaration.
651
ebcdfe33
DE
6522013-03-25 Doug Evans <dje@google.com>
653
654 * contrib/cc-with-tweaks.sh: Check exit code of dwp.
655
24955f63
TT
6562013-03-25 Tom Tromey <tromey@redhat.com>
657
658 PR symtab/11462:
659 * c-exp.y (exp): Add new productions for destructors after '.' and
660 '->'.
661 (write_destructor_name): New function.
662
fce632b6
TT
6632013-03-25 Tom Tromey <tromey@redhat.com>
664
665 PR c++/9197:
666 * opencl-lang.c (evaluate_subexp_opencl) <STRUCTOP_STRUCT>: Use
667 value_struct_elt, not lookup_struct_elt_type.
668 * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
669 STRUCTOP_PTR>: Use value_struct_elt, not lookup_struct_elt_type.
670 * expression.h (EVAL_AVOID_SIDE_EFFECTS): Update comment.
671
a4341769
YQ
6722013-03-25 Yao Qi <yao@codesourcery.com>
673
674 * ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir'
675 instead of '_mkdir'.
676
b5981e5a
EZ
6772013-03-23 Eli Zaretskii <eliz@gnu.org>
678
679 * windows-nat.c (windows_get_absolute_argv0): New function.
680 * windows-nat.h: Add its prototype.
681
682 * main.c (get_init_files): Use filename_ncmp instead of strncmp.
683 Use IS_DIR_SEPARATOR instead of looking for a character inside
684 SLASH_STRING. Include filenames.h.
685 (captured_main) [__MINGW32__]: Make argv[0] absolute, so that
686 relocate_gdb_directory works when passed gdb_program_name.
687 Include windows-nat.h.
688
598d3636
JK
6892013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
690
691 * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR.
692 * remote.c (trace_error): Remove the special handling of '2'.
693 (readchar) <SERIAL_EOF>
694 (readchar) <SERIAL_ERROR>
695 (getpkt_or_notif_sane_1): Use TARGET_CLOSE_ERROR for them.
696 (remote_get_trace_status): Call throw_exception if EX is
697 TARGET_CLOSE_ERROR.
698 * utils.c (perror_with_name): Rename to ...
699 (throw_perror_with_name): ... here. New parameter errcode, describe it
700 in the function comment.
701 (perror_with_name): New function wrapper.
702 * utils.h (enum errors): New stub declaration.
703 (throw_perror_with_name): New declaration.
704
82b821e9
PA
7052013-03-22 Pedro Alves <palves@redhat.com>
706 Yao Qi <yao@codesourcery.com>
707 Mark Kettenis <kettenis@gnu.org>
708
709 * cli/cli-setshow.c (do_set_command) <var_uinteger>:
710 Don't let the user set the value to UINT_MAX directly.
711 <var_integer>: Don't let the user set the value to INT_MAX
712 directly.
713
78a095c3
JK
7142013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
715
716 * remote.c (remote_unpush_target): New function.
717 (remote_open_1): Remove two pop_target calls, update one comment, add
718 comment to target_preopen call. Replace pop_target call by
719 remote_unpush_target call.
720 (interrupt_query, readchar, getpkt_or_notif_sane_1): Replace
721 pop_target calls by remote_unpush_target calls.
722
3e74e146
PA
7232013-03-22 Pedro Alves <palves@redhat.com>
724
725 * linux-nat.c (linux_child_follow_fork): Don't call
726 linux_enable_event_reporting.
727 (linux_handle_extended_wait): Don't call
728 linux_enable_event_reporting.
729
a2213dca
PA
7302013-03-22 Pedro Alves <palves@redhat.com>
731
732 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Define INSN macro,
733 use it to rewrite the trampoline buffers with type gdb_byte[], and
734 undefine the macro. Remove char* cast.
735
bd712aed
DE
7362013-03-21 Doug Evans <dje@google.com>
737
738 New commands "mt set per-command {space,time,symtab} {on,off}".
739 * NEWS: Add entry.
740 * event-top.c: #include "maint.h".
741 * main.c: #include "maint.h".
742 * maint.c: #include <sys/time.h>, <time.h>, block.h, top.h,
743 timeval-utils.h, maint.h, cli/cli-setshow.h.
744 (per_command_time, per_command_space): New static globals.
745 (per_command_symtab): New static global.
746 (per_command_setlist, per_command_showlist): New static globals.
747 (struct cmd_stats): Move here from utils.c.
748 (set_per_command_time): Renamed from set_display_time in utils.c
749 and moved here. All callers updated.
750 (set_per_command_space): Renamed from set_display_space in utils.c
751 and moved here. All callers updated.
752 (count_symtabs_and_blocks): New function.
753 (report_command_stats): Moved here from utils.c. Add support for
754 printing symtab stats. Only print data if enabled before command
755 executed.
756 (make_command_stats_cleanup): Ditto.
757 (sert_per_command_cmd, show_per_command_cmd): New functions.
758 (_initialize_maint_cmds): Add new commands
759 mt set per-command {space,time,symtab} {on,off}.
760 * maint.h: New file.
761 * top.c: #include "maint.h".
762 * utils.c (reset_prompt_for_continue_wait_time): New function.
763 (get_prompt_for_continue_wait_time): New function.
764 * utils.h (reset_prompt_for_continue_wait_time): Declare
765 (get_prompt_for_continue_wait_time): Declare.
766 (make_command_stats_cleanup): Moved to maint.h.
767 (set_display_time, set_display_space): Moved to maint.h and renamed
768 to set_per_command_time, set_per_command_space.
769 * cli/cli-setshow.c (parse_cli_boolean_value): Renamed from
770 parse_binary_operation and made non-static. Don't call error,
771 just return an error marker. All callers updated.
772 * cli/cli-setshow.h (parse_cli_boolean_value): Declare.
773
d76488d8
TT
7742013-03-21 Tom Tromey <tromey@redhat.com>
775
776 * symfile.c (alloc_section_addr_info): Update header. Don't set
777 'num_sections' field.
778 (build_section_addr_info_from_section_table): Set 'num_sections'.
779 (build_section_addr_info_from_bfd): Likewise.
780 (build_section_addr_info_from_objfile): Remove dead loop
781 condition.
782 (free_section_addr_info): Unconditionally call xfree.
783 (relative_addr_info_to_section_offsets, addrs_section_sort)
784 (addr_info_make_relative, syms_from_objfile_1): Remove dead loop
785 condition.
786 (syms_from_objfile_1): Remove dead 'if' condition. Check
787 'num_sections'.
788 (add_symbol_file_command): Set 'num_sections'.
789 * symfile-mem.c (symbol_file_add_from_memory): Set
790 'num_sections'.
791 * somread.c (som_symfile_offsets): Remove dead loop condition.
792 * machoread.c (macho_symfile_offsets): Remove dead 'if'.
793 * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'.
794
a72e5169 7952013-03-21 Tom Tromey <tromey@redhat.com>
92bc6a20
TT
796
797 * tracepoint.h (decode_agent_options): Add 'trace_string'
798 argument.
799 * tracepoint.c (decode_agent_options): Add 'trace_string'
800 argument.
801 (validate_actionline): Update.
802 (collect_symbol): Add 'trace_string' argument.
803 (struct add_local_symbols_data) <trace_string>: New field.
804 (do_collect_symbol): Update.
805 (add_local_symbols): Add 'trace_string' argument.
806 (encode_actions_1): Update.
807 (trace_dump_actions): Update.
808 * dwarf2loc.c (access_memory): Update.
809 * ax.h (struct agent_expr) <tracing, trace_string>: New fields.
810 * ax-general.c (new_agent_expr): Update.
811 * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var)
812 (gen_trace_for_return_address): Add argument.
813 (trace_kludge, trace_string_kludge): Remove.
814 * ax-gdb.c (trace_kludge, trace_string_kludge): Remove.
815 (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update.
816 (gen_trace_for_var): Add 'trace_string' argument.
817 (gen_trace_for_expr, gen_trace_for_return_address): Likewise.
818 (gen_printf, agent_eval_command_one): Update.
819
b2f83c08
TT
8202013-03-21 Tom Tromey <tromey@redhat.com>
821
822 PR exp/15109:
823 * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO.
824 Handle FILENAME token.
825
9507860e
TT
8262013-03-21 Tom Tromey <tromey@redhat.com>
827
828 * c-exp.y (YYPRINT): Define.
829 (c_print_token): New function.
830
e403aa4b
TT
8312013-03-21 Tom Tromey <tromey@redhat.com>
832
833 * c-exp.y (%union) <sym, ivar, ivec>: Remove.
834
af307d6a
YQ
8352013-03-21 Yao Qi <yao@codesourcery.com>
836
837 * ctf.c: Include "gdb_stat.h".
838 [USE_WIN32API]: New macro 'mkdir'.
839 (ctf_start): Use permission bits macros if they are defined.
840
fb81d016
KS
8412013-03-20 Keith Seitz <keiths@redhat.com>
842
843 * breakpoint.h (struct breakpoint): Add comment to
844 extra_string indicating that this member is mallod'd.
845 * breakpoint.c (base_breakpoint_dtor): Free extra_string.
846
ef0026f0
PA
8472013-03-20 Pedro Alves <palves@redhat.com>
848
849 PR gdb/15289
850
851 * cli/cli-setshow.c (do_set_command)
852 <var_uinteger, var_zuinteger>: Use LONGEST for variable holding
853 the result of parsing the command argument. Throw error if the
854 value is greater than UINT_MAX. Print the invalid value with
855 plongest.
856 <var_integer, var_zinteger>: Use LONGEST for variable holding the
857 result of parsing the command argument. Throw error if the value
858 is greater than INT_MAX, not greater or equal. Also throw error
859 if the value is less than INT_MIN. Print the invalid value with
860 plongest.
861 <var_zuinteger_unlimited>: Throw error if the value is greater
862 than INT_MAX, not greater or equal.
863 (do_show_command) <var_integer, var_zinteger,
864 var_zuinteger_unlimited>: Use %d for printing int, not %u.
865
24d6c2a0
TT
8662013-03-20 Tom Tromey <tromey@redhat.com>
867
868 * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops,
869 if possible.
870 * dwarf2read.c (read_func_scope): Remove old FIXME.
871 * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS,
872 not LOC_COMPUTED.
873 * findvar.c (symbol_read_needs_frame, default_read_var_value):
874 Unconditionally call via computed ops, if possible.
875 * printcmd.c (address_info): Unconditionally call via computed ops,
876 if possible.
877 * stack.c (read_frame_arg): Unconditionally call via computed ops,
878 if possible.
879 * symtab.c (register_symbol_computed_impl): Sanity check 'ops'.
880 * tracepoint.c (scope_info): Unconditionally call via computed ops,
881 if possible.
882
f1e6e072
TT
8832013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
884 Tom Tromey <tromey@redhat.com>
885
886 PR symtab/8421:
887 * coffread.c (coff_register_index): New global.
888 (process_coff_symbol, coff_read_enum_type): Set
889 SYMBOL_ACLASS_INDEX.
890 (_initialize_coffread): Initialize new global.
891 * dwarf2loc.c (locexpr_find_frame_base_location)
892 (dwarf2_block_frame_base_locexpr_funcs)
893 (loclist_find_frame_base_location)
894 (dwarf2_block_frame_base_loclist_funcs): New.
895 (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error.
896 (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist.
897 * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs)
898 (dwarf2_block_frame_base_loclist_funcs): New.
899 * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index)
900 (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New
901 globals.
902 (read_func_scope): Update.
903 (fixup_go_packaging, mark_common_block_symbol_computed)
904 (var_decode_location, new_symbol_full, dwarf2_const_value):
905 Set SYMBOL_ACLASS_INDEX.
906 (dwarf2_symbol_mark_computed): Likewise. Add 'is_block' argument.
907 (_initialize_dwarf2_read): Initialize new globals.
908 * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX.
909 * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX.
910 * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New
911 globals.
912 (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX.
913 (_initialize_mdebugread): Initialize new globals.
914 * psympriv.h (struct partial_symbol) <aclass>: Update comment.
915 * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX.
916 (stab_register_index, stab_regparm_index): New globals.
917 (define_symbol, read_enum_type, common_block_end): Set
918 SYMBOL_ACLASS_INDEX.
919 (_initialize_stabsread): Initialize new globals.
920 * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New
921 globals.
922 (MAX_SYMBOL_IMPLS): New define.
923 (register_symbol_computed_impl, register_symbol_block_impl)
924 (register_symbol_register_impl)
925 (initialize_ordinary_address_classes): New functions.
926 (_initialize_symtab): Call initialize_ordinary_address_classes.
927 * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant.
928 (struct symbol_impl): New.
929 (SYMBOL_ACLASS_BITS): New define.
930 (struct symbol) <aclass, ops>: Remove fields.
931 <aclass_index>: New field.
932 (symbol_impls): Declare.
933 (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine.
934 (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines.
935 (register_symbol_computed_impl, register_symbol_block_impl)
936 (register_symbol_register_impl): Declare.
937 (struct symbol_computed_ops): Add location_has_loclist.
938 (struct symbol_block_ops): New.
939 (SYMBOL_BLOCK_OPS): New.
940 * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX.
941
dbccfd4c
TT
9422013-03-20 Tom Tromey <tromey@redhat.com>
943
944 * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section)
945 (print_partial_symbols, recursively_search_psymtabs): Use
946 PSYMBOL_CLASS.
947
e3f1ad4f
PM
9482013-03-20 Pierre Muller <muller@sourceware.org>
949
950 * contrib/ari/gdb_ari.sh (OP eol rule): Also check
951 addtion, subtraction, multiplication and division binary operator.
952
460014f5
JK
9532013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
954
955 Code cleanup.
956 * bfd-target.c (target_bfd_xclose): Remove parameter quitting.
957 * bsd-kvm.c (bsd_kvm_close): Likewise.
958 * bsd-uthread.c (bsd_uthread_close): Likewise.
959 * corelow.c (core_close): Likewise.
960 (core_close_cleanup): Remove parameter quitting from a caller.
961 * event-top.c (async_disconnect): Likewise.
962 * exec.c (exec_close_1): Remove parameter quitting.
963 * go32-nat.c (go32_close): Likewise.
964 * linux-nat.c (linux_nat_close): Remove parameter quitting. Remove
965 parameter quitting from a caller.
966 * mips-linux-nat.c (super_close): Remove parameter quitting from the
967 variable.
968 (mips_linux_close): Remove parameter quitting. Remove parameter
969 quitting from a caller.
970 * monitor.c (monitor_close): Remove parameter quitting.
971 * monitor.h (monitor_close): Likewise.
972 * record-btrace.c (record_btrace_close): Likewise.
973 * record-full.c (record_full_close): Likewise.
974 * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove
975 it also from fprintf_unfiltered.
976 * remote-mips.c (mips_close): Remove parameter quitting.
977 (mips_detach): Remove parameter quitting from a caller.
978 * remote-sim.c (gdbsim_close): Remove parameter quitting.
979 (gdbsim_close): Remove duplicate function comment. Remove parameter
980 quitting and remove it also from printf_filtered.
981 * remote.c (remote_close): Remove parameter quitting.
982 * solib-svr4.c (enable_break): Remove parameter quitting from a caller.
983 * target.c (update_current_target): Remove parameter int from to_close
984 de_fault.
985 (push_target, unpush_target, pop_target): Remove parameter quitting from
986 a caller.
987 (pop_all_targets_above, pop_all_targets): Remove parameter quitting.
988 Remove parameter quitting from a caller.
989 (target_preopen): Remove parameter quitting from a caller.
990 (target_close): Remove parameter quitting. Remove parameter quitting
991 from a caller two times. Remove parameter quitting also from
992 fprintf_unfiltered.
993 * target.h (struct target_ops): Remove parameter quitting and as int
994 from fields to_xclose and to_close.
995 (extern struct target_ops current_target):
996 (target_close, pop_all_targets): Remove parameter quitting. Update the
997 comment.
998 (pop_all_targets_above): Remove parameter quitting.
999 * top.c (quit_target): Remove parameter quitting from a caller.
1000 * tracepoint.c (tfile_close): Remove parameter quitting.
1001 * windows-nat.c (windows_close): Remove parameter quitting.
1002
35a7120b
CV
10032013-03-20 Corinna Vinschen <vinschen@redhat.com>
1004
1005 * windows-nat.c (handle_output_debug_string): Replace call
1006 to string_to_core_addr with call to strtoull.
1007
8249a5a9
YQ
10082013-03-20 Yao Qi <yao@codesourcery.com>
1009
1010 * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS
1011 and write it to CTF metadata.
1012
2c15ef43
CV
10132013-03-19 Corinna Vinschen <vinschen@redhat.com>
1014
1015 * windows-nat.c (handle_output_debug_string): Change type of n to
1016 SIZE_T to avoid crash on 64 bit systems.
1017
1cdd3232
EZ
10182013-03-17 Eli Zaretskii <eliz@gnu.org>
1019
1020 * python/python-internal.h (HAVE_SNPRINTF)
1021 [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings
1022 about redefinition of snprintf by pyerrors.h.
1023
3cb2ab1a
SE
10242013-03-15 Steve Ellcey <sellcey@mips.com>
1025
1026 * remote-sim.c (sim_command_completer): Make char arguments const.
1027
9ce98649
TT
10282013-03-15 Tom Tromey <tromey@redhat.com>
1029
1030 PR c++/15116:
1031 * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC.
1032
dccee2de
TT
10332013-03-14 Tom Tromey <tromey@redhat.com>
1034
1035 * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>:
1036 New fields.
1037 (get_file_crc): Move from symfile.c.
1038 (gdb_bfd_crc): New function.
1039 * gdb_bfd.h (gdb_bfd_crc): Declare.
1040 * objfiles.h (struct objfile) <crc32, crc32_p>: Remove.
1041 * symfile.c (get_file_crc): Move to gdb_bfd.c.
1042 (separate_debug_file_exists): Use gdb_bfd_crc.
1043
cc0ea93c
TT
10442013-03-14 Tom Tromey <tromey@redhat.com>
1045
1046 * symfile.c (get_debug_link_info): Remove.
1047 (find_separate_debug_file_by_debuglink): Use
1048 bfd_get_debug_link_info.
1049
08c23b0d
TT
10502013-03-14 Tom Tromey <tromey@redhat.com>
1051
1052 * symtab.c (error_in_psymtab_expansion): New function.
1053 (lookup_symbol_aux_quick)
1054 (basic_lookup_transparent_type_quick): Remove "last resort"
1055 code. Use error_in_psymtab_expansion.
1056
288e77a7
JK
10572013-03-14 Doug Evans <dje@google.com>
1058 Jan Kratochvil <jan.kratochvil@redhat.com>
1059
1060 * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after
1061 any successful compare_filenames_for_search or FILENAME_CMP.
1062 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
1063 * symtab.c (iterate_over_some_symtabs): Likewise.
1064
8f1b8b82
JK
10652013-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1066
1067 * source.c (print_source_lines_base): Make a local copy of
1068 symtab_to_fullname.
1069
23eb71e4
JK
10702013-03-14 Hui Zhu <hui_zhu@mentor.com>
1071 Jan Kratochvil <jan.kratochvil@redhat.com>
1072
1073 * source.c (print_source_lines_base): Suppress "file" for TUI.
1074
bb869963
SDJ
10752013-03-14 Keith Seitz <keiths@redhat.com>
1076 Alan Matsuoka <alanm@redhat.com>
1077
1078 PR c++/15203
1079 PR c++/15210
1080 * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and
1081 TYPE_CODE_METHOD.
1082 * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain
1083 symbols.
1084
d6682f9e
YQ
10852013-03-14 Yao Qi <yao@codesourcery.com>
1086
1087 * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace
1088 status to tfile if trace is stopped by command 'tstop'.
1089
a22fa6e4
YQ
10902013-03-14 Yao Qi <yao@codesourcery.com>
1091
1092 * tracepoint.c (tfile_write_status): Write trace notes and user
1093 name into tfile if they are not NULL.
1094
d0353e76
YQ
10952013-03-14 Hui Zhu <hui@codesourcery.com>
1096 Yao Qi <yao@codesourcery.com>
1097
1098 * Makefile.in (REMOTE_OBS): Add ctf.o.
1099 (SFILES): Add ctf.c.
1100 (HFILES_NO_SRCDIR): Add ctf.h.
1101 * ctf.c, ctf.h: New files.
1102 * tracepoint.c: Include 'ctf.h'.
1103 (collect_pseudocommand): Remove static.
1104 (trace_save_command): Parse option "-ctf".
1105 Produce different trace file writers per option.
1106 Adjust output message.
1107 (trace_save_tfile, trace_save_ctf): New.
1108 * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare.
1109 * mi/mi-main.c: Include 'ctf.h'.
1110 (mi_cmd_trace_save): Handle option '-ctf'. Call either
1111 trace_save_tfile or trace_save_ctf.
1112 * NEWS: Mention these changes.
1113
3f43bc09
YQ
11142013-03-14 Yao Qi <yao@codesourcery.com>
1115
1116 * tracepoint.c (trace_file_writer_xfree): New.
1117 (struct tfile_writer_data): New.
1118 (tfile_dtor, tfile_can_target_save, tfile_start): New.
1119 (tfile_write_header, tfile_write_regblock_type): New.
1120 (tfile_write_status, tfile_write_uploaded_tsv): New.
1121 (tfile_write_uploaded_tp, tfile_write_definition_end): New.
1122 (tfile_write_raw_data, (tfile_end): New.
1123 (tfile_write_ops): New global variable.
1124 (TRACE_WRITE_R_BLOCK): New macro.
1125 (TRACE_WRITE_M_BLOCK_HEADER): New macro.
1126 (TRACE_WRITE_M_BLOCK_MEMORY): New macro.
1127 (TRACE_WRITE_V_BLOCK): New macro.
1128 (trace_save): Add extra one parameter WRITER. Make it static.
1129 Use WRITER to writer trace.
1130 (tfile_trace_file_writer_new): New.
1131 (trace_save_command): Caller update.
1132 (trace_save_tfile): Write trace data in TFILE format.
1133 * tracepoint.h (struct trace_frame_write_ops): New.
1134 (struct trace_file_write_ops): New.
1135 (struct trace_file_writer): New.
1136 (trace_save): Remove its declaration.
1137 (trace_save_tfile): Declare it.
1138 * mi/mi-main.c (mi_cmd_trace_save): Call trace_save_tfile
1139 instead of trace_save.
1140
58665b40
PA
11412013-03-13 Pedro Alves <palves@redhat.com>
1142
1143 * hppa-hpux-nat.c (hppa_hpux_save_state_offset): Make static.
1144
10217050
PA
11452013-03-13 Pedro Alves <palves@redhat.com>
1146
1147 * dbxread.c (read_ofile_symtab, process_one_symbol): Remove
1148 commented out code.
1149 * demangle.c (current_demangling_style_string): Make it const.
1150 (set_demangling_command): Assert the demangling style is known.
1151 Remove all handling of unknown styles. Set
1152 'current_demangling_style_string' to an element of the
1153 demangling_style_names array.
1154 (set_demangling_style): Delete.
1155 (_initialize_demangler): Set current_demangling_style_string to the
1156 element of the demangling_style_names array that corresponds to
1157 the default demangling style. Remove FIXME note. Don't call
1158 set_demangling_style.
1159 * gdb-demangle.h (set_demangling_style): Remove declaration.
1160
6f937416
PA
11612013-03-13 Pedro Alves <palves@redhat.com>
1162
1163 * ada-lang.c (struct add_partial_datum) <text, text0, word>: Make
1164 fields const.
1165 (ada_make_symbol_completion_list): Make "text0" parameter const.
1166 * ax-gdb.c (agent_eval_command_one): Make "exp" parameter const.
1167 * breakpoint.c (condition_completer): Make "text" and "word"
1168 parameters const. Adjust.
1169 (check_tracepoint_command): Adjust to validate_actionline
1170 prototype change.
1171 (catch_syscall_completer): Make "text" and "word" parameters
1172 const.
1173 * cli/cli-cmds.c (show_user): Make "comname" local const.
1174 (valid_command_p): Make "command" parameter const.
1175 (alias_command): Make "alias_prefix" and "command_prefix" locals
1176 const.
1177 * cli/cli-decode.c (add_cmd): Make "name" parameter const.
1178 (add_alias_cmd): Make "name" and "oldname" parameters const.
1179 Adjust. No longer make copy of OLDNAME.
1180 (add_prefix_cmd, add_abbrev_prefix_cmd, add_set_or_show_cmd)
1181 (add_setshow_cmd_full, add_setshow_enum_cmd)
1182 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
1183 (add_setshow_filename_cmd, add_setshow_string_cmd)
1184 (add_setshow_string_noescape_cmd)
1185 (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
1186 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
1187 (add_setshow_zuinteger_unlimited_cmd, add_setshow_zuinteger_cmd)
1188 (delete_cmd, add_info, add_info_alias, add_com, add_com_alias):
1189 Make "name" parameter const.
1190 (help_cmd): Rename "command" parameter to "arg". New const local
1191 "command".
1192 (find_cmd): Make "command" parameter const.
1193 (lookup_cmd_1): Make "text" parameter pointer to const. Adjust to
1194 deprecated_cmd_warning prototype change.
1195 (undef_cmd_error): Make "cmdtype" parameter const.
1196 (lookup_cmd): Make "line" parameter const.
1197 (deprecated_cmd_warning): Change type of "text" parameter to
1198 pointer to const char, from pointer to pointer to char. Adjust.
1199 (lookup_cmd_composition): Make "text" parameter const.
1200 (complete_on_cmdlist, complete_on_enum): Make "text" and "word"
1201 parameters const.
1202 * cli/cli-decode.h (struct cmd_list_element) <name>: Make field
1203 const.
1204 * cli/cli-script.c (validate_comname): Make "tem" local const.
1205 (define_command): New const local "tem_c". Use it in calls to
1206 lookup_cmd.
1207 (document_command): Make "tem" and "comfull" locals const.
1208 (show_user_1): Make "prefix" and "name" parameters const.
1209 * cli-script.h (show_user_1): Make "prefix" and "name" parameters
1210 const.
1211 * command.h (add_cmd, add_alias_cmd, add_prefix_cmd)
1212 (add_abbrev_prefix_cmd, completer_ftype, lookup_cmd, lookup_cmd_1)
1213 (deprecated_cmd_warning, lookup_cmd_composition, add_com)
1214 (add_com_alias, add_info, add_info_alias, complete_on_cmdlist)
1215 (complete_on_enum, add_setshow_enum_cmd)
1216 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
1217 (add_setshow_filename_cmd, add_setshow_string_cmd)
1218 (add_setshow_string_noescape_cmd)
1219 (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
1220 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
1221 (add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd):
1222 Change prototypes, constifying strings.
1223 * completer.c (noop_completer, filename_completer): Make "text"
1224 and "prefix" parameters const.
1225 (location_completer, expression_completer)
1226 (complete_line_internal): Make "text" and "prefix" parameters
1227 const and adjust.
1228 (command_completer, signal_completer): Make "text" and "prefix"
1229 parameters const.
1230 * completer.h (noop_completer, filename_completer)
1231 (expression_completer, location_completer, command_completer)
1232 (signal_completer): Change prototypes.
1233 * corefile.c (complete_set_gnutarget): Make "text" and "word"
1234 parameters const.
1235 * cp-abi.c (cp_abi_completer): Likewise.
1236 * expression.h (parse_expression_for_completion): Change
1237 prototype.
1238 * f-lang.c (f_make_symbol_completion_list): Make "text" and "word"
1239 parameters const.
1240 * infcmd.c (_initialize_infcmd): Make "cmd_name" local const.
1241 * infrun.c (handle_completer): Make "text" and "word" parameters
1242 const.
1243 * interps.c (interpreter_completer): Make "text" and "word"
1244 parameters const.
1245 * language.h (struct language_defn)
1246 <la_make_symbol_completion_list>: Make "text" and "word"
1247 parameters const.
1248 * parse.c (parse_exp_1): Move const hack to parse_exp_in_context.
1249 (parse_exp_in_context): Rename to ...
1250 (parse_exp_in_context_1): ... this.
1251 (parse_exp_in_context): Reimplement, with const hack from
1252 parse_exp_1.
1253 (parse_expression_for_completion): Make "string" parameter const.
1254 * printcmd.c (decode_format): Make "string_ptr" parameter pointer
1255 to pointer to const char. Adjust.
1256 (print_command_1): Make "exp" parameter const.
1257 (output_command): Rename to ...
1258 (output_command_const): ... this. Make "exp" parameter const.
1259 (output_command): Reimplement.
1260 (x_command): Adjust.
1261 (display_command): Rename "exp" parameter to "arg". New "exp"
1262 local, const version of "arg".
1263 * python/py-auto-load.c (gdbpy_initialize_auto_load): Make
1264 "cmd_name" local const.
1265 * python/py-cmd.c (cmdpy_destroyer): Cast const away in xfree
1266 call.
1267 (cmdpy_completer): Make "text" and "word" parameters const.
1268 (gdbpy_parse_command_name): Make "prefix_text2" local const.
1269 * python/py-param.c (add_setshow_generic): Make "tmp_name" local
1270 const.
1271 * remote.c (_initialize_remote): Make "cmd_name" local const.
1272 * symtab.c (language_search_unquoted_string): Make "text" and "p"
1273 parameters const. Adjust.
1274 (completion_list_add_fields): Make "sym_text", "text" and "word"
1275 parameters const.
1276 (struct add_name_data) <sym_text, text, word>: Make fields const.
1277 (default_make_symbol_completion_list_break_on): Make "text" and
1278 "word" parameters const. Adjust locals.
1279 (default_make_symbol_completion_list)
1280 (make_symbol_completion_list, make_symbol_completion_type)
1281 (make_symbol_completion_list_fn): Make "text" and "word"
1282 parameters const.
1283 (make_file_symbol_completion_list): Make "text", "word" and
1284 "srcfile" parameters const. Adjust locals.
1285 (add_filename_to_list): Make "text" and "word" parameters const.
1286 (struct add_partial_filename_data) <text, word>: Make fields
1287 const.
1288 (make_source_files_completion_list): Make "text" and "word"
1289 parameters const.
1290 * symtab.h (default_make_symbol_completion_list_break_on)
1291 (default_make_symbol_completion_list, make_symbol_completion_list)
1292 (make_symbol_completion_type enum type_code)
1293 (make_symbol_completion_list_fn make_file_symbol_completion_list)
1294 (make_source_files_completion_list): Change prototype.
1295 * top.c (execute_command): Adjust to pass pointer to pointer to
1296 const char to lookup_cmd, and to deprecated_cmd_warning prototype
1297 change.
1298 (set_verbose): Make "cmdname" local const.
1299 * tracepoint.c (decode_agent_options): Make "exp" parameter const,
1300 and adjust.
1301 (validate_actionline): Make "line" parameter a pointer to const
1302 char, and adjust.
1303 (encode_actions_1): Make "action_exp" local const, and adjust.
1304 (encode_actions): Adjust.
1305 (replace_comma): Delete.
1306 (trace_dump_actions): Make "action_exp" and "next_comma" locals
1307 const, and adjust. Don't frob the action string while splitting
1308 it at commas. Instead, make a copy of each split substring in
1309 turn.
1310 (trace_dump_command): Adjust to validate_actionline prototype
1311 change.
1312 * tracepoint.h (decode_agent_options, decode_agent_options)
1313 (encode_actions, validate_actionline): Change prototypes.
1314 * valprint.h (output_command): Delete declaration.
1315 (output_command_const): Declare.
1316 * value.c (function_destroyer): Cast const away in xfree call.
1317
a0bcdaa7
PA
13182013-03-13 Pedro Alves <palves@redhat.com>
1319
1320 * ada-lang.c (ada_decode_symbol): Cast away constness of GSYMBOL
1321 rather than casting 'const char * const *' to 'const char **'.
1322 * ada-lex.l (processInt): Make "trailer" local const. Remove
1323 'const char **' cast.
1324 * arm-linux-tdep.c (arm_stap_parse_special_token): Add 'char *'
1325 locals, and use those as strtol output pointer, instead than doing
1326 invalid casts to from 'const char **' to 'char **'.
1327 (_initialize_demangle): Remove cast.
1328 * i386-tdep.c (i386_stap_parse_special_token): : Add 'char *'
1329 locals, and use those as strtol output pointer, instead than doing
1330 invalid casts to from 'const char **' to 'char **'.
1331 * solib-dsbt.c (dsbt_get_initial_loadmaps): Remove 'gdb_byte**'
1332 casts.
1333 * stap-probe.c (stap_parse_register_operand)
1334 (stap_parse_single_operand): Likewise.
1335
8ddb1965
YQ
13362013-03-13 Yao Qi <yao@codesourcery.com>
1337
1338 * tracepoint.c (tfile_get_trace_state_variable_value): Look for
1339 the last matched 'V' blcok in trace frame.
1340
2d450646
JB
13412013-03-12 Joel Brobecker <brobecker@adacore.com>
1342
1343 * NEWS: Create a new section for the next release branch.
1344 Rename the section of the current branch, now that it has
1345 been cut.
1346
b4b79973 13472013-03-12 Joel Brobecker <brobecker@adacore.com>
1348
1349 GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC)
1350 * version.in: Bump version to 7.6.50.20130312-cvs.
1351
ee047554
KS
13522013-03-12 Keith Seitz <keiths@redhat.com>
1353
1354 * mi/mi-cmds.h (mi_execute_command): Make "cmd" const.
1355 * mi/mi-interp.c (mi_interpreter_exec): Make "command" const.
1356 Remove temporary copy of input string.
1357 (mi_execute_command_wrapper): Make "cmd" const.
1358 * mi/mi-main.c (mi_execute_command): Make "string_ptr" const.
1359 * mi/mi-parse.c (mi_parse_argv): Make "args" const.
1360 Use const strings.
1361 (mi_parse): Make "cmd" const.
1362 Use const strings.
1363 * mi/mi-parse.h (mi_parse): Make "cmd" const.
1364
bbc13ae3
KS
13652013-03-12 Keith Seitz <keiths@redhat.com>
1366
1367 * ada-lang.c (ada_read_renaming_var_value): Pass const
1368 pointer to expression string to parse_exp_1.
1369 (create_excep_cond_exprs): Likewise.
1370 * ax-gdb.c (agent_eval_command_one): Likewise.
1371 (maint_agent_printf_command): Likewise.
1372 Constify much of the string handling/parsing.
1373 * breakpoint.c (set_breakpoint_condition): Pass const
1374 pointer to expression string to parse_exp_1.
1375 (update_watchpoint): Likewise.
1376 (parse_cmd_to_aexpr): Constify string handling.
1377 Pass const pointer to parse_exp_1.
1378 (init_breakpoint_sal): Pass const pointer to parse_exp_1.
1379 (find_condition_and_thread): Likewise.
1380 Make TOK const.
1381 (watch_command_1): Make "arg" const.
1382 Constify string handling.
1383 Copy the expression string instead of changing the input
1384 string.
1385 (update_breakpoint_location): Pass const pointer to
1386 parse_exp_1.
1387 * eval.c (parse_and_eval_address): Make "exp" const.
1388 (parse_to_comma_and_eval): Make "expp" const.
1389 (parse_and_eval): Make "exp" const.
1390 * expression.h (parse_expression): Make argument const.
1391 (parse_exp_1): Make first argument const.
1392 * findcmd.c (parse_find_args): Treat "args" as const.
1393 * linespec.c (parse_linespec): Pass const pointer to
1394 linespec_expression_to_pc.
1395 (linespec_expression_to_pc): Make "exp_ptr" const.
1396 * parse.c (parse_exp_1): Make "stringptr" const.
1397 Make a copy of the expression to pass to parse_exp_in_context until
1398 this whole interface can be constified.
1399 (parse_expression): Make "string" const.
1400 * printcmd.c (ui_printf): Treat "arg" as const.
1401 Handle const strings.
1402 * tracepoint.c (validate_actionline): Pass const pointer to
1403 all calls to parse_exp_1.
1404 (encode_actions_1): Likewise.
1405 * value.h (parse_to_comma_and_eval): Make argument const.
1406 (parse_and_eval_address): Likewise.
1407 (parse_and_eval): Likewise.
1408 * varobj.c (varobj_create): Pass const pointer to parse_exp_1.
1409 (varobj_set_value): Likewise.
1410 * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and
1411 constify string handling.
1412 Pass const pointers to parse_and_eval_address and
1413 parse_to_comman_and_eval.
1414 * cli/cli-utils.c (skip_to_space): Rename to ...
1415 (skip_to_space_const): ... this. Handle const strings.
1416 * cli/cli-utils.h (skip_to_space): Turn into macro which invokes
1417 skip_to_space_const.
1418 (skip_to_space_const): Declare.
1419 * common/format.c (parse_format_string): Make "arg" const.
1420 Handle const strings.
1421 * common/format.h (parse_format_string): Make "arg" const.
1422 * gdbserver/ax.c (ax_printf): Make "format" const.
1423 * python/python.c (gdbpy_parse_and_eval): Do not make a copy
1424 of the expression string.
1425
f3cec7e6
HZ
14262013-03-12 Hui Zhu <hui@codesourcery.com>
1427
1428 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message.
1429
9df7235c
HZ
14302013-03-12 Yao Qi <yao@codesourcery.com>
1431 Hui Zhu <hui@codesourcery.com>
1432
1433 * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert.
1434 (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and
1435 DW_OP_deref_size.
1436
82d049ab
PH
14372013-03-12 Paul Hilfinger <hilfingr@adacore.com>
1438
1439 * ada-lex.l (rules): Only recognize 'thread' as a
1440 delimiter when followed by numerals, as for c-exp.y.
1441 Use new rewind_to_char function to rewind the input for
1442 expression-delimiting tokens.
1443 (rewind_to_char): New function.
1444
8c1fb155
JK
14452013-03-11 Pedro Alves <palves@redhat.com>
1446 Jan Kratochvil <jan.kratochvil@redhat.com>
1447
1448 * configure: Regenerate.
1449 * configure.ac (check dynamic export flag): Link python test with
1450 $PYTHON_LIBS.
1451
cc81e1c6
DE
14522013-03-11 Doug Evans <dje@google.com>
1453 Keith Seitz <keiths@redhat.com>
1454
1455 * linespec.c (find_linespec_symbols): Call find_function_symbols
1456 first, and then call lookup_prefix_sym/find_method.
1457
39086a0e
PA
14582013-03-11 Pedro Alves <palves@redhat.com>
1459
1460 * charset.c (convert_between_encodings): Don't cast between
1461 different pointer to pointer types. Instead, make the 'inp' local
1462 be of the type iconv expects.
1463 (wchar_iterate): Don't cast between different pointer to pointer
1464 types. Instead, use new pointer local of the type iconv expects.
1465 * target.c (target_read_stralloc, target_fileio_read_stralloc):
1466 Add new local of type char pointer, and use it to get a
1467 char/string view of the byte buffer, instead of casting between
1468 pointer to pointer types.
1469
90585175
HAQ
14702013-03-11 Hafiz Abid Qadeer <abidh@codesourcery.com>
1471
1472 * remote.c (remote_set_trace_buffer_size): Move != operator
1473 to the start of next line to fix an ARI warning.
1474
59ea5688
MM
14752013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1476
1477 * NEWS: Add record changes.
1478
946287b7
MM
14792013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1480
1481 * record-btrace.c (btrace_insn_history): Omit the pc prefix in
1482 the instruction history disassembly.
1483 * disasm.c (dump_insns): Omit the pc prefix, if requested.
1484 * disasm.h (DISASSEMBLY_OMIT_PC): New.
1485
afedecd3
MM
14862013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1487
1488 * Makefile.in (SFILES): Add record-btrace.c
1489 (COMMON_OBS): Add record-btrace.o
1490 * record-btrace.c: New.
1491 * objfiles.c: Include btrace.h.
1492 (free_objfile): call btrace_free_objfile.
1493
15984c13
MM
14942013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1495
1496 * target.c (target_call_history, target_call_history_from,
1497 target_call_history_range): New.
1498 * target.h (target_ops) <to_call_history, to_call_history_from,
1499 to_call_history_range>: New fields.
1500 (target_call_history, target_call_history_from,
1501 target_call_history_range): New declaration.
1502 * record.c (get_call_history_modifiers, cmd_record_call_history,
1503 record_call_history_size): New.
1504 (_initialize_record): Add the "record function-call-history" command.
1505 Add "set/show record function-call-history-size" commands.
1506 * record.h (record_print_flag): New.
1507
67c86d06
MM
15082013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1509
1510 * target.h (target_ops) <to_insn_history, to_insn_history_from,
1511 to_insn_history_range>: New fields.
1512 (target_insn_history): New.
1513 (target_insn_history_from): New.
1514 (target_insn_history_range): New.
1515 * target.c (target_insn_history): New.
1516 (target_insn_history_from): New.
1517 (target_insn_history_range): New.
1518 * record.c: Include cli/cli-utils.h, disasm.h, ctype.h.
1519 (record_insn_history_size): New.
1520 (get_insn_number): New.
1521 (get_context_size): New.
1522 (no_chunk): New.
1523 (get_insn_history_modifiers): New.
1524 (cmd_record_insn_history): New.
1525 (_initialize_record): Add "set/show record instruction-history-size"
1526 command. Add "record instruction-history" command.
1527
7c1687a9
MM
15282013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1529
1530 * record.h (record_disconnect): New.
1531 (record_detach): New.
1532 (record_mourn_inferior): New.
1533 (record_kill): New.
1534 * record-full.c (record_disconnect, record_detach,
1535 record_mourn_inferior, record_kill): Move to...
1536 * record.c: ...here.
1537 (DEBUG): New.
1538 (record_stop): New.
1539 (record_unpush): New.
1540 (cmd_record_stop): Call record_stop. Replace unpush_target
1541 call with record_unpush call.
1542 (record_disconnect, record_detach): Assert that the target
1543 is of record stratum. Call record_unpush, record_stop, and
1544 DEBUG.
1545 (record_mourn_inferior, record_kill): Assert that the target
1546 is of record stratum. Call record_unpush and DEBUG.
1547
25ea693b
MM
15482013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1549
1550 * record-full.h, record-full.c (record_memory_query): Rename
1551 to ...
1552 (record_full_memory_query): ...this. Update all users.
1553 (record_arch_list_add_reg): Rename to ...
1554 (record_full_arch_list_add_reg): ...this. Update all users.
1555 (record_arch_list_add_mem): Rename to ...
1556 (record_full_arch_list_add_mem): ...this. Update all users.
1557 (record_arch_list_add_end): Rename to ...
1558 (record_full_arch_list_add_end): ...this. Update all users.
1559 (record_gdb_operation_disable_set): Rename to ...
1560 (record_full_gdb_operation_disable_set): ...this.
1561 Update all users.
1562
88d1aa9d
MM
15632013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1564
1565 * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ...
1566 (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users.
1567 (RECORD_IS_REPLAY): Renamed to ...
1568 (RECORD_FULL_IS_REPLAY): ... this. Updated all users.
1569 (RECORD_FILE_MAGIC): Renamed to ...
1570 (RECORD_FULL_FILE_MAGIC): ... this. Updated all users.
1571 (record_mem_entry): Renamed to ...
1572 (record_full_mem_entry): ... this. Updated all users.
1573 (record_reg_entry): Renamed to ...
1574 (record_full_reg_entry): ... this. Updated all users.
1575 (record_end_entry): Renamed to ...
1576 (record_full_end_entry): ... this. Updated all users.
1577 (record_type) <record_end, record_reg, record_mem>: Renamed
1578 to ...
1579 (record_full_type) <record_full_end, record_full_reg,
1580 record_full_mem>: ... this. Updated all users.
1581 (record_entry): Renamed to ...
1582 (record_full_entry): ... this. Updated all users.
1583 (record_core_buf_entry): Renamed to ...
1584 (record_full_core_buf_entry): ... this. Updated all users.
1585 (record_core_regbuf): Renamed to ...
1586 (record_full_core_regbuf): ... this. Updated all users.
1587 (record_core_start): Renamed to ...
1588 (record_full_core_start): ... this. Updated all users.
1589 (record_core_end): Renamed to ...
1590 (record_full_core_end): ... this. Updated all users.
1591 (record_core_buf_list): Renamed to ...
1592 (record_full_core_buf_list): ... this. Updated all users.
1593 (record_first): Renamed to ...
1594 (record_full_first): ... this. Updated all users.
1595 (record_list): Renamed to ...
1596 (record_full_list): ... this. Updated all users.
1597 (record_arch_list_head): Renamed to ...
1598 (record_full_arch_list_head): ... this. Updated all users.
1599 (record_arch_list_tail): Renamed to ...
1600 (record_full_arch_list_tail): ... this. Updated all users.
1601 (record_stop_at_limit): Renamed to ...
1602 (record_full_stop_at_limit): ... this. Updated all users.
1603 (record_insn_max_num): Renamed to ...
1604 (record_full_insn_max_num): ... this. Updated all users.
1605 (record_insn_num): Renamed to ...
1606 (record_full_insn_num): ... this. Updated all users.
1607 (record_insn_count): Renamed to ...
1608 (record_full_insn_count): ... this. Updated all users.
1609 (record_ops): Renamed to ...
1610 (record_full_ops): ... this. Updated all users.
1611 (record_core_ops): Renamed to ...
1612 (record_full_core_ops): ... this. Updated all users.
1613 (set_record_cmdlist): Renamed to ...
1614 (set_record_full_cmdlist): ... this. Updated all users.
1615 (show_record_cmdlist): Renamed to ...
1616 (show_record_full_cmdlist): ... this. Updated all users.
1617 (record_cmdlist): Renamed to ...
1618 (record_full_cmdlist): ... this. Updated all users.
1619 (record_beneath_to_resume_ops): Renamed to ...
1620 (record_full_beneath_to_resume_ops): ... this. Updated all users.
1621 (record_beneath_to_resume): Renamed to ...
1622 (record_full_beneath_to_resume): ... this. Updated all users.
1623 (record_beneath_to_wait_ops): Renamed to ...
1624 (record_full_beneath_to_wait_ops): ... this. Updated all users.
1625 (record_beneath_to_wait): Renamed to ...
1626 (record_full_beneath_to_wait): ... this. Updated all users.
1627 (record_beneath_to_store_registers_ops): Renamed to ...
1628 (record_full_beneath_to_store_registers_ops): ... this.
1629 Updated all users.
1630 (record_beneath_to_store_registers): Renamed to ...
1631 (record_full_beneath_to_store_registers): ... this.
1632 Updated all users.
1633 (record_beneath_to_xfer_partial_ops): Renamed to ...
1634 (record_full_beneath_to_xfer_partial_ops): ... this.
1635 Updated all users.
1636 (record_beneath_to_xfer_partial): Renamed to ...
1637 (record_full_beneath_to_xfer_partial): ... this.
1638 Updated all users.
1639 (record_beneath_to_insert_breakpoint): Renamed to ...
1640 (record_full_beneath_to_insert_breakpoint): ... this.
1641 Updated all users.
1642 (record_beneath_to_stopped_by_watchpoint): Renamed to ...
1643 (record_full_beneath_to_stopped_by_watchpoint): ... this.
1644 Updated all users.
1645 (record_beneath_to_stopped_data_address): Renamed to ...
1646 (record_full_beneath_to_stopped_data_address): ... this.
1647 Updated all users.
1648 (record_beneath_to_async): Renamed to ...
1649 (record_full_beneath_to_async): ... this. Updated all users.
1650 (record_goto_insn): Renamed to ...
1651 (record_full_goto_insn): ... this. Updated all users.
1652 (record_save): Renamed to ...
1653 (record_full_save): ... this. Updated all users.
1654 (record_reg_alloc): Renamed to ...
1655 (record_full_reg_alloc): ... this. Updated all users.
1656 (record_reg_release): Renamed to ...
1657 (record_full_reg_release): ... this. Updated all users.
1658 (record_mem_alloc): Renamed to ...
1659 (record_full_mem_alloc): ... this. Updated all users.
1660 (record_mem_release): Renamed to ...
1661 (record_full_mem_release): ... this. Updated all users.
1662 (record_end_alloc): Renamed to ...
1663 (record_full_end_alloc): ... this. Updated all users.
1664 (record_end_release): Renamed to ...
1665 (record_full_end_release): ... this. Updated all users.
1666 (record_entry_release): Renamed to ...
1667 (record_full_entry_release): ... this. Updated all users.
1668 (record_list_release): Renamed to ...
1669 (record_full_list_release): ... this. Updated all users.
1670 (record_list_release_following): Renamed to ...
1671 (record_full_list_release_following): ... this.
1672 Updated all users.
1673 (record_list_release_first): Renamed to ...
1674 (record_full_list_release_first): ... this. Updated all users.
1675 (record_arch_list_add): Renamed to ...
1676 (record_full_arch_list_add): ... this. Updated all users.
1677 (record_get_loc): Renamed to ...
1678 (record_full_get_loc): ... this. Updated all users.
1679 (record_check_insn_num): Renamed to ...
1680 (record_full_check_insn_num): ... this. Updated all users.
1681 (record_arch_list_cleanups): Renamed to ...
1682 (record_full_arch_list_cleanups): ... this. Updated all users.
1683 (record_message): Renamed to ...
1684 (record_full_message): ... this. Updated all users.
1685 (record_message_wrapper): Renamed to ...
1686 (record_full_message_wrapper): ... this. Updated all users.
1687 (record_message_wrapper_safe): Renamed to ...
1688 (record_full_message_wrapper_safe): ... this. Updated all users.
1689 (record_gdb_operation_disable): Renamed to ...
1690 (record_full_gdb_operation_disable): ... this. Updated all users.
1691 (record_hw_watchpoint): Renamed to ...
1692 (record_full_hw_watchpoint): ... this. Updated all users.
1693 (record_exec_insn): Renamed to ...
1694 (record_full_exec_insn): ... this. Updated all users.
1695 (record_restore): Renamed to ...
1696 (record_full_restore): ... this. Updated all users.
1697 (record_async_inferior_event_token): Renamed to ...
1698 (record_full_async_inferior_event_token): ... this.
1699 Updated all users.
1700 (record_async_inferior_event_handler): Renamed to ...
1701 (record_full_async_inferior_event_handler): ... this.
1702 Updated all users.
1703 (record_core_open_1): Renamed to ...
1704 (record_full_core_open_1): ... this. Updated all users.
1705 (record_open_1): Renamed to ...
1706 (record_full_open_1): ... this. Updated all users.
1707 (record_open): Renamed to ...
1708 (record_full_open): ... this. Updated all users.
1709 (record_close): Renamed to ...
1710 (record_full_close): ... this. Updated all users.
1711 (record_resume_step): Renamed to ...
1712 (record_full_resume_step): ... this. Updated all users.
1713 (record_resumed): Renamed to ...
1714 (record_full_resumed): ... this. Updated all users.
1715 (record_execution_dir): Renamed to ...
1716 (record_full_execution_dir): ... this. Updated all users.
1717 (record_resume): Renamed to ...
1718 (record_full_resume): ... this. Updated all users.
1719 (record_get_sig): Renamed to ...
1720 (record_full_get_sig): ... this. Updated all users.
1721 (record_sig_handler): Renamed to ...
1722 (record_full_sig_handler): ... this. Updated all users.
1723 (record_wait_cleanups): Renamed to ...
1724 (record_full_wait_cleanups): ... this. Updated all users.
1725 (record_wait_1): Renamed to ...
1726 (record_full_wait_1): ... this. Updated all users.
1727 (record_wait): Renamed to ...
1728 (record_full_wait): ... this. Updated all users.
1729 (record_stopped_by_watchpoint): Renamed to ...
1730 (record_full_stopped_by_watchpoint): ... this. Updated all users.
1731 (record_disconnect): Renamed to ...
1732 (record_full_disconnect): ... this. Updated all users.
1733 (record_detach): Renamed to ...
1734 (record_full_detach): ... this. Updated all users.
1735 (record_mourn_inferior): Renamed to ...
1736 (record_full_mourn_inferior): ... this. Updated all users.
1737 (record_kill): Renamed to ...
1738 (record_full_kill): ... this. Updated all users.
1739 (record_stopped_data_address): Renamed to ...
1740 (record_full_stopped_data_address): ... this. Updated all users.
1741 (record_registers_change): Renamed to ...
1742 (record_full_registers_change): ... this. Updated all users.
1743 (record_store_registers): Renamed to ...
1744 (record_full_store_registers): ... this. Updated all users.
1745 (record_xfer_partial): Renamed to ...
1746 (record_full_xfer_partial): ... this. Updated all users.
1747 (record_breakpoint): Renamed to ...
1748 (record_full_breakpoint): ... this. Updated all users.
1749 (record_breakpoint_p): Renamed to ...
1750 (record_full_breakpoint_p): ... this. Updated all users.
1751 (record_breakpoints): Renamed to ...
1752 (record_full_breakpoints): ... this. Updated all users.
1753 (record_sync_record_breakpoints): Renamed to ...
1754 (record_full_sync_record_breakpoints): ... this.
1755 Updated all users.
1756 (record_init_record_breakpoints): Renamed to ...
1757 (record_full_init_record_breakpoints): ... this.
1758 Updated all users.
1759 (record_insert_breakpoint): Renamed to ...
1760 (record_full_insert_breakpoint): ... this. Updated all users.
1761 (record_remove_breakpoint): Renamed to ...
1762 (record_full_remove_breakpoint): ... this. Updated all users.
1763 (record_can_execute_reverse): Renamed to ...
1764 (record_full_can_execute_reverse): ... this. Updated all users.
1765 (record_get_bookmark): Renamed to ...
1766 (record_full_get_bookmark): ... this. Updated all users.
1767 (record_goto_bookmark): Renamed to ...
1768 (record_full_goto_bookmark): ... this. Updated all users.
1769 (record_async): Renamed to ...
1770 (record_full_async): ... this. Updated all users.
1771 (record_can_async_p): Renamed to ...
1772 (record_full_can_async_p): ... this. Updated all users.
1773 (record_is_async_p): Renamed to ...
1774 (record_full_is_async_p): ... this. Updated all users.
1775 (record_execution_direction): Renamed to ...
1776 (record_full_execution_direction): ... this. Updated all users.
1777 (record_info): Renamed to ...
1778 (record_full_info): ... this. Updated all users.
1779 (record_delete): Renamed to ...
1780 (record_full_delete): ... this. Updated all users.
1781 (record_is_replaying): Renamed to ...
1782 (record_full_is_replaying): ... this. Updated all users.
1783 (record_goto_entry): Renamed to ...
1784 (record_full_goto_entry): ... this. Updated all users.
1785 (record_goto_begin): Renamed to ...
1786 (record_full_goto_begin): ... this. Updated all users.
1787 (record_goto_end): Renamed to ...
1788 (record_full_goto_end): ... this. Updated all users.
1789 (record_goto): Renamed to ...
1790 (record_full_goto): ... this. Updated all users.
1791 (init_record_ops): Renamed to ...
1792 (init_record_full_ops): ... this. Updated all users.
1793 (record_core_resume): Renamed to ...
1794 (record_full_core_resume): ... this. Updated all users.
1795 (record_core_kill): Renamed to ...
1796 (record_full_core_kill): ... this. Updated all users.
1797 (record_core_fetch_registers): Renamed to ...
1798 (record_full_core_fetch_registers): ... this. Updated all users.
1799 (record_core_prepare_to_store): Renamed to ...
1800 (record_full_core_prepare_to_store): ... this. Updated all users.
1801 (record_core_store_registers): Renamed to ...
1802 (record_full_core_store_registers): ... this. Updated all users.
1803 (record_core_xfer_partial): Renamed to ...
1804 (record_full_core_xfer_partial): ... this. Updated all users.
1805 (record_core_insert_breakpoint): Renamed to ...
1806 (record_full_core_insert_breakpoint): ... this. Updated all users.
1807 (record_core_remove_breakpoint): Renamed to ...
1808 (record_full_core_remove_breakpoint): ... this. Updated all users.
1809 (record_core_has_execution): Renamed to ...
1810 (record_full_core_has_execution): ... this. Updated all users.
1811 (init_record_core_ops): Renamed to ...
1812 (init_record_full_core_ops): ... this. Updated all users.
1813 (cmd_record_restore): Renamed to ...
1814 (cmd_record_full_restore): ... this. Updated all users.
1815 (record_save_cleanups): Renamed to ...
1816 (record_full_save_cleanups): ... this. Updated all users.
1817 (cmd_record_start): Renamed to ...
1818 (cmd_record_full_start): ... this. Updated all users.
1819 (set_record_insn_max_num): Renamed to ...
1820 (set_record_full_insn_max_num): ... this. Updated all users.
1821 (set_record_command): Renamed to ...
1822 (set_record_full_command): ... this. Updated all users.
1823 (show_record_command): Renamed to ...
1824 (show_record_full_command): ... this. Updated all users.
1825 (_initialize_record): Renamed to ...
1826 (_initialize_record_full): ... this. Updated all users.
1827
d02ed0bb
MM
18282013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1829
1830 * record.h: Split into this and ...
1831 * record-full.h: ... this.
1832 * record.c: Split into this and ...
1833 * record-full.c: ... this.
1834 * target.h (target_ops): Add new fields to_info_record,
1835 to_save_record, to_delete_record, to_record_is_replaying,
1836 to_goto_record_begin, to_goto_record_end, to_goto_record.
1837 (target_info_record): New.
1838 (target_save_record): New.
1839 (target_supports_delete_record): New.
1840 (target_delete_record): New.
1841 (target_record_is_replaying): New.
1842 (target_goto_record_begin): New.
1843 (target_goto_record_end): New.
1844 (target_goto_record): New.
1845 * target.c (target_info_record): New.
1846 (target_save_record): New.
1847 (target_supports_delete_record): New.
1848 (target_delete_record): New.
1849 (target_record_is_replaying): New.
1850 (target_goto_record_begin): New.
1851 (target_goto_record_end): New.
1852 (target_goto_record): New.
1853 * record.h: Declare struct cmd_list_element.
1854 (record_cmdlist): New declaration.
1855 (set_record_cmdlist): New declaration.
1856 (show_record_cmdlist): New declaration.
1857 (info_record_cmdlist): New declaration.
1858 (cmd_record_goto): New declaration.
1859 * record.c: Remove unnecessary includes.
1860 Include inferior.h.
1861 (cmd_record_goto): Remove declaration.
1862 (record_cmdlist): Now extern. Initialize.
1863 (set_record_cmdlist): Now extern. Initialize.
1864 (show_record_cmdlist): Now extern. Initialize.
1865 (info_record_cmdlist): Now extern. Initialize.
1866 (find_record_target): New.
1867 (require_record_target): New.
1868 (cmd_record_start): Update.
1869 (cmd_record_delete): Remove target-specific code.
1870 Call target_delete_record.
1871 (cmd_record_stop): Unpush any record target.
1872 (set_record_insn_max_num): Move to record-full.c
1873 (set_record_command): Add comment.
1874 (show_record_command): Add comment.
1875 (info_record_command): Update comment.
1876 Remove target-specific code.
1877 Call the record target's to_info_record.
1878 (cmd_record_start): New.
1879 (cmd_record_goto): Now extern.
1880 Remove target-specific code.
1881 Call target_goto_begin, target_goto_end, or target_goto.
1882 (_initialize_record): Move record target ops initialization to
1883 record-full.c.
1884 Change "record" command help text.
1885 Move "record restore", "record set", and "record show" commands to
1886 record-full.c.
1887 * Makefile.in (SFILES): Add record-full.c.
1888 (HFILES_NO_SRCDIR): Add record-full.h.
1889 (COMMON_OBS): Add record-full.o.
1890 * amd64-linux-tdep.c: Include record-full.h instead of record.h.
1891 * arm-tdep.c: Include record-full.h.
1892 * i386-linux-tdep.c: Include record-full.h instead of record.h.
1893 * i386-tdep.c: Include record-full.h.
1894 * infrun.c: Include record-full.h.
1895 * linux-record.c: Include record-full.h.
1896 * moxie-tdep.c: Include record-full.h.
1897 * record-full.c: Include record-full.h.
1898 Change module comment.
1899 (set_record_full_cmdlist): New.
1900 (show_record_full_cmdlist): New.
1901 (record_full_cmdlist): New.
1902 (record_goto_insn): New declaration.
1903 (record_save): New declaration.
1904 (record_check_insn_num): Change query string.
1905 (record_info): New.
1906 (record_delete): New.
1907 (record_is_replaying): New.
1908 (record_goto_entry): New.
1909 (record_goto_begin): New.
1910 (record_goto_end): New.
1911 (record_goto): New.
1912 (init_record_ops): Update.
1913 (init_record_core_ops): Update.
1914 (cmd_record_save): Rename to record_save. Remove target and arg checks.
1915 (cmd_record_start): New.
1916 (set_record_insn_max_num): Moved from record.c
1917 (set_record_full_command): New.
1918 (show_record_full_command): New.
1919 (_initialize_record_full): New.
1920
b48d48eb
MM
19212013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1922
1923 * target.h (add_deprecated_target_alias): New.
1924 * target.c (add_deprecated_target_alias): New.
1925
a950d57c
MM
19262013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1927
1928 * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h,
1929 and signal.h.
1930 (linux_supports_btrace): Add kernel and
1931 cpuid check.
1932 (kernel_supports_btrace): New function.
1933 (cpu_supports_btrace): New function.
1934 (intel_supports_btrace): New function.
1935
9accd112
MM
19362013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1937
1938 * target.h (enum target_object): Add TARGET_OBJECT_BTRACE.
1939 * remote.c: Include btrace.h.
1940 (struct btrace_target_info): New struct.
1941 (remote_supports_btrace): New function.
1942 (send_Qbtrace): New function.
1943 (remote_enable_btrace): New function.
1944 (remote_disable_btrace): New function.
1945 (remote_teardown_btrace): New function.
1946 (remote_read_btrace): New function.
1947 (init_remote_ops): Add btrace ops.
1948 (enum <unnamed>): Add btrace packets.
1949 (struct protocol_feature remote_protocol_features[]): Add btrace packets.
1950 (_initialize_remote): Add packet configuration for branch tracing.
1951
c12a2917
MM
19522013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1953
1954 * features/btrace.dtd: New file.
1955 * Makefile.in (XMLFILES): Add btrace.dtd.
1956 * btrace.h (parse_xml_btrace): New declaration.
1957 * btrace.c: Include xml-support.h.
1958 (parse_xml_btrace): New function.
1959 (parse_xml_btrace_block): New function.
1960 (block_attributes): New struct.
1961 (btrace_attributes): New struct.
1962 (btrace_children): New struct.
1963 (btrace_elements): New struct.
1964
3e3aea48
MM
19652013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1966
1967 * amd64-linux-nat.c: Include btrace.h and linux-btrace.h.
1968 (amd64_linux_enable_btrace): New.
1969 (amd64_linux_disable_btrace): New.
1970 (amd64_linux_teardown_btrace): New.
1971 (_initialize_amd64_linux_nat): Initialize btrace ops.
1972 * i386-linux.nat.c: Include btrace.h and linux-btrace.h.
1973 (i386_linux_enable_btrace): New.
1974 (i386_linux_disable_btrace): New.
1975 (i386_linux_teardown_btrace): New.
1976 (_initialize_i386_linux_nat): Initialize btrace ops.
1977 * config/i386/linux.mh: Add linux-btrace.o.
1978 * config/i386/linux64.mh: Add linux-btrace.o.
1979
7c97f91e
MM
19802013-03-11 Markus Metzger <markus.t.metzger@intel.com>
1981
1982 * common/linux_btrace.h: New file.
1983 * common/linux_btrace.c: New file.
1984 * Makefile.in (SFILES): Add btrace.c.
1985 (HFILES_NO_SRCDIR): Add common/linux-btrace.h.
1986 (COMMON_OBS): Add btrace.o.
1987 (linux-btrace.o): New rule.
1988
1999790b 19892013-03-11 Markus Metzger <markus.t.metzger@intel.com>
02d27625
MM
1990
1991 * target.h: Include btrace.h.
1992 (struct target_ops) <to_supports_btrace, to_enable_btrace,
1993 to_disable_btrace, to_teardown_btrace, to_read_btrace>: New.
1994 * target.c (target_supports_btrace): New function.
1995 (target_enable_btrace): New function.
1996 (target_disable_btrace): New function.
1997 (target_teardown_btrace): New function.
1998 (target_read_btrace): New function.
1999 * btrace.h: New file.
2000 * btrace.c: New file.
2001 * Makefile.in: Add btrace.c.
2002 * gdbthread.h: Include btrace.h.
2003 (struct thread_info): Add btrace field.
2004 * thread.c: Include btrace.h.
2005 (clear_thread_inferior_resources): Call target_teardown_btrace.
2006 * common/btrace-common.h: New file.
2007
61a31a67
JK
20082013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2009
2010 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill
2011 for CHILD, ignore PTRACE_KILL errors, move the inner block variable
2012 kill_status to outer block.
2013
05c56a9d
JK
20142013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2015
2016 Fix entry-values if the callee called a noreturn function.
2017 * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use
2018 get_frame_address_in_block. Add new comment.
2019
9112db09
JK
20202013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2021
2022 Fix entry-values in C++ across CUs.
2023 * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use
2024 lookup_minimal_symbol. Add a comment.
2025 * dwarf2read.c
2026 (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer
2027 DW_AT_linkage_name.
2028
9b67fcec
YQ
20292013-03-08 Yao Qi <yao@codesourcery.com>
2030
2031 * tracepoint.c (_initialize_tracepoint): Indent the code.
2032
6221be90
PA
20332013-03-08 Pedro Alves <palves@redhat.com>
2034
2035 * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'.
2036 (parse_find_args, find_command): Change type of pattern buffer
2037 locals to 'gdb_byte *'.
2038
be9a119c 20392013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
2040 Hafiz Abid Qadeer <abidh@codesourcery.com>
2041
2042 * NEWS: Mention set and show trace-buffer-size commands.
2043 Mention new packet.
2044 * target.h (struct target_ops): New method
2045 to_set_trace_buffer_size.
2046 (target_set_trace_buffer_size): New macro.
2047 * target.c (update_current_target): Set up new method.
2048 * tracepoint.c (trace_buffer_size): New global.
2049 (start_tracing): Send it to the target.
2050 (set_trace_buffer_size): New function.
2051 (_initialize_tracepoint): Add new setshow for trace-buffer-size.
2052 * remote.c (remote_set_trace_buffer_size): New function.
2053 (_initialize_remote): Use it.
2054 (QTBuffer:size) New remote command.
2055 (PACKET_QTBuffer_size): New enum.
2056 (remote_protocol_features): Add an entry for
2057 PACKET_QTBuffer_size.
2058
7da3ab79
TT
20592013-03-08 Tom Tromey <tromey@redhat.com>
2060
2061 * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct
2062 variable.
2063
0c1f71e7
PA
20642013-03-07 Pedro Alves <palves@redhat.com>
2065
2066 * target.c (target_read_stralloc, target_fileio_read_alloc):
2067 *Cast pointer to 'gdb_byte *' in target call.
2068
c8af03a2
PA
20692013-03-07 Pedro Alves <palves@redhat.com>
2070
2071 * corefile.c (read_memory_string): Cast pointer to gdb_byte* in
2072 call.
2073
529480d0
KS
20742013-03-07 Keith Seitz <keiths@redhat.com>
2075
2076 * breakpoint.c (catch_syscall_split_args): Use skip_spaces.
2077 (trace_pass_command): Likewise.
2078 * cli/cli-cmds.c: Include cli/cli-utils.h.
2079 (source_command): Use skip-spaces.
2080 (disassemble_command): Likewise.
2081 * findcmd.c: Include cli/cli-utils.h.
2082 (parse_find_args): Use skip_spaces.
2083 * go32-nat.c: Include cli/cli-utils.h.
2084 (go32_sldt): Use skip_spaces.
2085 (go32_sgdt): Likewise.
2086 (go32_sidt): Likewise.
2087 (go32_pde): Likewise.
2088 (go32_pte): Likewise.
2089 (go32_pte_for_address): Likewise.
2090 * infcmd.c: Include cli/cli-utils.h.
2091 (registers_info): Use skip_spaces.
2092 * linux-tdep.c (read_mapping): Use skip_spaces_const.
2093 (linux_info_proc): Likewise.
2094 * linux-thread-db.c: Include cli/cli-utils.h.
2095 (info_auto_load_libthread_db): Use skip_spaces_const.
2096 * m32r-rom.c: Include cli/cli-utils.h.
2097 (m32r_upload_command): Use skip_spaces.
2098 * maint.c: Include cli/cli-utils.h.
2099 (maintenance_translate_address): Use skip_spaces.
2100 * mi/mi-parse.c: Include cli/cli-utils.h.
2101 (mi_parse_argv): Use skip_spaces.
2102 (mi_parse): Likewise.
2103 * minsyms.c: Include cli/cli-utils.h.
2104 (msymbol_hash_iw): Use skip_spaces_const.
2105 * objc-lang.c: Include cli/cli-utils.h.
2106 (parse_selector): Use skip_spaces.
2107 (parse_method): Likewise.
2108 * python/python.c: Include cli/cli-utils.h.
2109 (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces.
2110 (python_command)[HAVE_PYTHON]: Likewise.
2111 (python_interactive_command)[!HAVE_PYTHON]: Likewise.
2112 * remote-m32r-sdi.c: Include cli/cli-utils.h.
2113 (m32r_load): Use skip_spaces.
2114 * serial.c: Include cli/cli-utils.h.
2115 (serial_open): Use skip_spaces_const.
2116 * stack.c: Include cli/cli-utils.h.
2117 (parse_frame_specification_1): Use skip_spaces_const.
2118 * symfile.c: Include cli/cli-utils.h.
2119 (set_ext_lang_command): Use skip_spaces.
2120 * symtab.c: Include cli/cli-utils.h.
2121 (rbreak_command): Use skip_spaces.
2122 * thread.c (thread_name_command): Use skip_spaces.
2123 * tracepoint.c (validate_actionline): Use skip_spaces.
2124 (encode_actions_1): Likewise.
2125 (trace_find_range_command): Likewise.
2126 (trace_find_outside_command): Likewise.
2127 (trace_dump_actions): Likewise.
2128
ac91cd70
PA
21292013-03-07 Pedro Alves <palves@redhat.com>
2130
2131 * c-lang.c (parse_one_string): Cast argument to gdb_byte *.
2132 * expprint.c (print_subexp_standard): Likewise.
2133 * utils.c (host_char_to_target): Likewise.
2134 * valprint.c (generic_emit_char, generic_printstr): Likewise.
2135 * varobj.c (value_get_print_value): Change type of local to char*.
2136 Cast it gdb_byte * in call to language printer.
2137
2898e560
PA
21382013-03-07 Pedro Alves <palves@redhat.com>
2139
2140 * charset.c (struct wchar_iterator) <input>: Change type to 'const
2141 gdb_byte *'.
2142 (make_wchar_iterator): Remove cast to char*.
2143 (wchar_iterate): Change type of local.
2144
a09b4448
PA
21452013-03-07 Pedro Alves <palves@redhat.com>
2146
2147 * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
2148 for 'regcache->register_status'.
2149
20ced3e4
PA
21502013-03-07 Pedro Alves <palves@redhat.com>
2151
c2d6a675 2152 * breakpoint.c (breakpoint_xfer_memory): Change type of local to
20ced3e4
PA
2153 int.
2154
fe106009
PA
21552013-03-07 Pedro Alves <palves@redhat.com>
2156
2157 * stap-probe.c (handle_stap_probe): Add cast to char*.
2158
8ac2c12b
PA
21592013-03-07 Pedro Alves <palves@redhat.com>
2160
2161 * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv,
2162 RECORD_MSGRCV>: Pass a signed variable to
2163 regcache_raw_read_signed, instead of an unsigned one.
2164
99f0a309
PA
21652013-03-07 Pedro Alves <palves@redhat.com>
2166
2167 * remote-notif.c (notif_debug): Change type to int.
2168 * remote-notif.h (notif_debug): Likewise.
2169
964b8317
PA
21702013-03-07 Pedro Alves <palves@redhat.com>
2171
2172 * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
2173
f0cc8ad4
PA
21742013-03-07 Pedro Alves <palves@redhat.com>
2175
2176 * remote.c (hex2bin, bin2hex): Move extern declarations to ...
2177 * remote.h (hex2bin, bin2hex): ... here.
2178 * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
2179
77dec115
EZ
21802013-03-07 Eli Zaretskii <eliz@gnu.org>
2181
2182 * utils.c (initialize_utils): Improve doc strings of "set/show
2183 width", "set/show height", and "set/show pagination".
2184
741d92cf
KS
21852013-03-06 Keith Seitz <keiths@redhat.com>
2186
2187 * ax-gdb.c (gen_printf): Make FORMAT const.
2188 * ax-gdb.h (gen_printf): Likewise.
2189 * ax-general.c (ax_string): Make STR const.
2190 * ax.h (ax_string): Likewise.
2191
7b6c814e
DE
21922013-03-06 Doug Evans <dje@google.com>
2193
2194 * elfread.c (elf_symfile_read): Move debugging printf to more
2195 logical location.
2196
634334ab
PA
21972013-03-06 Pedro Alves <palves@redhat.com>
2198
2199 * python/py-utils.c (target_string_to_unicode): Delete function.
2200 * python/python-internal.h (target_string_to_unicode): Delete
2201 declaration.
2202
e482a1a7
PM
22032013-03-06 Pierre Muller <muller@sourceware.org>
2204
2205 * linespec.c (get_current_search_block): ARI fix, use (void)
2206 for empty parameter list.
2207
4eeaa230
DE
22082013-03-05 Doug Evans <dje@google.com>
2209
2210 * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
2211 of old ada_lookup_symbol_list. In !full_search case, don't
2212 search superblocks.
2213 (ada_lookup_symbol_list): Delete arg full_search, all callers
2214 updated. Call ada_lookup_symbol_list_worker.
2215 (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
2216 * ada-lang.h (ada_lookup_symbol_list): Update.
2217 * language.h (language_defn): Update comment for
2218 la_iterate_over_symbols.
2219 * linespec.c (iterate_over_file_blocks): New function.
2220 (iterate_over_all_matching_symtabs): Call it.
2221 (lookup_prefix_sym): Ditto.
2222 (get_current_search_block): New function.
2223 (get_search_block): Delete.
2224 (find_label_symbols): Call get_current_search_block.
2225 (add_matching_symbols_to_info): Call iterate_over_file_blocks.
2226 * symtab.c (iterate_over_symbols): Don't search superblocks.
2227
b69b1fb1
YQ
22282013-03-05 Yao Qi <yao@codesourcery.com>
2229
2230 * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
2231 parameter VAR's type from "unsigned int" to "int".
2232 * command.h (var_zuinteger_unlimited): Update its comments.
2233 (add_setshow_zuinteger_unlimited_cmd): Update the declaration.
2234
3c095f49
CV
22352013-03-05 Corinna Vinschen <vinschen@redhat.de>
2236
2237 * NEWS: Mention new target x86_64-*-cygwin*.
2238
b5b0b0af
CV
22392013-03-05 Corinna Vinschen <vinschen@redhat.de>
2240
2241 * configure.host: Add x86_64-*-cygwin* as host.
2242 * configure.tgt: Add x86_64-*-cygwin* as target.
2243 * config/i386/cygwin64.mh: New file.
2244
f6f99966
JK
22452013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2246
2247 * linespec.c (decode_line_2): Fix duplicate request off by two message.
2248
33f448b1
JK
22492013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2250
2251 * linespec.c (struct linespec_canonical_name): New.
2252 (struct linespec_state): Change canonical_names type to it.
2253 (add_sal_to_sals): Change variable canonical_name to canonical. Change
2254 xrealloc element size. Initialize the different CANONICAL fields.
2255 (canonical_to_fullform): New.
2256 (filter_results): Use it. Add variables canonical, fullform and
2257 cleanup.
2258 (struct decode_line_2_item, decode_line_2_compare_items): New.
2259 (decode_line_2): Remove variables iter and item_names, add variables
2260 items and items_count. Modify the code for these new variables.
2261
feb14725
CV
22622013-03-04 Corinna Vinschen <vinschen@redhat.com>
2263
2264 * coff-pe-read.c (read_pe_exported_syms): Don't return without
2265 calling do_cleanup.
2266
e83b17ba
HZ
22672013-03-04 Luis Machado <lgustavo@codesourcery.com>
2268
2269 * tracepoint.c (build_traceframe_info): Add code for byte order.
2270
a2d13a0d
KB
22712013-03-02 Kevin Buettner <kevinb@redhat.com>
2272
8dddcae8
KB
2273 * v850-tdep.c: (v850e2_register_name): Revise system register
2274 names to match current V850E2M architecture specifications.
2275 Update register number enum comments too.
a2d13a0d 2276
d79e58d8
JW
22772013-03-01 Jiong Wang <jiwang@tilera.com>
2278 Pedro Alves <palves@redhat.com>
2279
2280 * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
2281 to END_ADDR.
2282 (tilegx_skip_prologue): Limit prologue analysis to section end.
2283
c4be5165
JK
22842013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2285
2286 * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
2287 use it.
2288
e362b510
PA
22892013-03-01 Pedro Alves <palves@redhat.com>
2290
2291 Use gdb_byte for bytes from the program being debugged.
2292
2293 * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
2294 Change type of local 'buf' to gdb_byte.
2295 * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
2296 * bfin-tdep.c (bfin_push_dummy_call): Likewise.
2297 * cris-tdep.c (cris_sigcontext_addr)
2298 (cris_sigtramp_frame_unwind_cache): Likewise.
2299 * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
2300 (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
2301 Likewise.
2302 * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
2303 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
2304 (hppa32_hpux_search_dummy_call_sequence)
2305 (hppa_hpux_supply_save_state): Likewise.
2306 * hppa-linux-tdep.c (insns_match_pattern)
2307 (hppa_linux_find_global_pointer): Likewise.
2308 * hppa-tdep.c (hppa_in_function_epilogue_p)
2309 (skip_prologue_hard_way, hppa_frame_cache): Likewise.
2310 * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
2311 * i386fbsd-tdep.c (i386fbsd_supply_uthread)
2312 (i386fbsd_collect_uthread): Likewise.
2313 * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
2314 * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
2315 * ia64-tdep.c (examine_prologue, ia64_frame_cache)
2316 (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
2317 (ia64_sigtramp_frame_prev_register, ia64_access_reg)
2318 (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
2319 (ia64_libunwind_frame_prev_register)
2320 (ia64_libunwind_sigtramp_frame_this_id)
2321 (ia64_find_global_pointer_from_dynamic_section)
2322 (find_extant_func_descr, find_func_descr, ia64_dummy_id)
2323 (ia64_unwind_pc): Likewise.
2324 * iq2000-tdep.c (iq2000_store_return_value): Likewise.
2325 * m68hc11-tdep.c (m68hc11_push_dummy_call)
2326 (m68hc11_extract_return_value): Likewise.
2327 * m68klinux-nat.c (fetch_register, store_register): Likewise.
2328 * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
2329 (mep_get_insn, mep_push_dummy_call): Likewise.
2330 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
2331 (mips_linux_in_dynsym_stub): Likewise.
2332 * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
2333 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
2334 * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
2335 to gdb_byte.
2336 * remote-mips.c (mips_set_register): Likewise.
2337 * remote-sim.c (gdbsim_fetch_register): Likewise.
2338 * score-tdep.c (score7_fetch_inst): Change type of parameter
2339 'memblock' and local 'buf' to gdb_byte.
2340 (score7_malloc_and_get_memblock): Change return type to gdb_byte.
2341 Change type of local 'buf' to gdb_byte. Adjust.
2342 (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
2343 to gdb_byte**.
2344 (score7_analyze_prologue): Change type of 'memblock' and
2345 'memblock_ptr' locals to gdb_byte*.
2346 * sh64-tdep.c (sh64_extract_return_value)
2347 (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
2348 * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
2349 * solib-pa64.c (pa64_solib_create_inferior_hook)
2350 (pa64_open_symbol_file_object): Remove local 'buf'.
2351 * solib-som.c (som_solib_create_inferior_hook, link_map_start)
2352 (som_open_symbol_file_object): Likewise.
2353 * solib-spu.c (spu_current_sos): Likewise.
2354 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
2355 * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
2356 (spu_store_registers): Likewise.
2357 * target.c (debug_print_register): Likewise.
2358 * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
2359 * xstormy16-tdep.c (xstormy16_store_return_value)
2360 (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
2361 (xstormy16_find_jmp_table_entry): Likewise.
2362
75cc61ca 23632013-03-01 Jiong Wang <jiwang@tilera.com>
61d8bd0e
JW
2364
2365 * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
2366 (tilegx_gdbarch_init): Install it.
2367
ddb08e9c
TT
23682013-02-28 Tom Tromey <tromey@redhat.com>
2369
2370 * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
2371 PyLong_Check.
2372
62d7fb51
DE
23732013-02-28 Doug Evans <dje@google.com>
2374
2375 * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
2376 * python/python.c (gdbpy_find_pc_line): Ditto.
2377
c4a9e8b4
TT
23782013-02-28 Tom Tromey <tromey@redhat.com>
2379
2380 * contrib/excheck.py: New file.
2381 * contrib/exsummary.py: New file.
2382 * contrib/gcc-with-excheck: New file.
2383
7f6a5dde
TT
23842013-02-28 Tom Tromey <tromey@redhat.com>
2385
2386 * python/python.c (gdbpy_print_stack): Call begin_line and
2387 fprintf_filtered inside TRY_CATCH.
2388
9e974e55
TT
23892013-02-28 Tom Tromey <tromey@redhat.com>
2390
2391 * python/python.c (gdbpy_find_pc_line): Call find_pc_line
2392 inside TRY_CATCH.
2393
dd5fa3e7
TT
23942013-02-28 Tom Tromey <tromey@redhat.com>
2395
2396 * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
2397 frame_object_to_frame_info inside TRY_CATCH.
2398
86a3263f
TT
23992013-02-28 Tom Tromey <tromey@redhat.com>
2400
2401 * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
2402 TRY_CATCH.
2403
81b52a3a
TT
24042013-02-28 Tom Tromey <tromey@redhat.com>
2405
2406 * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
2407
d50a0ce2
CV
24082013-02-27 Corinna Vinschen <vinschen@redhat.com>
2409
2410 * windows-nat.c: Throughout, fix format strings and casts of
2411 printf-like functions to avoid type related warnings on all
2412 platforms.
2413 (handle_output_debug_string): Fetch context information address
2414 from debug string using string_to_core_addr.
2415
e1f58301
JW
24162013-02-27 Jiong Wang <jiwang@tilera.com>
2417
2418 * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
2419 * regformats/reg-tilegx32.dat: New.
2420
4fcd89fc
JW
24212013-02-27 Jiong Wang <jiwang@tilera.com>
2422
2423 * configure.tgt (tilegx-*-linux*): Enable gdbserver.
2424
748d24e6
JW
24252013-02-27 Jiong Wang <jiwang@tilera.com>
2426
2427 * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
2428
6c8e944d
YQ
24292013-02-27 Yao Qi <yao@codesourcery.com>
2430 Pedro Alves <palves@redhat.com>
2431
2432 * tracepoint.c (tfile_trace_find): For tfind
2433 pc/tp/range/outside, look for the next trace frame instead of
2434 always starting from frame 0.
2435
acd7db30
AG
24362013-02-26 Anthony Green <green@moxielogic.com>
2437
2438 * configure.tgt: Add support for moxie-*-rtems* target.
2439
025e6dce
PA
24402013-02-25 Pedro Alves <palves@redhat.com>
2441
2442 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
2443 warning text.
2444
ca9c94ef
MR
24452013-02-24 Maciej W. Rozycki <macro@codesourcery.com>
2446
2447 * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
2448 if $fp is used as the virtual frame pointer.
2449
24c274a1
AM
24502013-02-23 Alan Modra <amodra@gmail.com>
2451
2452 * elfread.c (elf_symtab_read): Do not use udata.p here to find
2453 symbol size.
2454 * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
2455 * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
2456 * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
2457 * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
2458
bfada189
JK
24592013-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2460
2461 Code cleanup.
2462 * elfread.c (build_id_bfd_get): Make the return type const.
2463 (build_id_verify): Make the check parameter const.
2464 (build_id_to_debug_filename): Make the build_id parameter and variable
2465 data const.
2466 (find_separate_debug_file_by_buildid): Make the variable build_id const.
2467
c0355132
AM
24682013-02-21 Alan Modra <amodra@gmail.com>
2469
2470 * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes.
2471
9f44fbc0
SCR
24722013-02-20 Siva Chandra Reddy <sivachandra@google.com>
2473
2474 Add a new method 'disassemble' to gdb.Architecture class.
2475 * python/py-arch.c (archpy_disassmble): Implementation of the
2476 new method gdb.Architecture.disassemble.
2477 (arch_object_methods): Add entry for the new method.
2478
b74ea3eb
JW
24792013-02-20 Jiong Wang <jiwang@tilera.com>
2480
2481 * MAINTAINERS (Write After Approval): Add myself to the list.
2482
61a672f1
PA
24832013-02-19 Pedro Alves <palves@redhat.com>
2484
2485 Garbage collect 'struct monitor_ops'::load_routine.
2486
2487 * monitor.h (struct monitor_ops) <load_routine>: Remove field.
2488 * monitor.c (monitor_load): No longer call
2489 current_monitor->load_routine.
2490 * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
2491 * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
2492 * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
2493
40e397df
PA
24942013-02-19 Pedro Alves <palves@redhat.com>
2495
2496 PR gdb/15161
2497
2498 Harmonize with generic_load.
2499
2500 * monitor.c: Include "readline/readline.h".
2501 (monitor_load): Rename parameter 'file' to 'args'. Use build_argv
2502 instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned
2503 long/strtol for the 'load_offset' local. Error out if no argument
2504 is given or if too many arguments are given. Tilde expand the
2505 passed in file name.
2506
f698ca8e
KT
25072013-02-19 Kai Tietz <ktietz@redhat.com>
2508
2509 PR gdb/15161
2510 * symfile.c (load_section_data): Change type of load_offset
2511 to CORE_ADDR.
2512 (generic_load): User strtoulst instead of strtoul for conversion
2513 of load_offset.
2514
3361b059
WL
25152013-02-19 Jiong Wang <jiwang@tilera.com>
2516
2517 * tilegx-tdep.c (tilegx_analyze_prologue): add check for
2518 for return address, "lr" register, saved on stack.
2519 * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
2520 after we invoke tilegx_analyze_prologue.
2521
3e9d5130
WL
25222013-02-19 Jiong Wang <jiwang@tilera.com>
2523
bb1bcd86
WL
2524 * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
2525
3361b059 25262013-02-19 Jiong Wang <jiwang@tilera.com>
bb1bcd86 2527
b74ea3eb 2528 * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
3e9d5130 2529
4aaf2503
WL
25302013-02-19 Jiong Wang <jiwang@tilera.com>
2531
b74ea3eb 2532 * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
4aaf2503
WL
2533 (tilegx_write_pc): New function.
2534 (tilegx_cannot_reference_register): Return zero if REGNO
2535 is TILEGX_FAULTNUM_REGNUM.
2536 (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
2537 (tilegx_register_name): Add handling of "faultnum" register.
2538 * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
2539 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
2540 handling of TILEGX_FAULTNUM_REGNUM.
2541 * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
2542
bc23a956
WL
25432013-02-19 Jiong Wang <jiwang@tilera.com>
2544
2545 * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
b74ea3eb 2546 should be aligned to 64bit.
bc23a956 2547
42f45f1a
KT
25482013-02-19 Kai Tietz <ktietz@redhat.com>
2549
2550 * windows-nat.c (windows_xfer_memory): Fix debug-output
2551 for LLP64.
2552
6ce4c112
LL
25532013-02-19 Lei Liu <lei.liu2@windriver.com>
2554
2555 * mips-linux-nat.c (mips64_linux_regsets_store_registers):
2556 Don't check DSP register number if HAVE_DSP is not set.
2557
30e8ee25
AM
25582013-02-19 Alan Modra <amodra@gmail.com>
2559
2560 * elfread.c (struct build_id): Delete. Use struct elf_build_id
2561 throughout file instead.
2562 (build_id_bfd_get): Update to use new elf_tdata build_id field.
2563 Don't xmalloc return value.
2564 (build_id_verify): Similarly. Don't xfree.
2565 (build_id_to_debug_filename): Update.
2566 (find_separate_debug_file_by_buildid): Update, don't xfree.
2567
4c9ad8c2
TT
25682013-02-18 Tom Tromey <tromey@redhat.com>
2569
2570 PR gdb/15102:
2571 * dwarf2read.c (read_subrange_type): Use result of
2572 'check_typedef'.
2573
983dc440
YQ
25742013-02-16 Yuanhui Zhang <asmwarrior@gmail.com>
2575
2576 * frame.c: Remove one extra white space after #include
2577 directive.
2578
7fb2b84a
JK
25792013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2580
2581 * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
2582
edceb2a9
JK
25832013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2584
2585 * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
2586 and dir commands into an if block.
2587
e81b7af8
TT
25882013-02-15 Sanimir Agovic <sanimir.agovic@intel.com>
2589
2590 * python/py-breakpoint (struct pybp_code): Use int instead of
2591 enum type_code.
2592
f5911ea1
HAQ
25932013-02-15 Pedro Alves <pedro@codesourcery.com>
2594 Hafiz Abid Qadeer <abidh@codesourcery.com>
2595
2596 * NEWS: Mention new field "trace-file".
2597 * tracepoint.c (trace_status_mi): Output "trace-file" field.
2598 (tfile_open): Record the trace file's filename in the trace
2599 status.
2600 (tfile_files_info): Mention the name of the trace file.
2601 Check the "filename" field explicitely.
2602 (trace_status_command): Explicitely check "filename" field.
2603 (trace_find_command): Ditto.
2604 (trace_find_pc_command): Ditto.
2605 (trace_find_tracepoint_command): Ditto.
2606 (trace_find_line_command): Ditto.
2607 (trace_find_range_command): Ditto.
2608 (trace_find_outside_command): Ditto.
2609 * tracepoint.h (struct trace_status) <from_file>: Rename it
2610 to "filename" and make it hold the trace file's filename
2611 instead of a boolean.
2612 * remote.c (remote_get_trace_status): Initialize "filename"
2613 field with NULL instead of 0.
2614
796cb314
YQ
26152013-02-15 Yao Qi <yao@codesourcery.com>
2616
2617 * remote.c: Fix a typo.
2618
42e79b1d
PM
26192013-02-14 Pierre Muller <muller@sourceware.org>
2620
2621 * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
2622
baea0dae
PA
26232013-02-14 Pedro Alves <palves@redhat.com>
2624
2625 * utils.c (savestring): Don't #undef it. Move function to
2626 common/common-utils.c.
2627 * common/common-utils.c: Include gdb_string.h.
2628 (savestring): Move here from utils.c.
2629 * common/common-utils.h (savestring): Declare.
2630
57c3b6ed
PA
26312013-02-14 Pedro Alves <palves@redhat.com>
2632
2633 * utils.c (savestring): Rename parameter 'size' to 'len'.
2634
d6c44983
YZ
26352013-02-14 Pedro Alves <palves@redhat.com>
2636 Yufeng Zhang <yufeng.zhang@arm.com>
2637
2638 * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
2639 (aarch64_inferior_data, struct aarch64_inferior_data):
2640 Delete.
2641 (struct aarch64_process_info): New.
2642 (aarch64_process_list): New global.
2643 (aarch64_find_process_pid, aarch64_add_process)
2644 (aarch64_process_info_get): New functions.
2645 (aarch64_inferior_data_get): Delete.
2646 (aarch64_process_info_get): New function.
2647 (aarch64_forget_process): New function.
2648 (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement.
2649 (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
2650 aarch64_get_debug_reg_state.
2651 (aarch64_notify_debug_reg_change): Use iterate_over_lwps
2652 instead of linux_nat_iterate_watchpoint_lwps.
2653 (aarch64_linux_new_fork): New function.
2654 (aarch64_linux_child_post_startup_inferior): Use
2655 aarch64_forget_process instead of aarch64_init_debug_reg_state.
2656 (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
2657 (aarch64_linux_remove_hw_breakpoint)
2658 (aarch64_handle_aligned_watchpoint)
2659 (aarch64_handle_unaligned_watchpoint)
2660 (aarch64_linux_insert_watchpoint)
2661 (aarch64_linux_remove_watchpoint)
2662 (aarch64_linux_stopped_data_address): Adjust to pass the current
2663 process id to aarch64_debug_reg_state.
2664 (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
2665 linux_nat_new_fork hook, and aarch64_forget_process as
2666 linux_nat_forget_process hook; remove the call to
2667 register_inferior_data_with_cleanup.
2668
4819b3f8
PA
26692013-02-14 Pedro Alves <palves@redhat.com>
2670
2671 * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
2672 EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
2673 lval_memory.
2674
1773c82c
HAQ
26752013-02-14 Pedro Alves <pedro@codesourcery.com>
2676 Hafiz Abid Qadeer <abidh@codesourcery.com>
2677
2678 * tracepoint.h (validate_trace_state_variable_name): Declare.
2679 * tracepoint.c (validate_trace_state_variable_name): New.
2680 (trace_variable_command): Parse the trace state variable's name
2681 without using parse_expression. Do several validations.
2682 * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
2683 trace state variable's name with parse_expression. Validate it.
2684
53778a97
YQ
26852013-02-14 Yao Qi <yao@codesourcery.com>
2686
2687 * infcmd.c (breakpoint_proceeded): Remove it.
2688
7b3ae3a6
YQ
26892013-02-14 Yao Qi <yao@codesourcery.com>
2690
2691 * tracepoint.c (end_actions_pseudocommand): Make it static.
2692 (while_stepping_pseudocommand): Likewise.
2693 * tracepoint.h (end_actions_pseudocommand): Remove the
2694 declaration.
2695 (while_stepping_pseudocommand): Likewise.
2696
64580925
YQ
26972013-02-14 Yao Qi <yao@codesourcery.com>
2698
2699 * cli/cli-decode.c (help_cmd): Remove the declaration of
2700 "cmdlist".
2701 (help_all): Likewise.
2702
26cb8b7c
PA
27032013-02-13 Pedro Alves <palves@redhat.com>
2704
2705 * amd64-linux-nat.c (update_debug_registers_callback):
2706 Update comment.
2707 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
2708 iterate_over_lwps.
2709 (amd64_linux_prepare_to_resume): Pass the lwp's pid to
2710 i386_debug_reg_state.
2711 (amd64_linux_new_fork): New function.
2712 (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
2713 linux_nat_new_fork hook, and i386_forget_process as
2714 linux_nat_forget_process hook.
2715 * i386-linux-nat.c (update_debug_registers_callback):
2716 Update comment.
a8256ea1 2717 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
26cb8b7c
PA
2718 iterate_over_lwps.
2719 (i386_linux_prepare_to_resume): Pass the lwp's pid to
2720 i386_debug_reg_state.
2721 (i386_linux_new_fork): New function.
2722 (_initialize_i386_linux_nat): Install i386_linux_new_fork as
2723 linux_nat_new_fork hook, and i386_forget_process as
2724 linux_nat_forget_process hook.
2725 * i386-nat.c (i386_init_dregs): Delete.
2726 (i386_inferior_data, struct i386_inferior_data):
2727 Delete.
2728 (struct i386_process_info): New.
2729 (i386_process_list): New global.
2730 (i386_find_process_pid, i386_add_process, i386_process_info_get):
2731 New functions.
2732 (i386_inferior_data_get): Delete.
2733 (i386_process_info_get): New function.
2734 (i386_debug_reg_state): New parameter 'pid'. Reimplement.
2735 (i386_forget_process): New function.
2736 (i386_cleanup_dregs): Rewrite.
2737 (i386_update_inferior_debug_regs, i386_insert_watchpoint)
2738 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
2739 (i386_stopped_data_address, i386_insert_hw_breakpoint)
2740 (i386_remove_hw_breakpoint): Adjust to pass the current process id
2741 to i386_debug_reg_state.
2742 (i386_use_watchpoints): Don't register inferior data.
2743 * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
2744 adjust comment.
2745 (i386_forget_process): Declare.
2746 * linux-fork.c (delete_fork): Call linux_nat_forget_process.
2747 * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
2748 New static globals.
2749 (linux_child_follow_fork): Don't call linux_nat_new_thread here.
2750 (add_initial_lwp): New, factored out from ...
2751 (add_lwp): ... this. Don't check the number of lwps before
2752 calling linux_nat_new_thread.
2753 (linux_nat_iterate_watchpoint_lwps): Delete.
2754 (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
2755 (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
2756 forks and vforks.
2757 (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
2758 initial lwp.
2759 (linux_nat_kill, linux_nat_mourn_inferior): Call
2760 linux_nat_forget_process.
2761 (linux_nat_set_new_fork, linux_nat_set_forget_process)
2762 (linux_nat_forget_process): New functions.
2763 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
2764 type.
2765 (linux_nat_iterate_watchpoint_lwps): Delete declaration.
2766 (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
2767 types.
2768 (linux_nat_set_new_fork, linux_nat_set_forget_process)
2769 (linux_nat_forget_process): New declarations.
2770
2771 * amd64fbsd-nat.c (super_mourn_inferior): New global.
2772 (amd64fbsd_mourn_inferior): New function.
2773 (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
2774 * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
2775
5befea72
MS
27762013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
2777
55015247
YQ
2778 * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
2779 Adding _().
5befea72 2780
1d3ffd6b
MS
27812013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
2782
2783 * aarch64-linux-nat.c (debug_reg_change_callback)
2784 (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
2785 %s and phex().
2786
6eb04473
MS
27872013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
2788
2789 * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
2790 with LONGEST.
2791
a016fc87
HAQ
27922013-02-13 Pedro Alves <palves@redhat.com>
2793 Hafiz Abid Qadeer <abidh@codesourcery.com>
2794
2795 * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
2796
e234dfaf
TT
27972013-02-12 Tom Tromey <tromey@redhat.com>
2798
2799 PR symtab/11464:
2800 * c-exp.y (lex_one_token): Initialize other fields of yylval on
2801 NAME return.
2802 (classify_inner_name): Remove 'first_name' argument, add
2803 'context'. Remove unused variable.
2804 (yylex): Explicitly maintain the context type. Exit loop earlier
2805 if NAME result is seen.
2806
0b1afbb3
PA
28072013-02-12 Pedro Alves <palves@redhat.com>
2808
2809 * amd64-darwin-tdep.c: Add (C) after Copyright.
2810 * cli/cli-cmds.h: Ditto.
2811 * cli/cli-decode.c: Ditto.
2812 * cli/cli-decode.h: Ditto.
2813 * cli/cli-dump.c: Ditto.
2814 * cli/cli-dump.h: Ditto.
2815 * cli/cli-interp.c: Ditto.
2816 * cli/cli-logging.c: Ditto.
2817 * cli/cli-script.c: Ditto.
2818 * cli/cli-script.h: Ditto.
2819 * cli/cli-setshow.c: Ditto.
2820 * cli/cli-setshow.h: Ditto.
2821 * cli/cli-utils.c: Ditto.
2822 * cli/cli-utils.h: Ditto.
2823 * config/alpha/nm-osf3.h: Ditto.
2824 * config/djgpp/djconfig.sh: Ditto.
2825 * config/i386/nm-fbsd.h: Ditto.
2826 * config/i386/nm-i386gnu.h: Ditto.
2827 * config/nm-linux.h: Ditto.
2828 * config/nm-nto.h: Ditto.
2829 * config/rs6000/nm-rs6000.h: Ditto.
2830 * config/sparc/nm-sol2.h: Ditto.
2831 * darwin-nat-info.c: Ditto.
2832 * dfp.c: Ditto.
2833 * dfp.h: Ditto.
2834 * gdb-demangle.h: Ditto.
2835 * i386-darwin-nat.c: Ditto.
2836 * i386-darwin-tdep.c: Ditto.
2837 * linux-fork.h: Ditto.
2838 * m32c-tdep.c: Ditto.
2839 * microblaze-linux-tdep.c: Ditto.
2840 * microblaze-rom.c: Ditto.
2841 * microblaze-tdep.c: Ditto.
2842 * microblaze-tdep.h: Ditto.
2843 * mips-linux-tdep.h: Ditto.
2844 * ppc-ravenscar-thread.c: Ditto.
2845 * ppc-ravenscar-thread.h: Ditto.
2846 * prologue-value.c: Ditto.
2847 * prologue-value.h: Ditto.
2848 * ravenscar-thread.c: Ditto.
2849 * ravenscar-thread.h: Ditto.
2850 * sparc-ravenscar-thread.c: Ditto.
2851 * sparc-ravenscar-thread.h: Ditto.
2852 * tilegx-linux-tdep.c: Ditto.
2853 * unwind_stop_reasons.def: Ditto.
2854 * windows-nat.h: Ditto.
2855 * xtensa-linux-tdep.c: Ditto.
2856 * xtensa-xtregs.c: Ditto.
2857 * regformats/regdat.sh: Ditto.
2858 * regformats/regdef.h: Ditto.
2859
6c01dd94
PA
28602013-02-12 Pedro Alves <palves@redhat.com>
2861
2862 * break-catch-sig.c: Update copyright years.
2863
b65a2bd9
SCR
28642013-02-11 Siva Chandra Reddy <sivachandra@google.com>
2865
2866 Add support for a destructor for ui_out data and use it to
2867 provide a ui_out destructor.
2868 * ui-out.h: Declare the new ui_out destructor.
2869 (ui_out_impl): Add a field for data destructor in ui_out_impl.
2870 * ui-out.c (default_data_destroy): Add a default data destructor
2871 which does nothing.
2872 (default_ui_out_impl): Set the new data_destroy field to
2873 default_data_destroy
2874 (uo_data_destroy): Local function which invokes the data
2875 destructor if present.
2876 (clear_table): Local function which clears the table data of a
2877 ui_out object.
2878 (ui_out_destroy): Public function which frees a ui_out object.
2879 (ui_out_table_end): Use the new clear_table function.
2880 * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
2881 NULL.
2882 * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
2883 to NULL.
2884
c2792f5a
DE
28852013-02-11 Doug Evans <dje@google.com>
2886
2887 * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
2888 (printf_decfloat): New function. Broken out from ui_printf.
2889 Remove unnecessary code to shift the entire format string down.
2890 (printf_pointer): New function.
2891 (ui_printf): Code to print C strings, wide C strings, decfloats,
2892 and pointers moved to separate functions.
2893
d9e98382
SDJ
28942013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
2895
2896 * valops.c (value_assign): Handling bitfield offset in
2897 `lval_internalvar_component' case.
2898
4ff3ce77
DE
28992013-02-08 Doug Evans <dje@google.com>
2900
2901 * common/format.c (parse_format_string): Fix whitespace.
2902
901900c4
MGD
29032013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
2904
2905 * stack.c (return_command): Work around uninitialized variable
2906 warning.
2907
b5dbc8d4
YZ
29082013-02-08 Yufeng Zhang <yufeng.zhang@arm.com>
2909
2910 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
2911 number of the registers from 36 to 34.
2912
51d66578
MS
29132013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
2914
2915 * NEWS: Mention new AArch64 native and target support.
2916
176b1c95
MS
29172013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
2918
2919 * MAINTAINERS (Write After Approval): Add myself.
2920
9d19df75
MS
29212013-02-08 Jim MacArthur <jim.macarthur@arm.com>
2922 Marcus Shawcroft <marcus.shawcroft@arm.com>
2923 Nigel Stephens <nigel.stephens@arm.com>
2924 Yufeng Zhang <yufeng.zhang@arm.com>
2925
2926 * aarch64-linux-nat.c: New file.
2927 * config/aarch64/linux.mh: New file.
2928 * configure.host: Add AArch64.
2929 * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
2930
7e1e0340
DE
29312013-02-07 Doug Evans <dje@google.com>
2932
2933 * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
2934 disassemble command.
2935
45e25a36
MS
29362013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2937
2938 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
2939 set_gdbarch_fetch_tls_load_module_address.
2940
bbfdfe1c
DM
29412013-02-06 David S. Miller <davem@davemloft.net>
2942
2943 * sparc-tdep.c (sparc32_return_value): Handle writing return value when
2944 using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
2945 * value.c (struct_return_convention): New function.
2946 (using_struct_return): Implement in terms of struct_return_convention.
2947 * value.h (struct_return_convention): Declare.
2948 * stack.c (return_command): Allow successful overriding of the return
2949 value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
2950
bc9abe4a
TT
29512013-02-06 Tom Tromey <tromey@redhat.com>
2952
2953 * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
2954 outside of TRY_CATCH.
2955
134a2066
YQ
29562013-02-06 Yao Qi <yao@codesourcery.com>
2957
2958 * mi/mi-interp.c: Include "tracepoint.h".
2959 (mi_tsv_modified): Declare.
2960 (mi_tsv_created, mi_tsv_deleted): Update declaration.
2961 (mi_interpreter_init): Call observer_attach_tsv_modified.
2962 (mi_tsv_modified): New.
2963 (mi_tsv_created, mi_tsv_deleted): Update.
2964 * tracepoint.c (trace_variable_command): Call
2965 observer_notify_tsv_modified if the initial value of tsv is
2966 changed.
2967 (delete_trace_state_variable): Call
2968 observer_notify_tsv_deleted earlier.
2969 (trace_variable_command): Caller update.
2970 (create_tsv_from_upload): Likewise.
2971 * observer.sh: Declare "struct trace_state_variable".
2972
2973 * NEWS: Mention the new MI notification "=tsv-modified".
2974
59be2b6a
DE
29752013-02-05 Doug Evans <dje@google.com>
2976
2977 * completer.c (location_completer): Fix typo in comment.
2978
d30113d4
JK
29792013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2980
2981 * breakpoint.c (add_location_to_breakpoint): Insert the location with
2982 ADDRESS sorted.
2983
14ac654f
MS
29842013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
2985
2986 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
2987 Refactor if statement to avoid trailing || operator.
2988
543bf33d
AT
29892013-02-05 Andreas Tobler <andreast@fgznet.ch>
2990
2991 * NEWS: Add PowerPC FreeBSD as a new native configuration.
2992
dc18f110
AT
29932013-02-04 Andreas Tobler <andreast@fgznet.ch>
2994
2995 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
2996 * configure.host: Add powerpc*-*-freebsd* target.
2997 * configure.tgt: Add target info for powerpc*-*-freebsd*.
2998 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
2999 * config/powerpc/fbsd.mh: New file.
3000
b3ac9c77
SDJ
30012013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>
3002 Denys Vlasenko <dvlasenk@redhat.com>
3003 Pedro Alves <palves@redhat.com>
3004
3005 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
3006 (struct elf_internal_linux_prpsinfo): Forward declare.
3007 * gdbarch.h, gdbarch.c: Regenerate.
3008 * linux-tdep.c: Include `cli/cli-utils.h'.
3009 (linux_fill_prpsinfo): New function.
3010 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
3011 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
3012 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
3013 depending on gdbarch pointer bitness.
3014 * ppc-linux-tdep.c: Include elf-bfd.h.
3015 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
3016 on 32-bit.
3017
176eb98c
MS
30182013-02-04 Jim MacArthur <jim.macarthur@arm.com>
3019 Marcus Shawcroft <marcus.shawcroft@arm.com>
3020 Nigel Stephens <nigel.stephens@arm.com>
3021 Yufeng Zhang <yufeng.zhang@arm.com>
3022
3023 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
3024
cf0dbd6f
MS
30252013-02-04 Jim MacArthur <jim.macarthur@arm.com>
3026 Marcus Shawcroft <marcus.shawcroft@arm.com>
3027 Nigel Stephens <nigel.stephens@arm.com>
3028 Yufeng Zhang <yufeng.zhang@arm.com>
3029
3030 * aarch64-newlib-tdep.c: New file.
3031 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
3032 aarch64*-*-elf.
3033 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
3034 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
3035 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
3036 * osabi.c (gdb_osabi_names): Add "Newlib".
3037
1ae3db19
MS
30382013-02-04 Jim MacArthur <jim.macarthur@arm.com>
3039 Marcus Shawcroft <marcus.shawcroft@arm.com>
3040 Nigel Stephens <nigel.stephens@arm.com>
3041 Yufeng Zhang <yufeng.zhang@arm.com>
3042
3043 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
3044 (ALLDEPFILES): Add aarch64-linux-tdep.c.
3045 * aarch64-linux-tdep.c: New file.
3046 * aarch64-linux-tdep.h: New file.
3047 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
3048 * configure.tgt: Add aarch64-none-linux-gnu.
3049
07b287a0
MS
30502013-02-04 Jim MacArthur <jim.macarthur@arm.com>
3051 Marcus Shawcroft <marcus.shawcroft@arm.com>
3052 Nigel Stephens <nigel.stephens@arm.com>
3053 Yufeng Zhang <yufeng.zhang@arm.com>
3054
3055 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
3056 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
3057 (ALLDEPFILES): Add aarch64-tdep.c.
3058 * aarch64-tdep.c: New file.
3059 * aarch64-tdep.h: New file.
3060 * configure.tgt: Add AArch64.
3061 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
3062 (aarch64-expedite): New definition.
3063 * features/aarch64-core.xml: New file.
3064 * features/aarch64-fpu.xml: New file.
3065 * features/aarch64-without-fpu.c: New file (generated).
3066 * features/aarch64-without-fpu.xml: New file.
3067 * features/aarch64.c: New file (generated).
3068 * features/aarch64.xml: New file.
3069 * regformats/aarch64-without-fpu.dat: New file (generated).
3070 * regformats/aarch64.dat: New file (generated).
3071
0f1b18ab
JK
30722013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3073
3074 * contrib/expect-read1.c: New file.
3075 * contrib/expect-read1.sh: New file.
3076
233d95b5
JK
30772013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3078
3079 * dwarf2read.c (file_file_name): New function with code from
3080 file_full_name.
3081 (file_full_name): Move most of the code to file_file_name.
3082 (macro_start_file): Rename variable full_name to file_name and use
3083 file_file_name for it. Add comp_dir parameter to new_macro_table.
3084 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
3085 macro_source_file->filename access by macro_source_fullname call.
3086 * macroscope.c (_initialize_macroscope): Update the new_macro_table
3087 caller.
3088 * macrotab.c (struct macro_table): New field comp_dir.
3089 (macro_include): New variables link_fullname and source_fullname.
3090 Replace any macro_source_file->filename access by macro_source_fullname
3091 call.
3092 (macro_lookup_inclusion): Remove the partial filenames checking code.
3093 (check_for_redefinition): New variables source_fullname and
3094 found_key_fullname. Replace any macro_source_file->filename access by
3095 macro_source_fullname call.
3096 (macro_undef): New variables source_fullname and key_fullname. Replace
3097 any macro_source_file->filename access by macro_source_fullname call.
3098 (macro_lookup_definition): New variables retval and source_fullname.
3099 Replace any macro_source_file->filename access by macro_source_fullname
3100 call.
3101 (foreach_macro): New variable key_fullname. Replace any
3102 macro_source_file->filename access by macro_source_fullname call.
3103 (foreach_macro_in_scope): New variable datum_fullname. Replace any
3104 macro_source_file->filename access by macro_source_fullname call.
3105 (new_macro_table): Add parameter comp_dir. Initialize T with it.
3106 (macro_source_fullname): New function.
3107 * macrotab.h (struct macro_source_file): Extent the filename field
3108 comment.
3109 (new_macro_table): New parameter comp_dir, add a comment for it.
3110 (macro_source_fullname): new declaration.
3111
da235a7c
JK
31122013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3113
3114 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
3115 this_real_name to outer block. Use it also for
3116 compare_filenames_for_search.
3117 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
3118 with dw2_get_real_path for file_matcher, considering also
3119 BASENAMES_MAY_DIFFER.
3120 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
3121
fbd9ab74
JK
31222013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3123
3124 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
3125 to the file_matcher parameter. Pass 0 to it.
3126 (dwarf2_create_include_psymtab): Copy also DIRNAME.
3127 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
3128 NULL psymtab_to_fullname result.
3129 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
3130 an expected filename instead.
3131 (expand_symtabs_matching_via_partial): Add basenames parameter to the
3132 file_matcher parameter. Call also psymtab_to_fullname, after newly
3133 considering BASENAMES_MAY_DIFFER.
3134 * source.c (rewrite_source_path): Remove static.
3135 * source.h (rewrite_source_path): New declaration.
3136 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
3137 the expand_symtabs_matching field. Comment it.
3138 * symtab.c (file_matches): New function comment. Add parameter
3139 basenames, implement it.
3140 (search_symbols_file_matches): Add basenames parameter. Update the
3141 file_matches caller.
3142 (search_symbols): Match FILES also against symtab_to_fullname.
3143 Optimize it for BASENAMES_MAY_DIFFER.
3144
56d397a3
JK
31452013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3146
3147 * source.c (print_source_lines_base): Print for TUI also "fullname".
3148 * tui/tui-data.c (init_content_element): Change tui_locator_element
3149 field to full_name.
3150 * tui/tui-data.h (struct tui_locator_element): Likewise.
3151 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
3152 tui_update_locator_filename calls to tui_update_locator_fullname.
3153 Replace symtab->filename refererence by symtab_to_fullname call.
3154 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
3155 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
3156 field to full_name. Replace symtab->filename refererence by
3157 symtab_to_fullname call.
3158 (tui_show_symtab_source): Rename parameter to fullname. Change
3159 tui_locator_element field to full_name.
3160 * tui/tui-stack.c: Include source.h.
3161 (tui_set_locator_filename): Rename the declaration to ...
3162 (tui_set_locator_fullname): ... here. Rename its parameter to
3163 fullname, updates its comment.
3164 (tui_set_locator_info): Rename its parameter to fullname.
3165 (tui_set_locator_filename): Rename the definition to ...
3166 (tui_set_locator_fullname): ... here. Rename its parameter to
3167 fullname, updates its comment. Change tui_locator_element field to
3168 full_name.
3169 (tui_set_locator_info): Rename its parameter to fullname.
3170 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
3171 (tui_update_locator_filename): Rename to ...
3172 (tui_update_locator_fullname): ... here. Rename callee to
3173 tui_set_locator_fullname.
3174 (tui_show_frame_info): Replace symtab->filename refererence by
3175 symtab_to_fullname call.
3176 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
3177 (tui_update_locator_fullname): ... here.
3178 * tui/tui-winsource.c (tui_display_main): Rename the callee to
3179 tui_update_locator_fullname. Replace symtab->filename refererence by
3180 symtab_to_fullname call.
3181 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
3182 Rename the callee to tui_update_locator_fullname.
3183 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
3184
05cba821
JK
31852013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3186
3187 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
3188 by symtab_to_filename_for_display calls.
3189 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
3190 (clear_command): New variable sal_fullname, initialize it. Replace
3191 compare_filenames_for_search by filename_cmp with sal_fullname.
3192 (say_where, update_static_tracepoint): Replace symtab->filename
3193 refererences by symtab_to_filename_for_display calls.
3194 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
3195 Likewise.
3196 * dwarf2read.c: Include source.h.
3197 (fixup_go_packaging): Replace symtab->filename refererences by
3198 symtab_to_filename_for_display calls.
3199 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
3200 Replace symtab->filename refererences by symtab_to_filename_for_display
3201 calls.
3202 (create_sals_line_offset, convert_linespec_to_sals): New variable
3203 fullname, initialize it, replace symtab->filename reference by the
3204 variable.
3205 * linux-fork.c: Include source.h.
3206 (info_checkpoints_command): Replace symtab->filename refererences by
3207 symtab_to_filename_for_display calls.
3208 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
3209 by symtab_to_filename_for_display calls.
3210 * mdebugread.c: Include source.h.
3211 (psymtab_to_symtab_1): Replace symtab->filename refererences by
3212 symtab_to_filename_for_display calls.
3213 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
3214 (mi_cmd_file_list_exec_source_files): Likewise.
3215 * printcmd.c: Include source.h.
3216 (build_address_symbolic): Replace symtab->filename refererences by
3217 symtab_to_filename_for_display calls.
3218 * psymtab.c (partial_map_symtabs_matching_filename)
3219 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
3220 with psymtab_to_fullname.
3221 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
3222 by symtab_to_filename_for_display calls.
3223 (stpy_get_filename): New variable filename, initialize it, use instead
3224 of symtab->filename refererences.
3225 (salpy_str): Make variable filename const char *. Replace
3226 symtab->filename refererences by symtab_to_filename_for_display calls.
3227 * skip.c: Include source.h and filenames.h.
3228 (skip_file_command): Remove const from the symtab variable. Replace
3229 symtab->filename refererences by symtab_to_fullname call.
3230 (function_name_is_marked_for_skip): New variables searched_for_fullname
3231 and fullname. Use them to search also with symtab's fullname.
3232 * source.c (find_source_lines): Replace symtab->filename refererences
3233 by symtab_to_filename_for_display calls.
3234 (print_source_lines_base): New variable filename, use it instead of
3235 symtab->filename. Replace symtab->filename refererences by
3236 symtab_to_filename_for_display calls.
3237 (line_info, forward_search_command): Replace symtab->filename
3238 refererences by symtab_to_filename_for_display calls.
3239 (reverse_search_command): Replace symtab->filename refererences by
3240 symtab_to_filename_for_display calls. New variable filename for it.
3241 * stack.c (frame_info): Likewise.
3242 * symmisc.c: Include source.h.
3243 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
3244 (maintenance_info_symtabs): Replace symtab->filename refererences by
3245 symtab_to_filename_for_display calls.
3246 * symtab.c (iterate_over_some_symtabs): Call
3247 compare_filenames_for_search also with symtab_to_fullname.
3248 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
3249 symtab->filename refererences by symtab_to_filename_for_display calls.
3250 (find_line_symtab): Replace symtab->filename refererences by
3251 symtab_to_filename_for_display calls.
3252 (file_matches): Replace filename_cmp by compare_filenames_for_search.
3253 (print_symbol_info): Make the last parameter const char *. New
3254 variable s_filename. Use it in the function.
3255 (symtab_symbol_info): Make the last_filename variable const char *.
3256 Replace symtab->filename refererences by symtab_to_filename_for_display
3257 calls.
3258 (rbreak_command): New variable fullname. Use it. Replace
3259 symtab->filename refererence by symtab_to_filename_for_display call.
3260 * tracepoint.c (set_traceframe_context, trace_find_line_command)
3261 (print_one_static_tracepoint_marker): Replace symtab->filename
3262 refererences by symtab_to_filename_for_display calls.
3263 * tui/tui-source.c (tui_set_source_content): New variables filename and
3264 s_filename. Replace symtab->filename refererences by this variable.
3265 Replace other symtab->filename refererences by
3266 symtab_to_filename_for_display calls.
3267
1b56eb55
JK
32682013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
3269 Jan Kratochvil <jan.kratochvil@redhat.com>
3270
3271 Add a new variable that controls a way in which filenames are
3272 displayed.
3273 * NEWS (set filename-display): New entry.
3274 * source.c (filename_display_basename, filename_display_relative)
3275 (filename_display_absolute, filename_display_kind_names)
3276 (filename_display_string, show_filename_display_string)
3277 (symtab_to_filename_for_display): New.
3278 (_initialize_source): Added initialization of 'filename-display'
3279 variable.
3280 * source.h (symtab_to_filename_for_display): Added declaration.
3281 * stack.c (print_frame): Added new variable and calling of a new
3282 function and condition with this variable. Changed third argument of
3283 calling of a function.
3284
aa079c93
JK
32852013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3286
3287 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
3288 Rename field reference filename to fullname.
3289 * tui/tui-data.h (struct tui_source_info): Rename field filename to
3290 fullname. New comment for it.
3291 * tui/tui-source.c (tui_set_source_content): Rename field reference
3292 filename to fullname. Initialize field by symtab_to_fullname now.
3293 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
3294 reference filename to fullname. Use symtab_to_fullname during
3295 comparison.
3296
652a8996
JK
32972013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3298
3299 Code cleanup.
3300 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
3301 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
3302 filename to fullname. Rename variable this_name to this_fullname.
3303 Lowercase FILENAME_CMP call.
3304 (dw2_find_symbol_file): New comment for the returned string.
3305 (dwarf2_gdb_index_functions): Rename the function to
3306 dw2_expand_symtabs_with_fullname.
3307 * psymtab.c (read_psymtabs_with_filename): Rename to ...
3308 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
3309 fullname.
3310 (psym_functions): Rename the function to read_psymtabs_with_fullname.
3311 * symfile.h (struct quick_symbol_functions): Rename field
3312 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
3313 parameter filename to fullname. Document returned string meaning for
3314 find_symbol_file.
3315 * symtab.c (find_line_symtab): Rename the called function to
3316 expand_symtabs_with_fullname.
3317
af529f8f
JK
33182013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3319
3320 Code cleanup.
3321 * breakpoint.c (clear_command): Remove variable is_abs, unify the
3322 call of filename_cmp with compare_filenames_for_search.
3323 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
3324 is_abs, unify the call of FILENAME_CMP with
3325 compare_filenames_for_search. New gdb_asserts for real_path and name.
3326 Unify the call of compare_filenames_for_search with FILENAME_CMP.
3327 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
3328 * symfile.h (struct quick_symbol_functions): Extend the comment for
3329 map_symtabs_matching_filename.
3330 * symtab.c (compare_filenames_for_search): Remove the function comment
3331 relative path requirement. Handle absolute filenames, with a comment.
3332 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
3333 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
3334 real_path and name. Unify the call of compare_filenames_for_search
3335 with FILENAME_CMP.
3336 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
3337
2f202fde
JK
33382013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3339
3340 Code cleanup.
3341 * breakpoint.c (print_breakpoint_location): Replace bp_location field
3342 source_file references by symtab field references. Remove variables
3343 sal and fullname.
3344 (momentary_breakpoint_from_master, add_location_to_breakpoint):
3345 (clear_command, say_where): Replace bp_location field source_file
3346 references by symtab field references.
3347 (bp_location_dtor): Remove the source_file reference.
3348 (update_static_tracepoint): Replace bp_location field source_file
3349 references by symtab field references.
3350 (breakpoint_free_objfile): New function.
3351 * breakpoint.h (struct bp_location): Extend the comment for line_number.
3352 Replace the field source_file by field symtab, extend its comment.
3353 (breakpoint_free_objfile): New declaration.
3354 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
3355 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
3356 field source_file references by symtab field references.
3357
f5b95b50
JK
33582013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3359
3360 Replace xfullpath calls by gdb_realpath calls.
3361 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
3362 function comment.
3363 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
3364 Remove it from the iterate_over_some_symtabs call.
3365 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
3366 Remove it from the dw2_map_expand_apply calls, remove a block handling
3367 it.
3368 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
3369 Remove it from the iterate_over_some_symtabs call.
3370 (partial_map_symtabs_matching_filename): Remove parameter full_path.
3371 Remove it from the partial_map_expand_apply calls, remove a block
3372 handling it. Drop gdb_realpath call and cleanups from the real_path
3373 handling.
3374 * source.c (openp): Drop the comment part about xfullpath. Replace
3375 xfullpath calls by gdb_realpath calls.
3376 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
3377 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
3378 from method map_symtabs_matching_filename and its comment.
3379 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
3380 gdb_realpath call.
3381 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
3382 remove it also from the function comment, remove a block handling it.
3383 Drop gdb_realpath call and cleanups from the real_path handling.
3384 (iterate_over_symtabs): Drop variable full_path and its use.
3385 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
3386 * utils.c (xfullpath): Remove.
3387 * utils.h (xfullpath): Remove.
3388
d78489bf
AT
33892013-02-01 Andreas Tobler <andreast@fgznet.ch>
3390
3391 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
3392 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
3393 (ALLDEPFILES): Add ppc64-tdep.c.
3394 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
3395 ppc64-tdep.o to gdb_target_obs.
3396 * ppc64-tdep.h: New file.
3397 * ppc64-tdep.c: New file.
3398 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
3399 ppc-linux-tdep.c to here.
3400 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
3401 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
3402 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
3403 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
3404 from ppc-linux-tdep.c to here.
3405 (ppc64_convert_from_func_ptr_addr): Rename from
3406 ppc64_linux_convert_from_func_ptr_addr to
3407 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
3408 here.
3409 * rs6000-tdep.c:
3410 (read_insn): Move from ppc-linux-tdep.c to here.
3411 (insns_match_pattern, insn_d_field, insn_ds_field): Move
3412 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
3413 * ppc-linux-tdep.c: Include ppc64-tdep.h.
3414 Removed above functions.
3415 (ppc_linux_init_abi): Adjust.
3416
8db60374
AR
34172013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
3418
3419 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
3420
f2e5f4ce
AR
34212013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
3422
3423 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
3424
c1f7d745
PA
34252013-02-01 Pedro Alves <palves@redhat.com>
3426
3427 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
3428 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
3429
8a92335b
JK
34302013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3431
3432 * elfread.c (elf_symfile_read): Limit separate debug info additions to
3433 files with no separate debug info.
3434 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
3435 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
3436 only for files with no separate debug info.
3437
8eacb197
TT
34382013-01-31 Tom Tromey <tromey@redhat.com>
3439
3440 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
3441 change type.
3442 (struct jit_program_space_data): Rename from jit_inferior_data.
3443 Update comments.
3444 (get_jit_program_space_data): Rename from get_jit_inferior_data.
3445 Change return type. Attach data to program space.
3446 (jit_program_space_data_cleanup): Rename from
3447 jit_inferior_data_cleanup; change argument type.
3448 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
3449 change type.
3450 (jit_register_code): Update.
3451 (jit_update_inferior_cache): Remove.
3452 (jit_breakpoint_deleted): Get jit data from the location's program
3453 space.
3454 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
3455 'ps_data', change type.
3456 (jit_inferior_init, jit_breakpoint_re_set_internal)
3457 (jit_event_handler): Update.
3458 (free_objfile_data): Get data from objfile's program space.
3459 (_initialize_jit): Update.
3460
f25c0135
TT
34612013-01-31 Tom Tromey <tromey@redhat.com>
3462
3463 PR gdb/13987:
3464 * jit.c (struct jit_inferior_data) <cached_code_address,
3465 jit_breakpoint>: New fields.
3466 (jit_breakpoint_re_set_internal): Fix logging. Only create
3467 breakpoint if cached address has changed.
3468 (jit_update_inferior_cache, jit_breakpoint_deleted): New
3469 functions.
3470 (_initialize_jit): Register breakpoint deleted observer.
3471
974a734b
AR
34722013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
3473
3474 * infrun.c (handle_syscall_event): Remove unused gdbarch.
3475 (save_infcall_suspend_state): Ifdef out unused inf.
3476 (restore_infcall_suspend_state): Ifdef out unused inf.
3477 * jit.c (jit_register_code): Remove unused i, b, inf_data.
3478 (jit_frame_sniffer): Remove unused inf_data.
3479
df54f8eb
AR
34802013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
3481
3482 * c-exp.y (classify_inner_name): Remove unused type.
3483 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
3484 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
3485 need_escape.
3486 (c_get_string): Remove unused kind.
3487 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
3488
5799c0b9
AR
34892013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
3490
3491 * charset.c (intermediate_encoding): Remove unused i.
3492 * completer.c (signal_completer): Remove unused i.
3493 * continuations.c (discard_my_continuations_1): Remove unused
3494 continuation_ptr.
3495 * corelow.c (core_close): Remove unuseD name.
3496 (get_core_siginfo): Remove unused pid.
3497 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
3498 i, cps.
3499 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
3500 (loclist_describe_location): Remove unused first.
3501 * event-top.c (command_line_handler): Remove unused got_eof.
3502 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
3503 (resize_section_table): Remove unused old_value.
3504 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
3505 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
3506 * i386-tdep.c (i386_process_record): Remove unused rex.
3507 * infcmd.c (get_return_value): Remove unused uiout.
3508 * jv-lang.c (type_from_class): Remove unused is_array.
3509 * jv-valprint.c (java_val_print): Remove unused i.
3510 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
3511 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
3512 * m2-typeprint.c (m2_print_type): Remove unused code.
3513 * macroexp.c (get_character_constant): Remove unused body_start.
3514 (macro_stringify): Remove unused result.
3515 * objc-lang.c (find_methods): Remove unused gdbarch.
3516 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
3517 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
3518 * stack.c (print_frame_args): Remove unused summary.
3519 * thread.c (thread_apply_command): Remove unused p.
3520 * valarith.c (value_x_unop): Remove unused mangle_ptr.
3521 * valops.c (search_struct_method): Remove unused skip.
3522 * valprint.c (generic_val_print): Remove unused byte_order.
3523 * varobj.c (varobj_update): Remove unused changed.
3524 * cli/cli-cmds.c (complete_command): Remove unused next_item.
3525 (alias_command): Remove unused c.
3526 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
3527 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
3528 format.
3529 (mi_cmd_data_write_memory): Remove unused word_format.
3530 (mi_cmd_data_write_memory_bytes): Remove unused r.
3531 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
3532 p_start, p_end.
3533 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
3534 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
3535 line_width.
3536
c656bca5
AR
35372013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
3538
3539 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
3540 * symtab.c (iterate_over_symtabs): Remove unused s.
3541 (find_pc_sect_symtab): Remove unused pspAce.
3542 (find_pc_sect_line): Remove unused alt_symtab.
3543 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
3544 (completion_list_add_name): Remove unused newsize.
3545
7078baeb
TT
35462013-01-31 Tom Tromey <tromey@redhat.com>
3547
3548 PR c++/14998:
3549 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
3550 TYPE_CODE_FUNC.
3551
c2e8b827
AR
35522013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
3553
3554 * target.c (target_read_string): Remove unused origlen.
3555
0e43993a
AR
35562013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
3557
3558 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
3559 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
3560 * ax-general.c (ax_print): Remove unused is_float.
3561 * blockframe.c (block_innermost_frame): Remove unused start, end.
3562 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
3563
765a97ab
AR
35642013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
3565
3566 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
3567 (svr4_read_so_list): Remove unused lmo.
3568 * solib-target.c (solib_target_relocate_section_addresses): Remove
3569 unused flags.
3570
a99dad3d
TT
35712013-01-30 Tom Tromey <tromey@redhat.com>
3572
3573 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
3574
3bff1ecd
TT
35752013-01-30 Tom Tromey <tromey@redhat.com>
3576
3577 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
3578 * utils.c (gnu_debuglink_crc32): Remove.
3579 * utils.h (gnu_debuglink_crc32): Don't declare.
3580
7d455152
TT
35812013-01-30 Tom Tromey <tromey@redhat.com>
3582
3583 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
3584 (read_structure_type, read_enumeration_type): Remove cast.
3585
abee88f2
TT
35862013-01-30 Tom Tromey <tromey@redhat.com>
3587
3588 * dwarf2read.c (read_namespace_type): Remove cast.
3589 (read_typedef): Likewise.
3590
8d9878a4
TT
35912013-01-29 Tom Tromey <tromey@redhat.com>
3592
3593 * dwarf2read.c (free_dwo_file): Remove assert.
3594
a543d2a9
TT
35952013-01-29 Tom Tromey <tromey@redhat.com>
3596
3597 * value.c (deprecated_set_value_modifiable): Remove.
3598 * value.h (deprecated_set_value_modifiable): Remove.
3599
bed911e5
DE
36002013-01-28 Doug Evans <dje@google.com>
3601
3602 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
3603 to addresses from dwo files.
3604
28c64fc2
SCR
36052013-01-25 Siva Chandra Reddy <sivachandra@google.com>
3606
3607 * valops.c (find_overload_match): Remove unused argument 'lax'.
3608 * value.h: Remove unused argument 'lax' from the declaration of
3609 find_overload_match.
3610 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
3611 to find_overload_match.
3612 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
3613 argument to find_overload_match.
3614
4d4ec4e5
TT
36152013-01-25 Tom Tromey <tromey@redhat.com>
3616
3617 * dwarf2read.c (processing_has_namespace_info): Remove.
3618 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
3619 (process_die, read_func_scope, dwarf2_start_symtab)
3620 (new_symbol_full): Update.
3621
195a3f6c
TT
36222013-01-25 Tom Tromey <tromey@redhat.com>
3623
3624 * cp-namespace.c (cp_set_block_scope): Remove.
3625 * cp-support.h (cp_set_block_scope): Remove.
3626 * dbxread.c: Include block.h.
3627 (cp_set_block_scope): New function.
3628 (process_one_symbol): Update.
3629 * dwarf2read.c (read_func_scope): Use block_set_scope.
3630
8ba0730a
PA
36312013-01-25 Pedro Alves <palves@redhat.com>
3632
3633 * remote.c (add_current_inferior_and_thread): Tweak comment.
3634
12aaed36
TT
36352013-01-25 Tom Tromey <tromey@redhat.com>
3636
3637 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
3638 (cp_add_using_directive): Add 'copy_names' argument.
3639 * cp-support.h (cp_add_using_directive): Update.
3640 (struct using_direct) <import_src, import_dest, alias,
3641 declaration>: Now const.
3642 * dwarf2read.c (read_import_statement): Use obconcat.
3643 Don't copy names passed to cp_add_using_directive.
3644
7fc75ca7
TT
36452013-01-25 Tom Tromey <tromey@redhat.com>
3646
3647 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
3648
3405876a
PA
36492013-01-25 Pedro Alves <palves@redhat.com>
3650
3651 * remote.c (stop_reply_extract_thread): New.
3652 (add_current_inferior_and_thread): New parameter 'wait_status'.
3653 Handle it.
3654 (remote_start_remote): Pass wait status to
3655 add_current_inferior_and_thread.
3656 (extended_remote_run): Update comment.
3657 (extended_remote_create_inferior_1): Pass wait status to
3658 add_current_inferior_and_thread.
3659
8954db33
AB
36602013-01-25 Andrew Burgess <aburgess@broadcom.com>
3661 Ulrich Weigand <uweigand@de.ibm.com>
3662
3663 * valarith.c (value_vector_widen): New function for replicating a
3664 scalar into a vector.
3665 (value_binop): Use value_vector_widen to widen scalar to vector
3666 rather than casting, this better matches gcc C behaviour.
3667 * valops.c (value_casst): Update logic for casting between vector
3668 types, and for casting from scalar to vector, try to match gcc C
3669 behaviour.
3670 * value.h (value_vector_widen): Declare.
3671 * opencl-lang.c (opencl_value_cast): New opencl specific casting
3672 function, handle special case for casting scalar to vector.
3673 (opencl_relop): Use opencl_value_cast.
3674 (evaluate_subexp_opencl): Use opencl_value_cast instead of
3675 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
3676 in order to use opencl_value_cast.
3677
843b20dc
YQ
36782013-01-25 Yao Qi <yao@codesourcery.com>
3679
3680 * event-loop.c: Include "queue.h".
3681 (gdb_event_p): New typedef.
3682 (DECLARE_QUEUE_P): Use.
3683 (DEFINE_QUEUE_P): Use.
3684 (async_queue_event): Remove.
3685 (gdb_event_xfree): New.
3686 (initialize_event_loop): New.
3687 (process_event): Use QUEUE macros.
3688 (event_queue): Remove.
3689 (gdb_wait_for_event): Caller update.
3690 (check_async_event_handlers): Likewise.
3691 (poll_timers): Likewise.
3692 * event-loop.h (initialize_event_loop): Declare.
3693 * event-loop.c (gdb_event_xfree): New.
3694 * top.c (gdb_init): Call initialize_event_loop.
3695
20ad8856
YQ
36962013-01-25 Yao Qi <yao@codesourcery.com>
3697
3698 * event-loop.c (async_queue_event): Remove one parameter
3699 'position'. Remove code handling 'position' == TAIL.
3700 (gdb_wait_for_event): Caller update.
3701 (check_async_event_handlers): Caller update.
3702 (poll_timers): Caller update.
3703 * event-loop.h (enum queue_position): Remove.
3704
3bbbe775
MK
37052013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
3706
3707 * MAINTAINERS: Update my email.
3708
a87d9ac4
YQ
37092013-01-25 Yao Qi <yao@codesourcery.com>
3710
3711 * main.c (print_gdb_help): Remove "--epoch" from the help
3712 message.
3713
2077afdd
TD
37142013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
3715
3716 * symtab.c (skip_prologue_using_sal): Consider a file
3717 change the same as an increased line number
3718
63da4037
TD
37192013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
3720
30e8ee25 3721 * MAINTAINERS (Write After Approval): Add myself to the list.
63da4037 3722
45e6c716
TT
37232013-01-24 Tom Tromey <tromey@redhat.com>
3724
3725 * ada-lang.h (ada_decode_symbol): Make return type const.
3726 * ada-lang.c (ada_decode_symbol): Likewise.
3727
b1ae631a
DE
37282013-01-23 Doug Evans <dje@google.com>
3729
3730 * linespec.c (find_linespec_symbols): Make static.
3731
55a78401
SDJ
37322013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
3733
3734 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
3735 type on float conversion for complex type.
3736
bea883fd
SCR
37372013-01-23 Siva Chandra Reddy <sivachandra@google.com>
3738
3739 Add a new class gdb.Architecture which exposes GDB's
3740 internal representation of architecture via GDB Python API.
3741 * Makefile.in: Add entries corresponding to the new file
3742 python/py-arch.c.
3743 * NEWS (Python Scripting): Add entries for the new class
3744 gdb.Architecture and the new method gdb.Frame.architecture.
3745 * python/py-arch.c: Implement gdb.Architecture class.
3746 * python/py-frame.c (frapy_arch): Implement the method
3747 gdb.Frame.architecture().
3748 (frame_object_methods): Add 'architecture' to the method table.
3749 * python/python-internal.h: Add declarations of new utility
3750 functions.
3751 * python/python.c (_initialize_python): Initialize
3752 gdb.Architecture class.
3753
796a7ff8
DE
37542013-01-23 Doug Evans <dje@google.com>
3755
3756 Work around binutils/15021.
3757 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
3758 type_unit_group out of union s. All uses updated.
3759 (read_index_from_section): Watch for index version 8.
3760 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
3761 an imported symtab.
3762 (write_psymtabs_to_index): Increment version number to 8.
3763
0928e93d
PA
37642013-01-22 Pedro Alves <palves@redhat.com>
3765
3766 * annotate.c (breakpoint_changed): Skip if breakpoint is not
3767 user-visible.
3768
9c97429f
PA
37692013-01-22 Pedro Alves <palves@redhat.com>
3770
3771 * annotate.c (annotate_breakpoints_changed): Rename to ...
3772 (annotate_breakpoints_invalid): ... this. Make static.
3773 (breakpoint_changed): Adjust.
3774 (_initialize_annotate): Always install the observers. Install a
3775 "breakpoint_created" observer.
3776 * annotate.h (annotate_breakpoints_changed): Delete declaration.
3777 * breakpoint.c (set_breakpoint_condition)
3778 (breakpoint_set_commands, do_map_commands_command)
3779 (init_raw_breakpoint, clear_command, set_ignore_count)
3780 (enable_breakpoint_disp): No longer call
3781 annotate_breakpoints_changed.
3782
bd00c694
PA
37832013-01-22 Pedro Alves <palves@redhat.com>
3784
3785 * annotate.c: Include "inferior.h".
3786 (frames_invalid_emitted)
3787 (breakpoints_invalid_emitted): New globals.
3788 (async_background_execution_p): New function.
3789 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
3790 emitting the annotation if it has already been emitted.
3791 (annotate_display_prompt): New function.
3792 * annotate.h (annotate_display_prompt): New declaration.
3793 * event-top.c: Include annotate.h.
3794 (display_gdb_prompt): Call annotate_display_prompt.
3795
187d10dd
PA
37962013-01-22 Pedro Alves <palves@redhat.com>
3797
3798 * annotate.c (ignore_count_changed): Delete.
3799 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
3800 (annotate_ignore_count_change): Delete.
3801 (annotate_stopped): Don't emit a delayed breakpoints-changed
3802 annotation.
3803 * annotate.h (annotate_ignore_count_change): Delete.
3804 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
3805 annotate_ignore_count_change.
3806
d84cf7eb
TT
38072013-01-22 Tom Tromey <tromey@redhat.com>
3808
3809 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
3810 require_rvalue for a register location.
3811
8f1d5693
MK
38122013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
3813
3814 * breakpoint.c (print_one_breakpoint_location): Add MI
3815 field 'thread-groups' when printing a breakpoint.
3816 (output_thread_groups): New function.
3817
aa6199c6
SCR
38182013-01-21 Siva Chandra Reddy <sivachandra@google.com>
3819
3820 * python/lib/gdb/commands/explore.py
3821 (CompoundExplorer.explore_expr): Correct the name of a method
3822 being invoked.
3823 (ExploreTypeCommand.invoke): Add a missing 'return'.
3824
d2afef13
TT
38252013-01-21 Tom Tromey <tromey@redhat.com>
3826
3827 * gdb_obstack.h (obconcat): Move declaration here, from...
3828 * symfile.h (obconcat): ... here.
3829 * gdb_obstack.c: New file.
3830 (obconcat): Move from...
3831 * symfile.c (obconcat): ... here.
3832 * Makefile.in (SFILES): Add gdb_obstack.c.
3833 (COMMON_OBS): Add gdb_obstack.o.
3834
10f0c4bb
TT
38352013-01-21 Tom Tromey <tromey@redhat.com>
3836
3837 * symfile.h (obsavestring): Don't declare.
3838 * symfile.c (obsavestring): Remove.
3839 * ada-exp.y: Use obstack_copy0, not obsavestring.
3840 * ada-lang.c: Use obstack_copy0, not obsavestring.
3841 * coffread.c: Use obstack_copy0, not obsavestring.
3842 * cp-namespace.c: Use obstack_copy0, not obsavestring.
3843 * dbxread.c: Use obstack_copy0, not obsavestring.
3844 * dwarf2read.c: Use obstack_copy0, not obsavestring.
3845 * jit.c: Use obstack_copy0, not obsavestring.
3846 * mdebugread.c: Use obstack_copy0, not obsavestring.
3847 * psymtab.c: Use obstack_copy0, not obsavestring.
3848 * stabsread.c: Use obstack_copy0, not obsavestring.
3849 * xcoffread.c: Use obstack_copy0, not obsavestring.
3850
86f62fd7
TT
38512013-01-21 Tom Tromey <tromey@redhat.com>
3852
3853 * dwarf2read.c (fixup_go_packaging): Save package name
3854 on objfile obstack.
3855 * gdbtypes.c (init_type): Don't copy name.
3856
15d034d0
TT
38572013-01-21 Tom Tromey <tromey@redhat.com>
3858
3859 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
3860 const.
3861 (struct attribute) <u.str>: Now const.
3862 (struct fnfieldlist) <name>: Now const.
3863 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
3864 (partial_die_parent_scope): Make return type const.
3865 (partial_die_full_name, add_partial_symbol): Update.
3866 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
3867 'name' const.
3868 (find_file_and_directory): Make 'name' and 'comp_dir' const.
3869 (read_file_scope, read_func_scope, dwarf2_add_field)
3870 (dwarf2_add_member_fn, read_structure_type)
3871 (process_enumeration_scope, read_array_type, read_module_type)
3872 (read_base_type, read_subrange_type): Update.
3873 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
3874 (new_symbol_full, guess_full_die_structure_name): Update.
3875 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
3876 (dwarf2_name): Return const type.
3877 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
3878 const.
3879
748e18ae
TT
38802013-01-21 Tom Tromey <tromey@redhat.com>
3881
3882 * gdbtypes.c (init_type): Make 'name' const.
3883 * gdbtypes.h (init_type): Update.
3884
46212e0b
TT
38852013-01-21 Tom Tromey <tromey@redhat.com>
3886
3887 * buildsym.c (patch_subfile_names): Use set_last_source_file.
3888 (start_symtab): Make 'name' and 'dirname' const. Use
3889 set_last_source_file.
3890 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
3891 (last_source_file): Define. Now static.
3892 (set_last_source_file, get_last_source_file): New functions.
3893 * buildsym.h (last_source_file): Don't declare.
3894 (start_symtab): Update.
3895 (set_last_source_file, get_last_source_file): Declare.
3896 * coffread.c (complete_symtab): Use set_last_source_file.
3897 (coff_end_symtab): Likewise.
3898 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
3899 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
3900 set_last_source_file.
3901 (process_one_symbol): Use get_last_source_file.
3902 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
3903 (psymtab_to_symtab_1): Use get_last_source_file.
3904 * xcoffread.c (process_linenos): Use get_last_source_file.
3905 (complete_symtab): Use set_last_source_file.
3906 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
3907 (scan_xcoff_symtab): Use set_last_source_file.
3908
9d2ceabe
TT
39092013-01-21 Tom Tromey <tromey@redhat.com>
3910
3911 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
3912 (symbol_set_names): Remove casts. Handle field const-ness.
3913
cfc594ee
TT
39142013-01-21 Tom Tromey <tromey@redhat.com>
3915
3916 * dwarf2read.c (new_symbol_full): Remove cast.
3917 * symtab.c (symbol_set_demangled_name): Make 'name' const.
3918 * symtab.h (symbol_set_demangled_name): Update.
3919
5484b13a
TT
39202013-01-21 Tom Tromey <tromey@redhat.com>
3921
3922 * main.c (captured_main): Call bfd_init.
3923
1605ef26
TT
39242013-01-21 Tom Tromey <tromey@redhat.com>
3925
3926 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
3927 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
3928 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
3929 * NEWS: Update.
3930
3b74cdc3
JK
39312013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3932
3933 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
3934
5a352474
JK
39352013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3936
3937 Fix gdb.fortran/common-block.exp crash in PIE mode.
3938 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
3939 LOC_COMMON_BLOCK.
3940 * f-valprint.c (info_common_command_for_block): Expect
3941 LOC_COMMON_BLOCK in gdb_assert.
3942 * symtab.h (struct general_symbol_info): Update comment for the
3943 common_block member.
3944 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
3945 (enum address_class): New member LOC_COMMON_BLOCK.
3946
c60797fd
DB
39472013-01-18 David Blaikie <dblaikie@gmail.com>
3948
3949 * MAINTAINERS (Write After Approval): Add "David Blaikie".
0cae7dfb 3950
46f35228
TT
39512013-01-18 Tom Tromey <tromey@redhat.com>
3952
3953 PR c++/14999:
3954 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
3955 Call require_rvalue.
3956
257e7a09
YQ
39572013-01-18 Yao Qi <yao@codesourcery.com>
3958
3959 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
3960 (dbx_read_symtab): New declaration.
3961 (dbx_psymtab_to_symtab): Delete.
3962 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
3963 Rename parameter PST to SELF. Exchanged two parameters.
3964 (start_psymtab): Caller update.
3965 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
3966 (dwarf2_read_symtab): New declaration.
3967 (dwarf2_psymtab_to_symtab): Delete.
3968 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
3969 Rename parameter PST to SELF. Exchanged two parameters.
3970 (create_partial_symtab): Caller update.
3971 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
3972 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
3973 Rename parameter PST to SELF. Exchanged two parameters.
3974 (parse_partial_symbols, new_psymtab): Caller update.
3975 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
3976 two parameters.
3977 * psymtab.c (psymtab_to_symtab): Caller update.
3978 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
3979 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
3980 Rename parameter PST to SELF. Exchanged two parameters.
3981 (xcoff_start_psymtab): Caller update.
3982
0de5618e
YQ
39832013-01-18 Yao Qi <yao@codesourcery.com>
3984
3985 * infrun.c (proceed): Rename local variable 'oneproc' to
3986 'force_step'.
3987
5c04624b
DE
39882013-01-17 Doug Evans <dje@google.com>
3989
848e3e78
DE
3990 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
3991 (dw2_build_type_unit_groups): Delete. All uses updated.
3992
5c04624b
DE
3993 * symtab.h (struct symbol_search): Add comment.
3994
d84fca2c
JK
39952013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3996
3997 * symtab.c (compare_filenames_for_search): New comment for
3998 HAS_DRIVE_SPEC.
3999
6108433d
TT
40002013-01-17 Tom Tromey <tromey@redhat.com>
4001
4002 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
4003
c89ffd86
JK
40042013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4005
4006 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
4007 initialize it by existing make_cleanup. Call new do_cleanups.
4008
db2b2972
TT
40092013-01-17 Tom Tromey <tromey@redhat.com>
4010
4011 * cp-abi.c (cp_abi_completer): New function.
4012 (_initialize_cp_abi): Set completer for "set cp-abi".
4013
be7d37a2
TT
40142013-01-17 Tom Tromey <tromey@redhat.com>
4015
4016 * mem-break.c: Remove obsolete comment.
4017 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
4018
c9fb1240
SD
40192012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
4020
4021 * jit.c (jit_reader_load_command): Interpret the jit reader name
4022 as an absolute path if it begins with a forward slash.
4023
db334a01
SD
40242012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
4025
4026 PR gdb/14550
4027
4028 * jit.c (finalize_symtab): Ensure that only the global block has a
4029 NULL superblock.
4030
7d928dac
PA
40312013-01-17 Pedro Alves <palves@redhat.com>
4032
4033 * acinclude.m4: Include ../config/plugins.m4,
4034 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
4035 * Makefile.in (aclocal_m4_deps): Update.
4036 * aclocal.m4: Renegerate.
4037
fb8cf7c5
DE
40382013-01-16 Doug Evans <dje@google.com>
4039
4040 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
4041
ab04a2af
TT
40422013-01-16 Pedro Alves <palves@redhat.com>
4043 Tom Tromey <tromey@redhat.com>
4044
4045 PR cli/7221:
4046 * NEWS: Add "catch signal".
4047 * breakpoint.c (base_breakpoint_ops): No longer static.
4048 (bpstat_explains_signal): New function.
4049 (init_catchpoint): No longer static.
4050 (base_breakpoint_explains_signal): New function.
4051 (base_breakpoint_ops): Initialize new field.
4052 * breakpoint.h (enum bpstat_signal_value): New.
4053 (struct breakpoint_ops) <explains_signal>: New field.
4054 (bpstat_explains_signal): Remove macro, declare as function.
4055 (base_breakpoint_ops, init_catchpoint): Declare.
4056 * break-catch-sig.c: New file.
4057 * inferior.h (signal_catch_update): Declare.
4058 * infrun.c (signal_catch): New global.
4059 (handle_syscall_event): Update for change to
4060 bpstat_explains_signal.
4061 (handle_inferior_event): Likewise. Always handle random signals
4062 via bpstats.
4063 (signal_cache_update): Check signal_catch.
4064 (signal_catch_update): New function.
4065 (_initialize_infrun): Initialize signal_catch.
4066 * Makefile.in (SFILES): Add break-catch-sig.c.
4067 (COMMON_OBS): Add break-catch-sig.o.
4068
8ac3646f
TT
40692013-01-16 Tom Tromey <tromey@redhat.com>
4070
4071 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
4072 (print_one_catch_solib, print_one_catch_syscall)
4073 (print_one_catch_exec, print_one_exception_catchpoint): Emit
4074 "catch-type".
4075
5a18e302
YQ
40762013-01-16 Yao Qi <yao@codesourcery.com>
4077
4078 * printcmd.c (current_display_number): Make it static.
4079
3f01d0d0
YQ
40802013-01-16 Yao Qi <yao@codesourcery.com>
4081
4082 * infcmd.c (step_once): Don't check '!single_inst' as it was
4083 checked before.
4084
1ed59174
JK
40852013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
4086
4087 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
4088
44478ab3
TT
40892013-01-14 Tom Tromey <tromey@redhat.com>
4090
4091 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
4092 set command.
4093 * command.h (add_setshow_string_noescape_cmd): Update.
4094 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
4095 (complete_set_gnutarget): New function.
4096 (_initialize_core): Set the "set gnutarget" completer.
4097
06d66ee9
TT
40982013-01-14 Tom Tromey <tromey@redhat.com>
4099
4100 PR symtab/14442:
4101 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
4102 (c_type_print_modifier): Likewise.
4103 * dwarf2read.c (read_tag_restrict_type): New function.
4104 (read_type_die_1): Handle DW_TAG_restrict_type.
4105 * gdbtypes.c (make_restrict_type): New function.
4106 (recursive_dump_type): Handle TYPE_RESTRICT.
4107 * gdbtypes.h (enum type_flag_values): Renumber.
4108 (enum type_instance_flag_value): Add
4109 TYPE_INSTANCE_FLAG_RESTRICT.
4110 (TYPE_RESTRICT): New macro.
4111 (make_restrict_type): Declare.
4112
c9bf0622
TT
41132013-01-14 Tom Tromey <tromey@redhat.com>
4114
4115 PR symtab/14931:
4116 * psymtab.c (struct psymtab_state): New.
4117 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
4118 functions.
4119 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
4120 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
4121
44d594fd
PA
41222013-01-14 Richard Sharman <richard_sharman@mitel.com>
4123 Pedro Alves <palves@redhat.com>
4124
4125 PR remote/14786
4126
4127 * remote.c (remote_threads_info): Make a copy of the reply from
4128 qfThreadInfo and use that instead of rs->buf.
4129
442e4d9c
YQ
41302013-01-14 Yao Qi <yao@codesourcery.com>
4131
4132 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
4133 (dbx_psymtab_to_symtab): Likewise.
4134 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
4135 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
4136 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
4137
5b12a61c
JK
41382013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4139
4140 * parse.c (parse_exp_in_context): New variable inner_chain. Call
4141 make_cleanup_restore_current_language. Call set_language. Move
4142 OLD_CHAIN and INNER_CHAIN cleanups.
4143 * utils.c (do_restore_current_language)
4144 (make_cleanup_restore_current_language): New functions.
4145 * utils.h (make_cleanup_restore_current_language): New declaration.
4146
f0a4b570
JK
41472013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4148
4149 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
4150 non-existing files.
4151
57b3c00c
JK
4152 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
4153 non-existing files if FILENAME is already absolute.
4154
daefa854
JK
41552013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4156
4157 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
4158 fputs_filtered. Append trailing newline.
4159
ca9c6ee2
YQ
41602013-01-11 Yao Qi <yao@codesourcery.com>
4161 Stan Shebs <stan@codesourcery.com>
4162
4163 * psymtab.c (init_psymbol_list): Clarify the comment.
4164
f28045c2
YQ
41652013-01-11 Yao Qi <yao@codesourcery.com>
4166
4167 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
4168 (update_dprintf_command_list): Assert that 'printf_line' is
4169 non-null. Remove condition check.
4170
da5132d3
JK
41712013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
4172
4173 Code cleanup.
4174 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
4175 type const char *.
4176 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
4177 const char *.
4178 * tui/tui-source.h (tui_source_is_displayed): Likewise.
4179
843e694d
AG
41802013-01-09 Anthony Green <green@moxielogic.com>
4181
4182 * cp-abi.c (cplus_print_vtable): Don't return value from void
4183 function.
4184 * ada-lang.c (re_set_catch_assert): Ditto.
4185
da51c347
DE
41862013-01-09 Doug Evans <dje@google.com>
4187
4188 * symfile.h (quick_symbol_functions): Delete member
4189 pre_expand_symtabs_matching. All uses removed.
4190 * dwarf2read.c (dw2_lookup_symbol): Implement.
4191 (dw2_do_expand_symtabs_matching): Delete.
4192 (dw2_pre_expand_symtabs_matching): Delete.
4193 (struct dw2_symtab_iterator): New type.
4194 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
4195 (dw2_expand_symtabs_for_function): Rewrite.
4196 (dwarf2_gdb_index_functions): Update.
4197 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
4198 (psym_functions): Update.
4199
b2259038
TT
42002013-01-09 Tom Tromey <tromey@redhat.com>
4201
4202 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
4203 * configure: Rebuild.
4204 * configure.ac: Add somread.o to the build if BFD has SOM
4205 support.
4206 * somread.c: Include som/aout.h, not syms.h.
4207 (som_symtab_read): Use som_external_symbol_dictionary_record.
4208 Unpack records manually.
4209 (_initialize_somread): Declare.
4210
bdad4180
MF
42112012-01-08 Mike Frysinger <vapier@gentoo.org>
4212
4213 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
4214 Cast return_address to 64bits.
4215
03cdf680
HZ
42162013-01-08 Hui Zhu <hui_zhu@mentor.com>
4217
4218 * printcmd.c: Remove define of function output_command.
4219 * tracepoint.c: Remove extern of function output_command.
4220 * valprint.h: (output_command): New extern.
4221
8a808554
TT
42222013-01-07 Tom Tromey <tromey@redhat.com>
4223
4224 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
4225 Remove.
4226 (objc_language_defn): Use c_printchar, c_printstr,
4227 c_emit_char.
4228
e93a8774
TT
42292013-01-07 Tom Tromey <tromey@redhat.com>
4230
4231 PR cli/7719:
4232 * NEWS: Update.
4233 * ada-valprint.c (printstr, print_field_values): Remove
4234 "inspect_it" code.
4235 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
4236 code.
4237 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
4238 code.
4239 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
4240 * main.c (captured_main): Remove "epoch" argument.
4241 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
4242 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
4243 * p-valprint.c (pascal_object_print_value_fields): Remove
4244 "inspect_it" code.
4245 * printcmd.c (print_command_1): Remove 'inspect' argument.
4246 (print_command, call_command): Update.
4247 (inspect_command): Remove.
4248 (_initialize_printcmd): Make "inspect" an alias for "print".
4249 * top.c (epoch_interface): Remove.
4250 * top.h (epoch_interface): Remove.
4251 * valprint.c (user_print_options): Update.
4252 (print_converted_chars_to_obstack): Remove "inspect_it" code.
4253 * valprint.h (struct value_print_options) <inspect_it>: Remove
4254 field.
4255
42562013-01-04 Tom Tromey <tromey@redhat.com>
4257
4258 * valprint.h (read_string): Add 'extern'.
4259
b967eb24
JB
42602013-01-07 Joel Brobecker <brobecker@adacore.com>
4261
4262 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
4263 used to decide whether to define darwin_read_dyld_info or not.
4264
78a8b30e
PM
42652013-01-03 Pierre Muller <muller@sourceware.org>
4266
4267 * main.c (relocate_gdb_directory): Avoid calling stat function
4268 if DIR is empty.
4269
50da2f25
YQ
42702013-01-03 Yao Qi <yao@codesourcery.com>
4271
4272 * psymtab.c (fixup_psymbol_section): Update declaration.
4273 (fixup_psymbol_section): Remove code returning value.
4274
e7e8980f
YQ
42752013-01-03 Yao Qi <yao@codesourcery.com>
4276
4277 * symtab.h: Remove some out of date comments.
4278 (enum exception_event_kind): Move it ...
4279 * breakpoint.c: ... here.
4280
569283d4
MF
42812013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
4282
9f9d9a96 4283 PR gdb/14405
569283d4
MF
4284 * darwin-nat.c (darwin_read_dyld_info): Only build if
4285 TASK_DYLD_INFO_COUNT is defined.
4286 (darwin_xfer_partial): Call darwin_read_dyld_info only if
4287 TASK_DYLD_INFO_COUNT is defined.
4288
2e36fbea
TT
42892013-01-02 Tom Tromey <tromey@redhat.com>
4290
4291 * symfile.h (struct ecoff_debug_hack): Remove.
4292 * objfiles.c: Don't include mdebugread.h.
4293
4f05add4
TT
42942013-01-02 Tom Tromey <tromey@redhat.com>
4295
4296 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
4297 * configure.ac: Check for Mach-O support in BFD. Update
4298 CONFIG_OBS.
4299 * configure: Rebuild.
4300
def63ff0
TT
43012013-01-02 Tom Tromey <tromey@redhat.com>
4302
4303 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
4304 * configure.ac: Use GDB_AC_CHECK_BFD.
4305 * configure: Rebuild.
4306
60c5dd93
MK
43072013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
4308
4309 * MAINTAINERS: Update my email.
4310
6e58437e
JB
43112013-01-01 Joel Brobecker <brobecker@adacore.com>
4312
4313 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
4314
627fe805
JB
43152013-01-01 Joel Brobecker <brobecker@adacore.com>
4316
4317 * rs6000-nat.c (bss_data_overlap): New function.
4318 (vmap_symtab): Use it to adjust the .bss section's offset.
4319
28e7fd62
JB
43202013-01-01 Joel Brobecker <brobecker@adacore.com>
4321
4322 Update year range in copyright notice of all files.
4323
e93a8774 43242013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
b9786c74
JB
4325
4326 * top.c (print_gdb_version): Update copyright year.
4327
72b20e9c 4328For older changes see ChangeLog-2012.
c906108c
SS
4329\f
4330Local Variables:
4331mode: change-log
4332left-margin: 8
4333fill-column: 74
4334version-control: never
57da7796 4335coding: utf-8
c906108c 4336End:
This page took 1.678646 seconds and 4 git commands to generate.