]> Git Repo - binutils.git/blame - gdb/ChangeLog
gdb/
[binutils.git] / gdb / ChangeLog
CommitLineData
9ead1b84
JK
12013-04-05 Jan Kratochvil <[email protected]>
2
3 Fix compatibility with Linux kernel 3.8.3.
4 * linux-tdep.c (linux_find_memory_regions_full): Move variable number
5 to more inner block. Remove parsing of NUMBER from outer block.
6 Parse NUMBER only if KEYWORD has been identified.
7
d1794952
JK
82013-04-05 Jan Kratochvil <[email protected]>
9
10 Fix variable name shadowing.
11 * linux-tdep.c (linux_find_memory_regions_full): Rename outer variable
12 filename to mapsfilename and update its uses.
13
9025569e
EZ
142013-04-05 Eli Zaretskii <[email protected]>
15
16 * Makefile.in (TAGS): Avoid warning from etags when $GDB_NM_FILE is
17 empty. See http://sourceware.org/ml/gdb-patches/2012-08/msg00504.html
18 and http://sourceware.org/ml/gdb-patches/2013-04/msg00055.html for
19 details of the problem.
20
c9a6ce02
PA
212013-04-04 Pedro Alves <[email protected]>
22 Hui Zhu <[email protected]>
23
24 * breakpoint.c (validate_commands_for_breakpoint): If validating a
25 tracepoint, reset its STEP_COUNT and call validate_actionline.
26
5ff888ce
DE
272013-04-03 Doug Evans <[email protected]>
28
bf6af496
DE
29 * dwarf2read.c (read_die_and_siblings_1): Renamed from
30 read_die_and_siblings.
31 (read_die_and_siblings): New function.
32 (read_cutu_die_from_dwo): Dump die if requested.
33 (read_die_and_children): Call read_full_die_1 and
34 read_die_and_siblings_1.
35 (read_full_die): Dump die if requested.
36
37 * dwarf2read.c (read_comp_units_from_section): Add debugging printf.
38
0ac5b59e
DE
39 * dwarf2read.c (struct dwo_file): New member comp_dir.
40 Rename member name to dwo_name. All uses updated.
41 (hash_dwo_file): Include comp_dir in computation.
42 (eq_dwo_file): Ditto.
43 (lookup_dwo_file_slot): New arg comp_dir. All callers updated.
44 (create_dwo_in_dwp, lookup_dwo_in_dwp, open_and_init_dwo_file): Ditto.
45
5ff888ce
DE
46 * psymtab.c (read_psymtabs_with_fullname): Don't call
47 psymtab_to_fullname if the basenames are different.
48
ec83d211
JK
492013-04-03 Jan Kratochvil <[email protected]>
50
51 * NEWS (Changes in GDB 7.6): Update the data-disassemble for "fullname".
52 New entry about "fullname" presence.
53
4f4352f7
PA
542013-04-03 Pedro Alves <[email protected]>
55
56 * NEWS: Mention x86_64/Cygwin as new native configuration.
57
3d1d5ea3
DE
582013-04-02 Doug Evans <[email protected]>
59
60 * dwarf2read.c (read_structure_type): Fix typo in comment.
61
be9a8770
PA
622013-04-02 Pedro Alves <[email protected]>
63
64 * NEWS: Mention "set/show debug aarch64", "set/show debug
65 coff-pe-read" and "set/show debug mach-o".
66
a46c1e42
PA
672013-04-02 Pedro Alves <[email protected]>
68
69 * NEWS: Mention "set/show remote trace-buffer-size-packet".
70
3ad18b19
EZ
712013-04-02 Eli Zaretskii <[email protected]>
72
73 * Makefile.in (HFILES_NO_SRCDIR): Remove call-cmds.h.
74 gdb_string.h is now in common/.
75
e9f1758d
PA
762013-04-02 Pedro Alves <[email protected]>
77
78 * NEWS: Move "set debug notification" and "set trace-buffer-size"
79 under "New options".
80
049dc89b
JK
812013-04-02 Jan Kratochvil <[email protected]>
82
83 Revert this patch:
84 PR gdb/15275
85 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
86
c33e31fd
PA
872013-04-02 Pedro Alves <[email protected]>
88
89 PR gdb/15275
90
91 * remote.c (send_interrupt_sequence): Use remote_serial_write.
92 (remote_serial_write): New function.
93 (putpkt_binary, getpkt_or_notif_sane_1): Use remote_serial_write.
94
ea5f3910
JW
952013-04-01 Jiong Wang <[email protected]>
96
97 * NEWS: Mention TILE-Gx in "New native configurations" and
98 "New targets" sections.
99
5c6fa7ab
DE
1002013-04-01 Doug Evans <[email protected]>
101
c0f78cd4
DE
102 * dwarf2read.c (lookup_signatured_type_at_offset): Delete.
103 (process_enumeration_scope): Simplify.
104
0186c6a7
DE
105 * dwarf2read.c (struct dwarf2_per_cu_data): Move member
106 type_unit_group ...
107 (struct signatured_type): ... to here.
108 (sig_type_ptr): New typedef.
109 (type_unit_group): Delete member 't.first_cu'. Move member 'tus'
110 out of union 't'. All uses updated.
111 (dw2_get_file_names_reader): Assert not called for a type unit.
112 (dw2_get_file_names): Assert not called for a type unit or type
113 unit group.
114 (build_type_psymtabs_reader): Assert called for a type unit.
115 (build_type_psymtab_dependencies): Assert called for a type unit group.
116
5c6fa7ab
DE
117 * dwarf2read.c (free_dwo_file): Add comment.
118 (dwarf2_per_objfile_free): Unref dwp bfd.
119
b3c0ad67 1202013-04-01 Aleksandar Ristovski <[email protected]>
cebca8c1
AR
121
122 * coff-pe-read.c (add_pe_exported_sym): Remove unused 'dll_name_len'.
123 (add_pe_forwarded_sym): Remove unused 'section', 'dll_name_len'.
124 (read_pe_exported_syms): Remove unused 'exportix'.
125 (pe_text_section_offset): Remove unused 'opthdr_ofs', 'num_entries',
126 'export_rva', 'export_size', 'expptr', 'exp_funcbase', 'expdata',
127 'erva', 'name_rvas', 'ordinals', 'nexp', 'ordbase', 'dll_name'.
128
e2df1547
AR
1292013-04-01 Aleksandar Ristovski <[email protected]>
130
131 * breakpoint.c (parse_cond_to_aexpr): Remove unused 'old_chain'.
132 (print_it_watchpoint): Remove unused 'bl'.
133 (say_where): Remove unused 'uiout'.
134 (bpstat_remove_breakpoint_callback): Remove unused 'uiout'.
135 (bkpt_breakpoint_hit): Remove unused 'b'.
136 (internal_bkpt_print_it): Remove unused 'uiout'.
137 * buildsym.c (augment_type_symtab): Remove unused 'i'.
138
d81e75c0
TD
1392013-03-31 Tiago Stürmer Daitx <[email protected]>
140
141 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_float): New function.
142 (ppc64_sysv_abi_push_dummy_call): Handle complex arguments.
143
5a8b3f62
DE
1442013-03-29 Doug Evans <[email protected]>
145
ab5088bf
DE
146 * dwarf2read.c (open_dwo_file): Renamed from open_dwop_file.
147 Delete arg is_dwp. All callers updated.
148 (open_dwp_file): New function.
149 (open_and_init_dwp_file): Call it.
150 (get_dwp_file): New function.
151 (lookup_dwo_cutu): Call it.
152
a8ad1e57
DE
153 * dwarf2read.c (open_and_init_dwp_file): Remove incorrect, and
154 unnecessary, cleanup.
155
6296d8c1
DE
156 * dwarf2read.c (lookup_dwo_cutu): Improve complaint text.
157
b0c7bfa9
DE
158 * dwarf2read.c (read_cutu_die_from_dwo): New function.
159 (lookup_dwo_unit): New function.
160 (init_cutu_and_read_dies): Move DWO handling to new functions.
161
c88ee1f0
DE
162 * dwarf2read.c (struct signatured_type): Tweak comment.
163 (struct dwo_unit): Tweak comment.
164 (create_debug_types_hash_table): Tweak comment. Reformat long line.
165 (create_dwo_debug_info_hash_table): Tweak comment.
166 (dwarf2_per_cu_offset_and_type): Tweak comment.
167
5a8b3f62
DE
168 * dwarf2read.c (lookup_signatured_type): Remove complaint about
169 missing .debug_types section.
170
9852c492
YQ
1712013-03-29 Yao Qi <[email protected]>
172
173 * corelow.c: Include "completer.h".
174 (_initialize_corelow): Call add_target_with_completer with
175 argument 'filename_completer'.
176 * tracepoint.c: Likewise.
177 * exec.c (_initialize_exec): Likewise.
178 * target.c (add_target): Rename to ...
179 (add_target_with_completer): ... this. Call set_cmd_completer
180 if parameter completer is not NULL.
181 (add_target): New.
182 * target.h: Include "command.h".
183 (add_target_with_completer): Declare it.
184
af312be7
JB
1852013-03-28 Joel Brobecker <[email protected]>
186
187 * coffread.c (is_import_fixup_symbol): New function.
188 (record_minimal_symbol): Use is_import_fixup_symbol to
189 detect import fixup symbols, and discard them.
190
8a0459fd
DE
1912013-03-28 Doug Evans <[email protected]>
192
0349ea22
DE
193 * dwarf2read.c (create_debug_types_hash_table): Don't allocate the
194 types hash table until we know we need it.
195
f652bce2
DE
196 * dwarf2read.c (create_addrmap_from_index): Complain about bad CU
197 index numbers.
198
e4a48d9d
DE
199 * dwarf2read.c (dw2_get_file_names): Delete arg "objfile".
200 All callers updated.
201 (dw2_print_stats): Print #read CUs too.
202 (dump_die_shallow): Print signatured types better.
203
8a0459fd
DE
204 * dwarf2read.c (struct dwarf2_per_cu_data): Rename member
205 info_or_types_section to section. All uses updated.
206 (struct dwo_unit): Ditto.
207
bd3eecc3
PA
2082013-03-28 Pedro Alves <[email protected]>
209
210 * NEWS (New options): New section.
211 (New options): Mention set/show remote trace-status-packet.
212 * remote.c (PACKET_qTStatus): New enumeration value.
213 (remote_get_trace_status): Skip sending qTStatus if the packet is
214 disabled. Use packet_ok.
215 (_initialize_remote): Register a configuration command for
216 qTStatus packet.
217
41245087
DE
2182013-03-28 Doug Evans <[email protected]>
219
7edbb660
DE
220 * symfile.c (find_separate_debug_file): Add comment.
221 (terminate_after_last_dir_separator): Tweak comment.
222
0018ea6f
DE
223 * dwarf2read.c (create_partial_symtab): Add forward decl.
224 (create_partial_symtab): Move to be closer to other psymtab functions.
225 (process_psymtab_comp_unit_reader, process_psymtab_comp_unit): Ditto.
226
ca69b9e6
DE
227 * dwarf2read.c (dwarf2_physname): Move declaration to better spot.
228 (compute_symtab_includes): Remove unnecessary forward declaration.
229 (die_needs_namespace): Add comment marking group of functions for
230 dwarf2 name computation.
231
a9375afe
DE
232 * typeprint.c (_initialize_typeprint): Improve type help text.
233
41245087
DE
234 * python/python.c (finish_python_initialization): Provide suggestion
235 for how to tell gdb to find its python files.
236
7f7cc265
PA
2372013-03-28 Pedro Alves <[email protected]>
238
239 PR gdb/15294
240
241 * source.c (_initialize_source): Change back "set listsize" to an
242 integer command.
243
ec21308c
JK
2442013-03-27 Gareth McMullin <[email protected]>
245
246 PR gdb/15275
247 * remote.c (remote_get_trace_status): Include putpkt in TRY_CATCH.
248
840a9a1f
PA
2492013-03-27 Pedro Alves <[email protected]>
250
251 * top.c (history_size): Rename to ...
252 (history_size_setshow_var): ... this. Add comment.
253 (show_commands): Use readline's 'history_length' instead of
254 computing the history length by calling history_get in a loop.
255 (set_history_size_command): Error out for sizes over INT_MAX.
256 Restore previous history size on invalid size.
257 (init_history): If HISTSIZE is negative, leave the history size as
258 zero. Add comments.
259 (init_main): Adjust.
260
826ecc4d
PA
2612013-03-27 Pedro Alves <[email protected]>
262
263 * coff-pe-read.c (_initialize_coff_pe_read): Rename "set debug
264 coff_pe_read" command to "set debug coff-pe-read".
265
0ccfeeae
MM
2662013-03-27 Markus Metzger <[email protected]>
267
268 * record.c (command_size_to_target_size): Fix size comparison.
269 Change parameter type from pointer to integer to integer.
270 Update all users.
271
40653b35
PM
2722013-03-27 Pierre Muller <[email protected]>
273
274 * windows-nat.c (handle_output_debug_string): Avoid typecast
275 from integer of different size warning.
276
c62fa0e2
JB
2772013-03-26 Joel Brobecker <[email protected]>
278
279 * windows-nat.c (handle_output_debug_string): Add empty line
280 after local block variable definition.
281
2c619be2
PA
2822013-03-26 Pedro Alves <[email protected]>
283
284 * ser-tcp.c (wait_for_connect): Make 'polls' parameter unsigned.
285 (net_open): Make 'polls' local unsigned.
286
1b493192
PA
2872013-03-26 Pedro Alves <[email protected]>
288
289 * remote.c (_initialize_remote): Make "set remoteaddresssize"
290 a zuinteger command instead of uinteger.
291
7ee70bf5
PA
2922013-03-26 Pedro Alves <[email protected]>
293
294 * record-full.c (record_full_insn_num): Make it unsigned.
295 (record_full_check_insn_num, record_full_message)
296 (record_full_registers_change, record_full_xfer_partial): Remove
297 record_full_insn_max_num check (it's always != 0).
298 (record_full_info, record_full_restore): Use %u as format string.
299 (): Use %u as format string.
300 (set_record_full_insn_max_num): Remove record_full_insn_max_num
301 check (it's always != 0).
302
dfd1f9bb
PA
3032013-03-26 Pedro Alves <[email protected]>
304
305 * dcache.c (_initialize_dcache): Make the "set dcache line-size"
306 and "set dcache size" commands zuinteger instead of uinteger.
307
addb4faf
PA
3082013-03-26 Pedro Alves <[email protected]>
309
310 * cris-tdep.c (_initialize_cris_tdep): Make the "set cris-version"
311 command zuinteger instead of uinteger.
312
b75bf488
PA
3132013-03-26 Pedro Alves <[email protected]>
314
315 * coff-pe-read.c (_initialize_coff_pe_read): Make the command
316 zuinteger instead of uinteger.
317
42c634cb
PA
3182013-03-26 Pedro Alves <[email protected]>
319
320 * record.c (record_insn_history_size_setshow_var)
321 (record_call_history_size_setshow_var): New globals.
322 (command_size_to_target_size): New function.
323 (cmd_record_insn_history, cmd_record_call_history): Use
324 command_size_to_target_size instead of cast.
325 (validate_history_size, set_record_insn_history_size)
326 (set_record_call_history_size): New functions.
327 (_initialize_record): Install set_record_insn_history_size and
328 set_record_call_history_size as "set" hooks of "set record
329 instruction-history-size" and "set record
330 function-call-history-size".
331
1fb2e2b5
PA
3322013-03-26 Pedro Alves <[email protected]>
333
334 * top.c (gdb_rl_operate_and_get_next): Replace max_input_history
335 use with history_max_entries use. Remove FIXME note.
336
99c819ee
MM
3372013-03-26 Markus Metzger <[email protected]>
338
339 * record-btrace.c (record_btrace_close): Call
340 record_btrace_auto_disable.
341
9f9e404c
JB
3422013-03-25 Joel Brobecker <[email protected]>
343
344 * rs6000-nat.c (fixup_breakpoints): Delete declaration.
345
ebcdfe33
DE
3462013-03-25 Doug Evans <[email protected]>
347
348 * contrib/cc-with-tweaks.sh: Check exit code of dwp.
349
24955f63
TT
3502013-03-25 Tom Tromey <[email protected]>
351
352 PR symtab/11462:
353 * c-exp.y (exp): Add new productions for destructors after '.' and
354 '->'.
355 (write_destructor_name): New function.
356
fce632b6
TT
3572013-03-25 Tom Tromey <[email protected]>
358
359 PR c++/9197:
360 * opencl-lang.c (evaluate_subexp_opencl) <STRUCTOP_STRUCT>: Use
361 value_struct_elt, not lookup_struct_elt_type.
362 * eval.c (evaluate_subexp_standard) <STRUCTOP_STRUCT,
363 STRUCTOP_PTR>: Use value_struct_elt, not lookup_struct_elt_type.
364 * expression.h (EVAL_AVOID_SIDE_EFFECTS): Update comment.
365
a4341769
YQ
3662013-03-25 Yao Qi <[email protected]>
367
368 * ctf.c [USE_WIN32API]: Undef 'mkdir' and use 'mkdir'
369 instead of '_mkdir'.
370
b5981e5a
EZ
3712013-03-23 Eli Zaretskii <[email protected]>
372
373 * windows-nat.c (windows_get_absolute_argv0): New function.
374 * windows-nat.h: Add its prototype.
375
376 * main.c (get_init_files): Use filename_ncmp instead of strncmp.
377 Use IS_DIR_SEPARATOR instead of looking for a character inside
378 SLASH_STRING. Include filenames.h.
379 (captured_main) [__MINGW32__]: Make argv[0] absolute, so that
380 relocate_gdb_directory works when passed gdb_program_name.
381 Include windows-nat.h.
382
598d3636
JK
3832013-03-22 Jan Kratochvil <[email protected]>
384
385 * exceptions.h (enum errors): New entry TARGET_CLOSE_ERROR.
386 * remote.c (trace_error): Remove the special handling of '2'.
387 (readchar) <SERIAL_EOF>
388 (readchar) <SERIAL_ERROR>
389 (getpkt_or_notif_sane_1): Use TARGET_CLOSE_ERROR for them.
390 (remote_get_trace_status): Call throw_exception if EX is
391 TARGET_CLOSE_ERROR.
392 * utils.c (perror_with_name): Rename to ...
393 (throw_perror_with_name): ... here. New parameter errcode, describe it
394 in the function comment.
395 (perror_with_name): New function wrapper.
396 * utils.h (enum errors): New stub declaration.
397 (throw_perror_with_name): New declaration.
398
82b821e9
PA
3992013-03-22 Pedro Alves <[email protected]>
400 Yao Qi <[email protected]>
401 Mark Kettenis <[email protected]>
402
403 * cli/cli-setshow.c (do_set_command) <var_uinteger>:
404 Don't let the user set the value to UINT_MAX directly.
405 <var_integer>: Don't let the user set the value to INT_MAX
406 directly.
407
78a095c3
JK
4082013-03-22 Jan Kratochvil <[email protected]>
409
410 * remote.c (remote_unpush_target): New function.
411 (remote_open_1): Remove two pop_target calls, update one comment, add
412 comment to target_preopen call. Replace pop_target call by
413 remote_unpush_target call.
414 (interrupt_query, readchar, getpkt_or_notif_sane_1): Replace
415 pop_target calls by remote_unpush_target calls.
416
3e74e146
PA
4172013-03-22 Pedro Alves <[email protected]>
418
419 * linux-nat.c (linux_child_follow_fork): Don't call
420 linux_enable_event_reporting.
421 (linux_handle_extended_wait): Don't call
422 linux_enable_event_reporting.
423
a2213dca
PA
4242013-03-22 Pedro Alves <[email protected]>
425
426 * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Define INSN macro,
427 use it to rewrite the trampoline buffers with type gdb_byte[], and
428 undefine the macro. Remove char* cast.
429
bd712aed
DE
4302013-03-21 Doug Evans <[email protected]>
431
432 New commands "mt set per-command {space,time,symtab} {on,off}".
433 * NEWS: Add entry.
434 * event-top.c: #include "maint.h".
435 * main.c: #include "maint.h".
436 * maint.c: #include <sys/time.h>, <time.h>, block.h, top.h,
437 timeval-utils.h, maint.h, cli/cli-setshow.h.
438 (per_command_time, per_command_space): New static globals.
439 (per_command_symtab): New static global.
440 (per_command_setlist, per_command_showlist): New static globals.
441 (struct cmd_stats): Move here from utils.c.
442 (set_per_command_time): Renamed from set_display_time in utils.c
443 and moved here. All callers updated.
444 (set_per_command_space): Renamed from set_display_space in utils.c
445 and moved here. All callers updated.
446 (count_symtabs_and_blocks): New function.
447 (report_command_stats): Moved here from utils.c. Add support for
448 printing symtab stats. Only print data if enabled before command
449 executed.
450 (make_command_stats_cleanup): Ditto.
451 (sert_per_command_cmd, show_per_command_cmd): New functions.
452 (_initialize_maint_cmds): Add new commands
453 mt set per-command {space,time,symtab} {on,off}.
454 * maint.h: New file.
455 * top.c: #include "maint.h".
456 * utils.c (reset_prompt_for_continue_wait_time): New function.
457 (get_prompt_for_continue_wait_time): New function.
458 * utils.h (reset_prompt_for_continue_wait_time): Declare
459 (get_prompt_for_continue_wait_time): Declare.
460 (make_command_stats_cleanup): Moved to maint.h.
461 (set_display_time, set_display_space): Moved to maint.h and renamed
462 to set_per_command_time, set_per_command_space.
463 * cli/cli-setshow.c (parse_cli_boolean_value): Renamed from
464 parse_binary_operation and made non-static. Don't call error,
465 just return an error marker. All callers updated.
466 * cli/cli-setshow.h (parse_cli_boolean_value): Declare.
467
d76488d8
TT
4682013-03-21 Tom Tromey <[email protected]>
469
470 * symfile.c (alloc_section_addr_info): Update header. Don't set
471 'num_sections' field.
472 (build_section_addr_info_from_section_table): Set 'num_sections'.
473 (build_section_addr_info_from_bfd): Likewise.
474 (build_section_addr_info_from_objfile): Remove dead loop
475 condition.
476 (free_section_addr_info): Unconditionally call xfree.
477 (relative_addr_info_to_section_offsets, addrs_section_sort)
478 (addr_info_make_relative, syms_from_objfile_1): Remove dead loop
479 condition.
480 (syms_from_objfile_1): Remove dead 'if' condition. Check
481 'num_sections'.
482 (add_symbol_file_command): Set 'num_sections'.
483 * symfile-mem.c (symbol_file_add_from_memory): Set
484 'num_sections'.
485 * somread.c (som_symfile_offsets): Remove dead loop condition.
486 * machoread.c (macho_symfile_offsets): Remove dead 'if'.
487 * jit.c (jit_bfd_try_read_symtab): Set 'num_sections'.
488
a72e5169 4892013-03-21 Tom Tromey <[email protected]>
92bc6a20
TT
490
491 * tracepoint.h (decode_agent_options): Add 'trace_string'
492 argument.
493 * tracepoint.c (decode_agent_options): Add 'trace_string'
494 argument.
495 (validate_actionline): Update.
496 (collect_symbol): Add 'trace_string' argument.
497 (struct add_local_symbols_data) <trace_string>: New field.
498 (do_collect_symbol): Update.
499 (add_local_symbols): Add 'trace_string' argument.
500 (encode_actions_1): Update.
501 (trace_dump_actions): Update.
502 * dwarf2loc.c (access_memory): Update.
503 * ax.h (struct agent_expr) <tracing, trace_string>: New fields.
504 * ax-general.c (new_agent_expr): Update.
505 * ax-gdb.h (gen_trace_for_expr, gen_trace_for_var)
506 (gen_trace_for_return_address): Add argument.
507 (trace_kludge, trace_string_kludge): Remove.
508 * ax-gdb.c (trace_kludge, trace_string_kludge): Remove.
509 (gen_traced_pop, gen_fetch, gen_bitfield_ref, gen_expr): Update.
510 (gen_trace_for_var): Add 'trace_string' argument.
511 (gen_trace_for_expr, gen_trace_for_return_address): Likewise.
512 (gen_printf, agent_eval_command_one): Update.
513
b2f83c08
TT
5142013-03-21 Tom Tromey <[email protected]>
515
516 PR exp/15109:
517 * c-exp.y (yylex): Rewrite to push all tokens onto the FIFO.
518 Handle FILENAME token.
519
9507860e
TT
5202013-03-21 Tom Tromey <[email protected]>
521
522 * c-exp.y (YYPRINT): Define.
523 (c_print_token): New function.
524
e403aa4b
TT
5252013-03-21 Tom Tromey <[email protected]>
526
527 * c-exp.y (%union) <sym, ivar, ivec>: Remove.
528
af307d6a
YQ
5292013-03-21 Yao Qi <[email protected]>
530
531 * ctf.c: Include "gdb_stat.h".
532 [USE_WIN32API]: New macro 'mkdir'.
533 (ctf_start): Use permission bits macros if they are defined.
534
fb81d016
KS
5352013-03-20 Keith Seitz <[email protected]>
536
537 * breakpoint.h (struct breakpoint): Add comment to
538 extra_string indicating that this member is mallod'd.
539 * breakpoint.c (base_breakpoint_dtor): Free extra_string.
540
ef0026f0
PA
5412013-03-20 Pedro Alves <[email protected]>
542
543 PR gdb/15289
544
545 * cli/cli-setshow.c (do_set_command)
546 <var_uinteger, var_zuinteger>: Use LONGEST for variable holding
547 the result of parsing the command argument. Throw error if the
548 value is greater than UINT_MAX. Print the invalid value with
549 plongest.
550 <var_integer, var_zinteger>: Use LONGEST for variable holding the
551 result of parsing the command argument. Throw error if the value
552 is greater than INT_MAX, not greater or equal. Also throw error
553 if the value is less than INT_MIN. Print the invalid value with
554 plongest.
555 <var_zuinteger_unlimited>: Throw error if the value is greater
556 than INT_MAX, not greater or equal.
557 (do_show_command) <var_integer, var_zinteger,
558 var_zuinteger_unlimited>: Use %d for printing int, not %u.
559
24d6c2a0
TT
5602013-03-20 Tom Tromey <[email protected]>
561
562 * ax-gdb.c (gen_var_ref): Unconditionally call via computed ops,
563 if possible.
564 * dwarf2read.c (read_func_scope): Remove old FIXME.
565 * eval.c (evaluate_subexp_standard): Check SYMBOL_COMPUTED_OPS,
566 not LOC_COMPUTED.
567 * findvar.c (symbol_read_needs_frame, default_read_var_value):
568 Unconditionally call via computed ops, if possible.
569 * printcmd.c (address_info): Unconditionally call via computed ops,
570 if possible.
571 * stack.c (read_frame_arg): Unconditionally call via computed ops,
572 if possible.
573 * symtab.c (register_symbol_computed_impl): Sanity check 'ops'.
574 * tracepoint.c (scope_info): Unconditionally call via computed ops,
575 if possible.
576
f1e6e072
TT
5772013-03-20 Jan Kratochvil <[email protected]>
578 Tom Tromey <[email protected]>
579
580 PR symtab/8421:
581 * coffread.c (coff_register_index): New global.
582 (process_coff_symbol, coff_read_enum_type): Set
583 SYMBOL_ACLASS_INDEX.
584 (_initialize_coffread): Initialize new global.
585 * dwarf2loc.c (locexpr_find_frame_base_location)
586 (dwarf2_block_frame_base_locexpr_funcs)
587 (loclist_find_frame_base_location)
588 (dwarf2_block_frame_base_loclist_funcs): New.
589 (dwarf_expr_frame_base_1): Call SYMBOL_BLOCK_OPS, remove internal_error.
590 (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Add location_has_loclist.
591 * dwarf2loc.h (dwarf2_block_frame_base_locexpr_funcs)
592 (dwarf2_block_frame_base_loclist_funcs): New.
593 * dwarf2read.c (dwarf2_locexpr_index, dwarf2_loclist_index)
594 (dwarf2_locexpr_block_index, dwarf2_loclist_block_index): New
595 globals.
596 (read_func_scope): Update.
597 (fixup_go_packaging, mark_common_block_symbol_computed)
598 (var_decode_location, new_symbol_full, dwarf2_const_value):
599 Set SYMBOL_ACLASS_INDEX.
600 (dwarf2_symbol_mark_computed): Likewise. Add 'is_block' argument.
601 (_initialize_dwarf2_read): Initialize new globals.
602 * jit.c (finalize_symtab): Set SYMBOL_ACLASS_INDEX.
603 * jv-lang.c (add_class_symbol): Set SYMBOL_ACLASS_INDEX.
604 * mdebugread.c (mdebug_register_index, mdebug_regparm_index): New
605 globals.
606 (parse_symbol, psymtab_to_symtab_1): Set SYMBOL_ACLASS_INDEX.
607 (_initialize_mdebugread): Initialize new globals.
608 * psympriv.h (struct partial_symbol) <aclass>: Update comment.
609 * stabsread.c (patch_block_stabs): Set SYMBOL_ACLASS_INDEX.
610 (stab_register_index, stab_regparm_index): New globals.
611 (define_symbol, read_enum_type, common_block_end): Set
612 SYMBOL_ACLASS_INDEX.
613 (_initialize_stabsread): Initialize new globals.
614 * symtab.c (next_aclass_value, symbol_impl, symbol_impls): New
615 globals.
616 (MAX_SYMBOL_IMPLS): New define.
617 (register_symbol_computed_impl, register_symbol_block_impl)
618 (register_symbol_register_impl)
619 (initialize_ordinary_address_classes): New functions.
620 (_initialize_symtab): Call initialize_ordinary_address_classes.
621 * symtab.h (enum address_class) <LOC_FINAL_VALUE>: New constant.
622 (struct symbol_impl): New.
623 (SYMBOL_ACLASS_BITS): New define.
624 (struct symbol) <aclass, ops>: Remove fields.
625 <aclass_index>: New field.
626 (symbol_impls): Declare.
627 (SYMBOL_CLASS, SYMBOL_COMPUTED_OPS, SYMBOL_REGISTER_OPS): Redefine.
628 (SYMBOL_IMPL, SYMBOL_ACLASS_INDEX): New defines.
629 (register_symbol_computed_impl, register_symbol_block_impl)
630 (register_symbol_register_impl): Declare.
631 (struct symbol_computed_ops): Add location_has_loclist.
632 (struct symbol_block_ops): New.
633 (SYMBOL_BLOCK_OPS): New.
634 * xcoffread.c (process_xcoff_symbol): Set SYMBOL_ACLASS_INDEX.
635
dbccfd4c
TT
6362013-03-20 Tom Tromey <[email protected]>
637
638 * psymtab.c (find_pc_sect_psymbol, fixup_psymbol_section)
639 (print_partial_symbols, recursively_search_psymtabs): Use
640 PSYMBOL_CLASS.
641
e3f1ad4f
PM
6422013-03-20 Pierre Muller <[email protected]>
643
644 * contrib/ari/gdb_ari.sh (OP eol rule): Also check
645 addtion, subtraction, multiplication and division binary operator.
646
460014f5
JK
6472013-03-20 Jan Kratochvil <[email protected]>
648
649 Code cleanup.
650 * bfd-target.c (target_bfd_xclose): Remove parameter quitting.
651 * bsd-kvm.c (bsd_kvm_close): Likewise.
652 * bsd-uthread.c (bsd_uthread_close): Likewise.
653 * corelow.c (core_close): Likewise.
654 (core_close_cleanup): Remove parameter quitting from a caller.
655 * event-top.c (async_disconnect): Likewise.
656 * exec.c (exec_close_1): Remove parameter quitting.
657 * go32-nat.c (go32_close): Likewise.
658 * linux-nat.c (linux_nat_close): Remove parameter quitting. Remove
659 parameter quitting from a caller.
660 * mips-linux-nat.c (super_close): Remove parameter quitting from the
661 variable.
662 (mips_linux_close): Remove parameter quitting. Remove parameter
663 quitting from a caller.
664 * monitor.c (monitor_close): Remove parameter quitting.
665 * monitor.h (monitor_close): Likewise.
666 * record-btrace.c (record_btrace_close): Likewise.
667 * record-full.c (record_full_close): Likewise.
668 * remote-m32r-sdi.c (m32r_close): Remove parameter quitting and remove
669 it also from fprintf_unfiltered.
670 * remote-mips.c (mips_close): Remove parameter quitting.
671 (mips_detach): Remove parameter quitting from a caller.
672 * remote-sim.c (gdbsim_close): Remove parameter quitting.
673 (gdbsim_close): Remove duplicate function comment. Remove parameter
674 quitting and remove it also from printf_filtered.
675 * remote.c (remote_close): Remove parameter quitting.
676 * solib-svr4.c (enable_break): Remove parameter quitting from a caller.
677 * target.c (update_current_target): Remove parameter int from to_close
678 de_fault.
679 (push_target, unpush_target, pop_target): Remove parameter quitting from
680 a caller.
681 (pop_all_targets_above, pop_all_targets): Remove parameter quitting.
682 Remove parameter quitting from a caller.
683 (target_preopen): Remove parameter quitting from a caller.
684 (target_close): Remove parameter quitting. Remove parameter quitting
685 from a caller two times. Remove parameter quitting also from
686 fprintf_unfiltered.
687 * target.h (struct target_ops): Remove parameter quitting and as int
688 from fields to_xclose and to_close.
689 (extern struct target_ops current_target):
690 (target_close, pop_all_targets): Remove parameter quitting. Update the
691 comment.
692 (pop_all_targets_above): Remove parameter quitting.
693 * top.c (quit_target): Remove parameter quitting from a caller.
694 * tracepoint.c (tfile_close): Remove parameter quitting.
695 * windows-nat.c (windows_close): Remove parameter quitting.
696
35a7120b
CV
6972013-03-20 Corinna Vinschen <[email protected]>
698
699 * windows-nat.c (handle_output_debug_string): Replace call
700 to string_to_core_addr with call to strtoull.
701
8249a5a9
YQ
7022013-03-20 Yao Qi <[email protected]>
703
704 * ctf.c (ctf_save_metadata_header): Define macro HOST_ENDIANNESS
705 and write it to CTF metadata.
706
2c15ef43
CV
7072013-03-19 Corinna Vinschen <[email protected]>
708
709 * windows-nat.c (handle_output_debug_string): Change type of n to
710 SIZE_T to avoid crash on 64 bit systems.
711
1cdd3232
EZ
7122013-03-17 Eli Zaretskii <[email protected]>
713
714 * python/python-internal.h (HAVE_SNPRINTF)
715 [_WIN32 && HAVE_DECL_SNPRINTF]: Define, to avoid compiler warnings
716 about redefinition of snprintf by pyerrors.h.
717
3cb2ab1a
SE
7182013-03-15 Steve Ellcey <[email protected]>
719
720 * remote-sim.c (sim_command_completer): Make char arguments const.
721
9ce98649
TT
7222013-03-15 Tom Tromey <[email protected]>
723
724 PR c++/15116:
725 * gdbtypes.c (types_equal): Handle TYPE_CODE_FUNC.
726
dccee2de
TT
7272013-03-14 Tom Tromey <[email protected]>
728
729 * gdb_bfd.c (struct gdb_bfd_data) <crc_computed, crc>:
730 New fields.
731 (get_file_crc): Move from symfile.c.
732 (gdb_bfd_crc): New function.
733 * gdb_bfd.h (gdb_bfd_crc): Declare.
734 * objfiles.h (struct objfile) <crc32, crc32_p>: Remove.
735 * symfile.c (get_file_crc): Move to gdb_bfd.c.
736 (separate_debug_file_exists): Use gdb_bfd_crc.
737
cc0ea93c
TT
7382013-03-14 Tom Tromey <[email protected]>
739
740 * symfile.c (get_debug_link_info): Remove.
741 (find_separate_debug_file_by_debuglink): Use
742 bfd_get_debug_link_info.
743
08c23b0d
TT
7442013-03-14 Tom Tromey <[email protected]>
745
746 * symtab.c (error_in_psymtab_expansion): New function.
747 (lookup_symbol_aux_quick)
748 (basic_lookup_transparent_type_quick): Remove "last resort"
749 code. Use error_in_psymtab_expansion.
750
288e77a7
JK
7512013-03-14 Doug Evans <[email protected]>
752 Jan Kratochvil <[email protected]>
753
754 * dwarf2read.c (dw2_map_symtabs_matching_filename): Put continue after
755 any successful compare_filenames_for_search or FILENAME_CMP.
756 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
757 * symtab.c (iterate_over_some_symtabs): Likewise.
758
8f1b8b82
JK
7592013-03-14 Jan Kratochvil <[email protected]>
760
761 * source.c (print_source_lines_base): Make a local copy of
762 symtab_to_fullname.
763
23eb71e4
JK
7642013-03-14 Hui Zhu <[email protected]>
765 Jan Kratochvil <[email protected]>
766
767 * source.c (print_source_lines_base): Suppress "file" for TUI.
768
bb869963
SDJ
7692013-03-14 Keith Seitz <[email protected]>
770 Alan Matsuoka <[email protected]>
771
772 PR c++/15203
773 PR c++/15210
774 * cp-namespace.c (cp_lookup_nested_symbol): Handle TYPE_CODE_FUNC and
775 TYPE_CODE_METHOD.
776 * elfread.c (elf_symtab_read): Handle BSF_GNU_UNIQUE for certain
777 symbols.
778
d6682f9e
YQ
7792013-03-14 Yao Qi <[email protected]>
780
781 * tracepoint.c (tfile_write_status): Write 'stop_desc' of trace
782 status to tfile if trace is stopped by command 'tstop'.
783
a22fa6e4
YQ
7842013-03-14 Yao Qi <[email protected]>
785
786 * tracepoint.c (tfile_write_status): Write trace notes and user
787 name into tfile if they are not NULL.
788
d0353e76
YQ
7892013-03-14 Hui Zhu <[email protected]>
790 Yao Qi <[email protected]>
791
792 * Makefile.in (REMOTE_OBS): Add ctf.o.
793 (SFILES): Add ctf.c.
794 (HFILES_NO_SRCDIR): Add ctf.h.
795 * ctf.c, ctf.h: New files.
796 * tracepoint.c: Include 'ctf.h'.
797 (collect_pseudocommand): Remove static.
798 (trace_save_command): Parse option "-ctf".
799 Produce different trace file writers per option.
800 Adjust output message.
801 (trace_save_tfile, trace_save_ctf): New.
802 * tracepoint.h (trace_save_tfile, trace_save_ctf): Declare.
803 * mi/mi-main.c: Include 'ctf.h'.
804 (mi_cmd_trace_save): Handle option '-ctf'. Call either
805 trace_save_tfile or trace_save_ctf.
806 * NEWS: Mention these changes.
807
3f43bc09
YQ
8082013-03-14 Yao Qi <[email protected]>
809
810 * tracepoint.c (trace_file_writer_xfree): New.
811 (struct tfile_writer_data): New.
812 (tfile_dtor, tfile_can_target_save, tfile_start): New.
813 (tfile_write_header, tfile_write_regblock_type): New.
814 (tfile_write_status, tfile_write_uploaded_tsv): New.
815 (tfile_write_uploaded_tp, tfile_write_definition_end): New.
816 (tfile_write_raw_data, (tfile_end): New.
817 (tfile_write_ops): New global variable.
818 (TRACE_WRITE_R_BLOCK): New macro.
819 (TRACE_WRITE_M_BLOCK_HEADER): New macro.
820 (TRACE_WRITE_M_BLOCK_MEMORY): New macro.
821 (TRACE_WRITE_V_BLOCK): New macro.
822 (trace_save): Add extra one parameter WRITER. Make it static.
823 Use WRITER to writer trace.
824 (tfile_trace_file_writer_new): New.
825 (trace_save_command): Caller update.
826 (trace_save_tfile): Write trace data in TFILE format.
827 * tracepoint.h (struct trace_frame_write_ops): New.
828 (struct trace_file_write_ops): New.
829 (struct trace_file_writer): New.
830 (trace_save): Remove its declaration.
831 (trace_save_tfile): Declare it.
832 * mi/mi-main.c (mi_cmd_trace_save): Call trace_save_tfile
833 instead of trace_save.
834
58665b40
PA
8352013-03-13 Pedro Alves <[email protected]>
836
837 * hppa-hpux-nat.c (hppa_hpux_save_state_offset): Make static.
838
10217050
PA
8392013-03-13 Pedro Alves <[email protected]>
840
841 * dbxread.c (read_ofile_symtab, process_one_symbol): Remove
842 commented out code.
843 * demangle.c (current_demangling_style_string): Make it const.
844 (set_demangling_command): Assert the demangling style is known.
845 Remove all handling of unknown styles. Set
846 'current_demangling_style_string' to an element of the
847 demangling_style_names array.
848 (set_demangling_style): Delete.
849 (_initialize_demangler): Set current_demangling_style_string to the
850 element of the demangling_style_names array that corresponds to
851 the default demangling style. Remove FIXME note. Don't call
852 set_demangling_style.
853 * gdb-demangle.h (set_demangling_style): Remove declaration.
854
6f937416
PA
8552013-03-13 Pedro Alves <[email protected]>
856
857 * ada-lang.c (struct add_partial_datum) <text, text0, word>: Make
858 fields const.
859 (ada_make_symbol_completion_list): Make "text0" parameter const.
860 * ax-gdb.c (agent_eval_command_one): Make "exp" parameter const.
861 * breakpoint.c (condition_completer): Make "text" and "word"
862 parameters const. Adjust.
863 (check_tracepoint_command): Adjust to validate_actionline
864 prototype change.
865 (catch_syscall_completer): Make "text" and "word" parameters
866 const.
867 * cli/cli-cmds.c (show_user): Make "comname" local const.
868 (valid_command_p): Make "command" parameter const.
869 (alias_command): Make "alias_prefix" and "command_prefix" locals
870 const.
871 * cli/cli-decode.c (add_cmd): Make "name" parameter const.
872 (add_alias_cmd): Make "name" and "oldname" parameters const.
873 Adjust. No longer make copy of OLDNAME.
874 (add_prefix_cmd, add_abbrev_prefix_cmd, add_set_or_show_cmd)
875 (add_setshow_cmd_full, add_setshow_enum_cmd)
876 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
877 (add_setshow_filename_cmd, add_setshow_string_cmd)
878 (add_setshow_string_noescape_cmd)
879 (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
880 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
881 (add_setshow_zuinteger_unlimited_cmd, add_setshow_zuinteger_cmd)
882 (delete_cmd, add_info, add_info_alias, add_com, add_com_alias):
883 Make "name" parameter const.
884 (help_cmd): Rename "command" parameter to "arg". New const local
885 "command".
886 (find_cmd): Make "command" parameter const.
887 (lookup_cmd_1): Make "text" parameter pointer to const. Adjust to
888 deprecated_cmd_warning prototype change.
889 (undef_cmd_error): Make "cmdtype" parameter const.
890 (lookup_cmd): Make "line" parameter const.
891 (deprecated_cmd_warning): Change type of "text" parameter to
892 pointer to const char, from pointer to pointer to char. Adjust.
893 (lookup_cmd_composition): Make "text" parameter const.
894 (complete_on_cmdlist, complete_on_enum): Make "text" and "word"
895 parameters const.
896 * cli/cli-decode.h (struct cmd_list_element) <name>: Make field
897 const.
898 * cli/cli-script.c (validate_comname): Make "tem" local const.
899 (define_command): New const local "tem_c". Use it in calls to
900 lookup_cmd.
901 (document_command): Make "tem" and "comfull" locals const.
902 (show_user_1): Make "prefix" and "name" parameters const.
903 * cli-script.h (show_user_1): Make "prefix" and "name" parameters
904 const.
905 * command.h (add_cmd, add_alias_cmd, add_prefix_cmd)
906 (add_abbrev_prefix_cmd, completer_ftype, lookup_cmd, lookup_cmd_1)
907 (deprecated_cmd_warning, lookup_cmd_composition, add_com)
908 (add_com_alias, add_info, add_info_alias, complete_on_cmdlist)
909 (complete_on_enum, add_setshow_enum_cmd)
910 (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd)
911 (add_setshow_filename_cmd, add_setshow_string_cmd)
912 (add_setshow_string_noescape_cmd)
913 (add_setshow_optional_filename_cmd, add_setshow_integer_cmd)
914 (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd)
915 (add_setshow_zuinteger_cmd, add_setshow_zuinteger_unlimited_cmd):
916 Change prototypes, constifying strings.
917 * completer.c (noop_completer, filename_completer): Make "text"
918 and "prefix" parameters const.
919 (location_completer, expression_completer)
920 (complete_line_internal): Make "text" and "prefix" parameters
921 const and adjust.
922 (command_completer, signal_completer): Make "text" and "prefix"
923 parameters const.
924 * completer.h (noop_completer, filename_completer)
925 (expression_completer, location_completer, command_completer)
926 (signal_completer): Change prototypes.
927 * corefile.c (complete_set_gnutarget): Make "text" and "word"
928 parameters const.
929 * cp-abi.c (cp_abi_completer): Likewise.
930 * expression.h (parse_expression_for_completion): Change
931 prototype.
932 * f-lang.c (f_make_symbol_completion_list): Make "text" and "word"
933 parameters const.
934 * infcmd.c (_initialize_infcmd): Make "cmd_name" local const.
935 * infrun.c (handle_completer): Make "text" and "word" parameters
936 const.
937 * interps.c (interpreter_completer): Make "text" and "word"
938 parameters const.
939 * language.h (struct language_defn)
940 <la_make_symbol_completion_list>: Make "text" and "word"
941 parameters const.
942 * parse.c (parse_exp_1): Move const hack to parse_exp_in_context.
943 (parse_exp_in_context): Rename to ...
944 (parse_exp_in_context_1): ... this.
945 (parse_exp_in_context): Reimplement, with const hack from
946 parse_exp_1.
947 (parse_expression_for_completion): Make "string" parameter const.
948 * printcmd.c (decode_format): Make "string_ptr" parameter pointer
949 to pointer to const char. Adjust.
950 (print_command_1): Make "exp" parameter const.
951 (output_command): Rename to ...
952 (output_command_const): ... this. Make "exp" parameter const.
953 (output_command): Reimplement.
954 (x_command): Adjust.
955 (display_command): Rename "exp" parameter to "arg". New "exp"
956 local, const version of "arg".
957 * python/py-auto-load.c (gdbpy_initialize_auto_load): Make
958 "cmd_name" local const.
959 * python/py-cmd.c (cmdpy_destroyer): Cast const away in xfree
960 call.
961 (cmdpy_completer): Make "text" and "word" parameters const.
962 (gdbpy_parse_command_name): Make "prefix_text2" local const.
963 * python/py-param.c (add_setshow_generic): Make "tmp_name" local
964 const.
965 * remote.c (_initialize_remote): Make "cmd_name" local const.
966 * symtab.c (language_search_unquoted_string): Make "text" and "p"
967 parameters const. Adjust.
968 (completion_list_add_fields): Make "sym_text", "text" and "word"
969 parameters const.
970 (struct add_name_data) <sym_text, text, word>: Make fields const.
971 (default_make_symbol_completion_list_break_on): Make "text" and
972 "word" parameters const. Adjust locals.
973 (default_make_symbol_completion_list)
974 (make_symbol_completion_list, make_symbol_completion_type)
975 (make_symbol_completion_list_fn): Make "text" and "word"
976 parameters const.
977 (make_file_symbol_completion_list): Make "text", "word" and
978 "srcfile" parameters const. Adjust locals.
979 (add_filename_to_list): Make "text" and "word" parameters const.
980 (struct add_partial_filename_data) <text, word>: Make fields
981 const.
982 (make_source_files_completion_list): Make "text" and "word"
983 parameters const.
984 * symtab.h (default_make_symbol_completion_list_break_on)
985 (default_make_symbol_completion_list, make_symbol_completion_list)
986 (make_symbol_completion_type enum type_code)
987 (make_symbol_completion_list_fn make_file_symbol_completion_list)
988 (make_source_files_completion_list): Change prototype.
989 * top.c (execute_command): Adjust to pass pointer to pointer to
990 const char to lookup_cmd, and to deprecated_cmd_warning prototype
991 change.
992 (set_verbose): Make "cmdname" local const.
993 * tracepoint.c (decode_agent_options): Make "exp" parameter const,
994 and adjust.
995 (validate_actionline): Make "line" parameter a pointer to const
996 char, and adjust.
997 (encode_actions_1): Make "action_exp" local const, and adjust.
998 (encode_actions): Adjust.
999 (replace_comma): Delete.
1000 (trace_dump_actions): Make "action_exp" and "next_comma" locals
1001 const, and adjust. Don't frob the action string while splitting
1002 it at commas. Instead, make a copy of each split substring in
1003 turn.
1004 (trace_dump_command): Adjust to validate_actionline prototype
1005 change.
1006 * tracepoint.h (decode_agent_options, decode_agent_options)
1007 (encode_actions, validate_actionline): Change prototypes.
1008 * valprint.h (output_command): Delete declaration.
1009 (output_command_const): Declare.
1010 * value.c (function_destroyer): Cast const away in xfree call.
1011
a0bcdaa7
PA
10122013-03-13 Pedro Alves <[email protected]>
1013
1014 * ada-lang.c (ada_decode_symbol): Cast away constness of GSYMBOL
1015 rather than casting 'const char * const *' to 'const char **'.
1016 * ada-lex.l (processInt): Make "trailer" local const. Remove
1017 'const char **' cast.
1018 * arm-linux-tdep.c (arm_stap_parse_special_token): Add 'char *'
1019 locals, and use those as strtol output pointer, instead than doing
1020 invalid casts to from 'const char **' to 'char **'.
1021 (_initialize_demangle): Remove cast.
1022 * i386-tdep.c (i386_stap_parse_special_token): : Add 'char *'
1023 locals, and use those as strtol output pointer, instead than doing
1024 invalid casts to from 'const char **' to 'char **'.
1025 * solib-dsbt.c (dsbt_get_initial_loadmaps): Remove 'gdb_byte**'
1026 casts.
1027 * stap-probe.c (stap_parse_register_operand)
1028 (stap_parse_single_operand): Likewise.
1029
8ddb1965
YQ
10302013-03-13 Yao Qi <[email protected]>
1031
1032 * tracepoint.c (tfile_get_trace_state_variable_value): Look for
1033 the last matched 'V' blcok in trace frame.
1034
2d450646
JB
10352013-03-12 Joel Brobecker <[email protected]>
1036
1037 * NEWS: Create a new section for the next release branch.
1038 Rename the section of the current branch, now that it has
1039 been cut.
1040
b4b79973 10412013-03-12 Joel Brobecker <[email protected]>
1042
1043 GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC)
1044 * version.in: Bump version to 7.6.50.20130312-cvs.
1045
ee047554
KS
10462013-03-12 Keith Seitz <[email protected]>
1047
1048 * mi/mi-cmds.h (mi_execute_command): Make "cmd" const.
1049 * mi/mi-interp.c (mi_interpreter_exec): Make "command" const.
1050 Remove temporary copy of input string.
1051 (mi_execute_command_wrapper): Make "cmd" const.
1052 * mi/mi-main.c (mi_execute_command): Make "string_ptr" const.
1053 * mi/mi-parse.c (mi_parse_argv): Make "args" const.
1054 Use const strings.
1055 (mi_parse): Make "cmd" const.
1056 Use const strings.
1057 * mi/mi-parse.h (mi_parse): Make "cmd" const.
1058
bbc13ae3
KS
10592013-03-12 Keith Seitz <[email protected]>
1060
1061 * ada-lang.c (ada_read_renaming_var_value): Pass const
1062 pointer to expression string to parse_exp_1.
1063 (create_excep_cond_exprs): Likewise.
1064 * ax-gdb.c (agent_eval_command_one): Likewise.
1065 (maint_agent_printf_command): Likewise.
1066 Constify much of the string handling/parsing.
1067 * breakpoint.c (set_breakpoint_condition): Pass const
1068 pointer to expression string to parse_exp_1.
1069 (update_watchpoint): Likewise.
1070 (parse_cmd_to_aexpr): Constify string handling.
1071 Pass const pointer to parse_exp_1.
1072 (init_breakpoint_sal): Pass const pointer to parse_exp_1.
1073 (find_condition_and_thread): Likewise.
1074 Make TOK const.
1075 (watch_command_1): Make "arg" const.
1076 Constify string handling.
1077 Copy the expression string instead of changing the input
1078 string.
1079 (update_breakpoint_location): Pass const pointer to
1080 parse_exp_1.
1081 * eval.c (parse_and_eval_address): Make "exp" const.
1082 (parse_to_comma_and_eval): Make "expp" const.
1083 (parse_and_eval): Make "exp" const.
1084 * expression.h (parse_expression): Make argument const.
1085 (parse_exp_1): Make first argument const.
1086 * findcmd.c (parse_find_args): Treat "args" as const.
1087 * linespec.c (parse_linespec): Pass const pointer to
1088 linespec_expression_to_pc.
1089 (linespec_expression_to_pc): Make "exp_ptr" const.
1090 * parse.c (parse_exp_1): Make "stringptr" const.
1091 Make a copy of the expression to pass to parse_exp_in_context until
1092 this whole interface can be constified.
1093 (parse_expression): Make "string" const.
1094 * printcmd.c (ui_printf): Treat "arg" as const.
1095 Handle const strings.
1096 * tracepoint.c (validate_actionline): Pass const pointer to
1097 all calls to parse_exp_1.
1098 (encode_actions_1): Likewise.
1099 * value.h (parse_to_comma_and_eval): Make argument const.
1100 (parse_and_eval_address): Likewise.
1101 (parse_and_eval): Likewise.
1102 * varobj.c (varobj_create): Pass const pointer to parse_exp_1.
1103 (varobj_set_value): Likewise.
1104 * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and
1105 constify string handling.
1106 Pass const pointers to parse_and_eval_address and
1107 parse_to_comman_and_eval.
1108 * cli/cli-utils.c (skip_to_space): Rename to ...
1109 (skip_to_space_const): ... this. Handle const strings.
1110 * cli/cli-utils.h (skip_to_space): Turn into macro which invokes
1111 skip_to_space_const.
1112 (skip_to_space_const): Declare.
1113 * common/format.c (parse_format_string): Make "arg" const.
1114 Handle const strings.
1115 * common/format.h (parse_format_string): Make "arg" const.
1116 * gdbserver/ax.c (ax_printf): Make "format" const.
1117 * python/python.c (gdbpy_parse_and_eval): Do not make a copy
1118 of the expression string.
1119
f3cec7e6
HZ
11202013-03-12 Hui Zhu <[email protected]>
1121
1122 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message.
1123
9df7235c
HZ
11242013-03-12 Yao Qi <[email protected]>
1125 Hui Zhu <[email protected]>
1126
1127 * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert.
1128 (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and
1129 DW_OP_deref_size.
1130
82d049ab
PH
11312013-03-12 Paul Hilfinger <[email protected]>
1132
1133 * ada-lex.l (rules): Only recognize 'thread' as a
1134 delimiter when followed by numerals, as for c-exp.y.
1135 Use new rewind_to_char function to rewind the input for
1136 expression-delimiting tokens.
1137 (rewind_to_char): New function.
1138
8c1fb155
JK
11392013-03-11 Pedro Alves <[email protected]>
1140 Jan Kratochvil <[email protected]>
1141
1142 * configure: Regenerate.
1143 * configure.ac (check dynamic export flag): Link python test with
1144 $PYTHON_LIBS.
1145
cc81e1c6
DE
11462013-03-11 Doug Evans <[email protected]>
1147 Keith Seitz <[email protected]>
1148
1149 * linespec.c (find_linespec_symbols): Call find_function_symbols
1150 first, and then call lookup_prefix_sym/find_method.
1151
39086a0e
PA
11522013-03-11 Pedro Alves <[email protected]>
1153
1154 * charset.c (convert_between_encodings): Don't cast between
1155 different pointer to pointer types. Instead, make the 'inp' local
1156 be of the type iconv expects.
1157 (wchar_iterate): Don't cast between different pointer to pointer
1158 types. Instead, use new pointer local of the type iconv expects.
1159 * target.c (target_read_stralloc, target_fileio_read_stralloc):
1160 Add new local of type char pointer, and use it to get a
1161 char/string view of the byte buffer, instead of casting between
1162 pointer to pointer types.
1163
90585175
HAQ
11642013-03-11 Hafiz Abid Qadeer <[email protected]>
1165
1166 * remote.c (remote_set_trace_buffer_size): Move != operator
1167 to the start of next line to fix an ARI warning.
1168
59ea5688
MM
11692013-03-11 Markus Metzger <[email protected]>
1170
1171 * NEWS: Add record changes.
1172
946287b7
MM
11732013-03-11 Markus Metzger <[email protected]>
1174
1175 * record-btrace.c (btrace_insn_history): Omit the pc prefix in
1176 the instruction history disassembly.
1177 * disasm.c (dump_insns): Omit the pc prefix, if requested.
1178 * disasm.h (DISASSEMBLY_OMIT_PC): New.
1179
afedecd3
MM
11802013-03-11 Markus Metzger <[email protected]>
1181
1182 * Makefile.in (SFILES): Add record-btrace.c
1183 (COMMON_OBS): Add record-btrace.o
1184 * record-btrace.c: New.
1185 * objfiles.c: Include btrace.h.
1186 (free_objfile): call btrace_free_objfile.
1187
15984c13
MM
11882013-03-11 Markus Metzger <[email protected]>
1189
1190 * target.c (target_call_history, target_call_history_from,
1191 target_call_history_range): New.
1192 * target.h (target_ops) <to_call_history, to_call_history_from,
1193 to_call_history_range>: New fields.
1194 (target_call_history, target_call_history_from,
1195 target_call_history_range): New declaration.
1196 * record.c (get_call_history_modifiers, cmd_record_call_history,
1197 record_call_history_size): New.
1198 (_initialize_record): Add the "record function-call-history" command.
1199 Add "set/show record function-call-history-size" commands.
1200 * record.h (record_print_flag): New.
1201
67c86d06
MM
12022013-03-11 Markus Metzger <[email protected]>
1203
1204 * target.h (target_ops) <to_insn_history, to_insn_history_from,
1205 to_insn_history_range>: New fields.
1206 (target_insn_history): New.
1207 (target_insn_history_from): New.
1208 (target_insn_history_range): New.
1209 * target.c (target_insn_history): New.
1210 (target_insn_history_from): New.
1211 (target_insn_history_range): New.
1212 * record.c: Include cli/cli-utils.h, disasm.h, ctype.h.
1213 (record_insn_history_size): New.
1214 (get_insn_number): New.
1215 (get_context_size): New.
1216 (no_chunk): New.
1217 (get_insn_history_modifiers): New.
1218 (cmd_record_insn_history): New.
1219 (_initialize_record): Add "set/show record instruction-history-size"
1220 command. Add "record instruction-history" command.
1221
7c1687a9
MM
12222013-03-11 Markus Metzger <[email protected]>
1223
1224 * record.h (record_disconnect): New.
1225 (record_detach): New.
1226 (record_mourn_inferior): New.
1227 (record_kill): New.
1228 * record-full.c (record_disconnect, record_detach,
1229 record_mourn_inferior, record_kill): Move to...
1230 * record.c: ...here.
1231 (DEBUG): New.
1232 (record_stop): New.
1233 (record_unpush): New.
1234 (cmd_record_stop): Call record_stop. Replace unpush_target
1235 call with record_unpush call.
1236 (record_disconnect, record_detach): Assert that the target
1237 is of record stratum. Call record_unpush, record_stop, and
1238 DEBUG.
1239 (record_mourn_inferior, record_kill): Assert that the target
1240 is of record stratum. Call record_unpush and DEBUG.
1241
25ea693b
MM
12422013-03-11 Markus Metzger <[email protected]>
1243
1244 * record-full.h, record-full.c (record_memory_query): Rename
1245 to ...
1246 (record_full_memory_query): ...this. Update all users.
1247 (record_arch_list_add_reg): Rename to ...
1248 (record_full_arch_list_add_reg): ...this. Update all users.
1249 (record_arch_list_add_mem): Rename to ...
1250 (record_full_arch_list_add_mem): ...this. Update all users.
1251 (record_arch_list_add_end): Rename to ...
1252 (record_full_arch_list_add_end): ...this. Update all users.
1253 (record_gdb_operation_disable_set): Rename to ...
1254 (record_full_gdb_operation_disable_set): ...this.
1255 Update all users.
1256
88d1aa9d
MM
12572013-03-11 Markus Metzger <[email protected]>
1258
1259 * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ...
1260 (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users.
1261 (RECORD_IS_REPLAY): Renamed to ...
1262 (RECORD_FULL_IS_REPLAY): ... this. Updated all users.
1263 (RECORD_FILE_MAGIC): Renamed to ...
1264 (RECORD_FULL_FILE_MAGIC): ... this. Updated all users.
1265 (record_mem_entry): Renamed to ...
1266 (record_full_mem_entry): ... this. Updated all users.
1267 (record_reg_entry): Renamed to ...
1268 (record_full_reg_entry): ... this. Updated all users.
1269 (record_end_entry): Renamed to ...
1270 (record_full_end_entry): ... this. Updated all users.
1271 (record_type) <record_end, record_reg, record_mem>: Renamed
1272 to ...
1273 (record_full_type) <record_full_end, record_full_reg,
1274 record_full_mem>: ... this. Updated all users.
1275 (record_entry): Renamed to ...
1276 (record_full_entry): ... this. Updated all users.
1277 (record_core_buf_entry): Renamed to ...
1278 (record_full_core_buf_entry): ... this. Updated all users.
1279 (record_core_regbuf): Renamed to ...
1280 (record_full_core_regbuf): ... this. Updated all users.
1281 (record_core_start): Renamed to ...
1282 (record_full_core_start): ... this. Updated all users.
1283 (record_core_end): Renamed to ...
1284 (record_full_core_end): ... this. Updated all users.
1285 (record_core_buf_list): Renamed to ...
1286 (record_full_core_buf_list): ... this. Updated all users.
1287 (record_first): Renamed to ...
1288 (record_full_first): ... this. Updated all users.
1289 (record_list): Renamed to ...
1290 (record_full_list): ... this. Updated all users.
1291 (record_arch_list_head): Renamed to ...
1292 (record_full_arch_list_head): ... this. Updated all users.
1293 (record_arch_list_tail): Renamed to ...
1294 (record_full_arch_list_tail): ... this. Updated all users.
1295 (record_stop_at_limit): Renamed to ...
1296 (record_full_stop_at_limit): ... this. Updated all users.
1297 (record_insn_max_num): Renamed to ...
1298 (record_full_insn_max_num): ... this. Updated all users.
1299 (record_insn_num): Renamed to ...
1300 (record_full_insn_num): ... this. Updated all users.
1301 (record_insn_count): Renamed to ...
1302 (record_full_insn_count): ... this. Updated all users.
1303 (record_ops): Renamed to ...
1304 (record_full_ops): ... this. Updated all users.
1305 (record_core_ops): Renamed to ...
1306 (record_full_core_ops): ... this. Updated all users.
1307 (set_record_cmdlist): Renamed to ...
1308 (set_record_full_cmdlist): ... this. Updated all users.
1309 (show_record_cmdlist): Renamed to ...
1310 (show_record_full_cmdlist): ... this. Updated all users.
1311 (record_cmdlist): Renamed to ...
1312 (record_full_cmdlist): ... this. Updated all users.
1313 (record_beneath_to_resume_ops): Renamed to ...
1314 (record_full_beneath_to_resume_ops): ... this. Updated all users.
1315 (record_beneath_to_resume): Renamed to ...
1316 (record_full_beneath_to_resume): ... this. Updated all users.
1317 (record_beneath_to_wait_ops): Renamed to ...
1318 (record_full_beneath_to_wait_ops): ... this. Updated all users.
1319 (record_beneath_to_wait): Renamed to ...
1320 (record_full_beneath_to_wait): ... this. Updated all users.
1321 (record_beneath_to_store_registers_ops): Renamed to ...
1322 (record_full_beneath_to_store_registers_ops): ... this.
1323 Updated all users.
1324 (record_beneath_to_store_registers): Renamed to ...
1325 (record_full_beneath_to_store_registers): ... this.
1326 Updated all users.
1327 (record_beneath_to_xfer_partial_ops): Renamed to ...
1328 (record_full_beneath_to_xfer_partial_ops): ... this.
1329 Updated all users.
1330 (record_beneath_to_xfer_partial): Renamed to ...
1331 (record_full_beneath_to_xfer_partial): ... this.
1332 Updated all users.
1333 (record_beneath_to_insert_breakpoint): Renamed to ...
1334 (record_full_beneath_to_insert_breakpoint): ... this.
1335 Updated all users.
1336 (record_beneath_to_stopped_by_watchpoint): Renamed to ...
1337 (record_full_beneath_to_stopped_by_watchpoint): ... this.
1338 Updated all users.
1339 (record_beneath_to_stopped_data_address): Renamed to ...
1340 (record_full_beneath_to_stopped_data_address): ... this.
1341 Updated all users.
1342 (record_beneath_to_async): Renamed to ...
1343 (record_full_beneath_to_async): ... this. Updated all users.
1344 (record_goto_insn): Renamed to ...
1345 (record_full_goto_insn): ... this. Updated all users.
1346 (record_save): Renamed to ...
1347 (record_full_save): ... this. Updated all users.
1348 (record_reg_alloc): Renamed to ...
1349 (record_full_reg_alloc): ... this. Updated all users.
1350 (record_reg_release): Renamed to ...
1351 (record_full_reg_release): ... this. Updated all users.
1352 (record_mem_alloc): Renamed to ...
1353 (record_full_mem_alloc): ... this. Updated all users.
1354 (record_mem_release): Renamed to ...
1355 (record_full_mem_release): ... this. Updated all users.
1356 (record_end_alloc): Renamed to ...
1357 (record_full_end_alloc): ... this. Updated all users.
1358 (record_end_release): Renamed to ...
1359 (record_full_end_release): ... this. Updated all users.
1360 (record_entry_release): Renamed to ...
1361 (record_full_entry_release): ... this. Updated all users.
1362 (record_list_release): Renamed to ...
1363 (record_full_list_release): ... this. Updated all users.
1364 (record_list_release_following): Renamed to ...
1365 (record_full_list_release_following): ... this.
1366 Updated all users.
1367 (record_list_release_first): Renamed to ...
1368 (record_full_list_release_first): ... this. Updated all users.
1369 (record_arch_list_add): Renamed to ...
1370 (record_full_arch_list_add): ... this. Updated all users.
1371 (record_get_loc): Renamed to ...
1372 (record_full_get_loc): ... this. Updated all users.
1373 (record_check_insn_num): Renamed to ...
1374 (record_full_check_insn_num): ... this. Updated all users.
1375 (record_arch_list_cleanups): Renamed to ...
1376 (record_full_arch_list_cleanups): ... this. Updated all users.
1377 (record_message): Renamed to ...
1378 (record_full_message): ... this. Updated all users.
1379 (record_message_wrapper): Renamed to ...
1380 (record_full_message_wrapper): ... this. Updated all users.
1381 (record_message_wrapper_safe): Renamed to ...
1382 (record_full_message_wrapper_safe): ... this. Updated all users.
1383 (record_gdb_operation_disable): Renamed to ...
1384 (record_full_gdb_operation_disable): ... this. Updated all users.
1385 (record_hw_watchpoint): Renamed to ...
1386 (record_full_hw_watchpoint): ... this. Updated all users.
1387 (record_exec_insn): Renamed to ...
1388 (record_full_exec_insn): ... this. Updated all users.
1389 (record_restore): Renamed to ...
1390 (record_full_restore): ... this. Updated all users.
1391 (record_async_inferior_event_token): Renamed to ...
1392 (record_full_async_inferior_event_token): ... this.
1393 Updated all users.
1394 (record_async_inferior_event_handler): Renamed to ...
1395 (record_full_async_inferior_event_handler): ... this.
1396 Updated all users.
1397 (record_core_open_1): Renamed to ...
1398 (record_full_core_open_1): ... this. Updated all users.
1399 (record_open_1): Renamed to ...
1400 (record_full_open_1): ... this. Updated all users.
1401 (record_open): Renamed to ...
1402 (record_full_open): ... this. Updated all users.
1403 (record_close): Renamed to ...
1404 (record_full_close): ... this. Updated all users.
1405 (record_resume_step): Renamed to ...
1406 (record_full_resume_step): ... this. Updated all users.
1407 (record_resumed): Renamed to ...
1408 (record_full_resumed): ... this. Updated all users.
1409 (record_execution_dir): Renamed to ...
1410 (record_full_execution_dir): ... this. Updated all users.
1411 (record_resume): Renamed to ...
1412 (record_full_resume): ... this. Updated all users.
1413 (record_get_sig): Renamed to ...
1414 (record_full_get_sig): ... this. Updated all users.
1415 (record_sig_handler): Renamed to ...
1416 (record_full_sig_handler): ... this. Updated all users.
1417 (record_wait_cleanups): Renamed to ...
1418 (record_full_wait_cleanups): ... this. Updated all users.
1419 (record_wait_1): Renamed to ...
1420 (record_full_wait_1): ... this. Updated all users.
1421 (record_wait): Renamed to ...
1422 (record_full_wait): ... this. Updated all users.
1423 (record_stopped_by_watchpoint): Renamed to ...
1424 (record_full_stopped_by_watchpoint): ... this. Updated all users.
1425 (record_disconnect): Renamed to ...
1426 (record_full_disconnect): ... this. Updated all users.
1427 (record_detach): Renamed to ...
1428 (record_full_detach): ... this. Updated all users.
1429 (record_mourn_inferior): Renamed to ...
1430 (record_full_mourn_inferior): ... this. Updated all users.
1431 (record_kill): Renamed to ...
1432 (record_full_kill): ... this. Updated all users.
1433 (record_stopped_data_address): Renamed to ...
1434 (record_full_stopped_data_address): ... this. Updated all users.
1435 (record_registers_change): Renamed to ...
1436 (record_full_registers_change): ... this. Updated all users.
1437 (record_store_registers): Renamed to ...
1438 (record_full_store_registers): ... this. Updated all users.
1439 (record_xfer_partial): Renamed to ...
1440 (record_full_xfer_partial): ... this. Updated all users.
1441 (record_breakpoint): Renamed to ...
1442 (record_full_breakpoint): ... this. Updated all users.
1443 (record_breakpoint_p): Renamed to ...
1444 (record_full_breakpoint_p): ... this. Updated all users.
1445 (record_breakpoints): Renamed to ...
1446 (record_full_breakpoints): ... this. Updated all users.
1447 (record_sync_record_breakpoints): Renamed to ...
1448 (record_full_sync_record_breakpoints): ... this.
1449 Updated all users.
1450 (record_init_record_breakpoints): Renamed to ...
1451 (record_full_init_record_breakpoints): ... this.
1452 Updated all users.
1453 (record_insert_breakpoint): Renamed to ...
1454 (record_full_insert_breakpoint): ... this. Updated all users.
1455 (record_remove_breakpoint): Renamed to ...
1456 (record_full_remove_breakpoint): ... this. Updated all users.
1457 (record_can_execute_reverse): Renamed to ...
1458 (record_full_can_execute_reverse): ... this. Updated all users.
1459 (record_get_bookmark): Renamed to ...
1460 (record_full_get_bookmark): ... this. Updated all users.
1461 (record_goto_bookmark): Renamed to ...
1462 (record_full_goto_bookmark): ... this. Updated all users.
1463 (record_async): Renamed to ...
1464 (record_full_async): ... this. Updated all users.
1465 (record_can_async_p): Renamed to ...
1466 (record_full_can_async_p): ... this. Updated all users.
1467 (record_is_async_p): Renamed to ...
1468 (record_full_is_async_p): ... this. Updated all users.
1469 (record_execution_direction): Renamed to ...
1470 (record_full_execution_direction): ... this. Updated all users.
1471 (record_info): Renamed to ...
1472 (record_full_info): ... this. Updated all users.
1473 (record_delete): Renamed to ...
1474 (record_full_delete): ... this. Updated all users.
1475 (record_is_replaying): Renamed to ...
1476 (record_full_is_replaying): ... this. Updated all users.
1477 (record_goto_entry): Renamed to ...
1478 (record_full_goto_entry): ... this. Updated all users.
1479 (record_goto_begin): Renamed to ...
1480 (record_full_goto_begin): ... this. Updated all users.
1481 (record_goto_end): Renamed to ...
1482 (record_full_goto_end): ... this. Updated all users.
1483 (record_goto): Renamed to ...
1484 (record_full_goto): ... this. Updated all users.
1485 (init_record_ops): Renamed to ...
1486 (init_record_full_ops): ... this. Updated all users.
1487 (record_core_resume): Renamed to ...
1488 (record_full_core_resume): ... this. Updated all users.
1489 (record_core_kill): Renamed to ...
1490 (record_full_core_kill): ... this. Updated all users.
1491 (record_core_fetch_registers): Renamed to ...
1492 (record_full_core_fetch_registers): ... this. Updated all users.
1493 (record_core_prepare_to_store): Renamed to ...
1494 (record_full_core_prepare_to_store): ... this. Updated all users.
1495 (record_core_store_registers): Renamed to ...
1496 (record_full_core_store_registers): ... this. Updated all users.
1497 (record_core_xfer_partial): Renamed to ...
1498 (record_full_core_xfer_partial): ... this. Updated all users.
1499 (record_core_insert_breakpoint): Renamed to ...
1500 (record_full_core_insert_breakpoint): ... this. Updated all users.
1501 (record_core_remove_breakpoint): Renamed to ...
1502 (record_full_core_remove_breakpoint): ... this. Updated all users.
1503 (record_core_has_execution): Renamed to ...
1504 (record_full_core_has_execution): ... this. Updated all users.
1505 (init_record_core_ops): Renamed to ...
1506 (init_record_full_core_ops): ... this. Updated all users.
1507 (cmd_record_restore): Renamed to ...
1508 (cmd_record_full_restore): ... this. Updated all users.
1509 (record_save_cleanups): Renamed to ...
1510 (record_full_save_cleanups): ... this. Updated all users.
1511 (cmd_record_start): Renamed to ...
1512 (cmd_record_full_start): ... this. Updated all users.
1513 (set_record_insn_max_num): Renamed to ...
1514 (set_record_full_insn_max_num): ... this. Updated all users.
1515 (set_record_command): Renamed to ...
1516 (set_record_full_command): ... this. Updated all users.
1517 (show_record_command): Renamed to ...
1518 (show_record_full_command): ... this. Updated all users.
1519 (_initialize_record): Renamed to ...
1520 (_initialize_record_full): ... this. Updated all users.
1521
d02ed0bb
MM
15222013-03-11 Markus Metzger <[email protected]>
1523
1524 * record.h: Split into this and ...
1525 * record-full.h: ... this.
1526 * record.c: Split into this and ...
1527 * record-full.c: ... this.
1528 * target.h (target_ops): Add new fields to_info_record,
1529 to_save_record, to_delete_record, to_record_is_replaying,
1530 to_goto_record_begin, to_goto_record_end, to_goto_record.
1531 (target_info_record): New.
1532 (target_save_record): New.
1533 (target_supports_delete_record): New.
1534 (target_delete_record): New.
1535 (target_record_is_replaying): New.
1536 (target_goto_record_begin): New.
1537 (target_goto_record_end): New.
1538 (target_goto_record): New.
1539 * target.c (target_info_record): New.
1540 (target_save_record): New.
1541 (target_supports_delete_record): New.
1542 (target_delete_record): New.
1543 (target_record_is_replaying): New.
1544 (target_goto_record_begin): New.
1545 (target_goto_record_end): New.
1546 (target_goto_record): New.
1547 * record.h: Declare struct cmd_list_element.
1548 (record_cmdlist): New declaration.
1549 (set_record_cmdlist): New declaration.
1550 (show_record_cmdlist): New declaration.
1551 (info_record_cmdlist): New declaration.
1552 (cmd_record_goto): New declaration.
1553 * record.c: Remove unnecessary includes.
1554 Include inferior.h.
1555 (cmd_record_goto): Remove declaration.
1556 (record_cmdlist): Now extern. Initialize.
1557 (set_record_cmdlist): Now extern. Initialize.
1558 (show_record_cmdlist): Now extern. Initialize.
1559 (info_record_cmdlist): Now extern. Initialize.
1560 (find_record_target): New.
1561 (require_record_target): New.
1562 (cmd_record_start): Update.
1563 (cmd_record_delete): Remove target-specific code.
1564 Call target_delete_record.
1565 (cmd_record_stop): Unpush any record target.
1566 (set_record_insn_max_num): Move to record-full.c
1567 (set_record_command): Add comment.
1568 (show_record_command): Add comment.
1569 (info_record_command): Update comment.
1570 Remove target-specific code.
1571 Call the record target's to_info_record.
1572 (cmd_record_start): New.
1573 (cmd_record_goto): Now extern.
1574 Remove target-specific code.
1575 Call target_goto_begin, target_goto_end, or target_goto.
1576 (_initialize_record): Move record target ops initialization to
1577 record-full.c.
1578 Change "record" command help text.
1579 Move "record restore", "record set", and "record show" commands to
1580 record-full.c.
1581 * Makefile.in (SFILES): Add record-full.c.
1582 (HFILES_NO_SRCDIR): Add record-full.h.
1583 (COMMON_OBS): Add record-full.o.
1584 * amd64-linux-tdep.c: Include record-full.h instead of record.h.
1585 * arm-tdep.c: Include record-full.h.
1586 * i386-linux-tdep.c: Include record-full.h instead of record.h.
1587 * i386-tdep.c: Include record-full.h.
1588 * infrun.c: Include record-full.h.
1589 * linux-record.c: Include record-full.h.
1590 * moxie-tdep.c: Include record-full.h.
1591 * record-full.c: Include record-full.h.
1592 Change module comment.
1593 (set_record_full_cmdlist): New.
1594 (show_record_full_cmdlist): New.
1595 (record_full_cmdlist): New.
1596 (record_goto_insn): New declaration.
1597 (record_save): New declaration.
1598 (record_check_insn_num): Change query string.
1599 (record_info): New.
1600 (record_delete): New.
1601 (record_is_replaying): New.
1602 (record_goto_entry): New.
1603 (record_goto_begin): New.
1604 (record_goto_end): New.
1605 (record_goto): New.
1606 (init_record_ops): Update.
1607 (init_record_core_ops): Update.
1608 (cmd_record_save): Rename to record_save. Remove target and arg checks.
1609 (cmd_record_start): New.
1610 (set_record_insn_max_num): Moved from record.c
1611 (set_record_full_command): New.
1612 (show_record_full_command): New.
1613 (_initialize_record_full): New.
1614
b48d48eb
MM
16152013-03-11 Markus Metzger <[email protected]>
1616
1617 * target.h (add_deprecated_target_alias): New.
1618 * target.c (add_deprecated_target_alias): New.
1619
a950d57c
MM
16202013-03-11 Markus Metzger <[email protected]>
1621
1622 * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h,
1623 and signal.h.
1624 (linux_supports_btrace): Add kernel and
1625 cpuid check.
1626 (kernel_supports_btrace): New function.
1627 (cpu_supports_btrace): New function.
1628 (intel_supports_btrace): New function.
1629
9accd112
MM
16302013-03-11 Markus Metzger <[email protected]>
1631
1632 * target.h (enum target_object): Add TARGET_OBJECT_BTRACE.
1633 * remote.c: Include btrace.h.
1634 (struct btrace_target_info): New struct.
1635 (remote_supports_btrace): New function.
1636 (send_Qbtrace): New function.
1637 (remote_enable_btrace): New function.
1638 (remote_disable_btrace): New function.
1639 (remote_teardown_btrace): New function.
1640 (remote_read_btrace): New function.
1641 (init_remote_ops): Add btrace ops.
1642 (enum <unnamed>): Add btrace packets.
1643 (struct protocol_feature remote_protocol_features[]): Add btrace packets.
1644 (_initialize_remote): Add packet configuration for branch tracing.
1645
c12a2917
MM
16462013-03-11 Markus Metzger <[email protected]>
1647
1648 * features/btrace.dtd: New file.
1649 * Makefile.in (XMLFILES): Add btrace.dtd.
1650 * btrace.h (parse_xml_btrace): New declaration.
1651 * btrace.c: Include xml-support.h.
1652 (parse_xml_btrace): New function.
1653 (parse_xml_btrace_block): New function.
1654 (block_attributes): New struct.
1655 (btrace_attributes): New struct.
1656 (btrace_children): New struct.
1657 (btrace_elements): New struct.
1658
3e3aea48
MM
16592013-03-11 Markus Metzger <[email protected]>
1660
1661 * amd64-linux-nat.c: Include btrace.h and linux-btrace.h.
1662 (amd64_linux_enable_btrace): New.
1663 (amd64_linux_disable_btrace): New.
1664 (amd64_linux_teardown_btrace): New.
1665 (_initialize_amd64_linux_nat): Initialize btrace ops.
1666 * i386-linux.nat.c: Include btrace.h and linux-btrace.h.
1667 (i386_linux_enable_btrace): New.
1668 (i386_linux_disable_btrace): New.
1669 (i386_linux_teardown_btrace): New.
1670 (_initialize_i386_linux_nat): Initialize btrace ops.
1671 * config/i386/linux.mh: Add linux-btrace.o.
1672 * config/i386/linux64.mh: Add linux-btrace.o.
1673
7c97f91e
MM
16742013-03-11 Markus Metzger <[email protected]>
1675
1676 * common/linux_btrace.h: New file.
1677 * common/linux_btrace.c: New file.
1678 * Makefile.in (SFILES): Add btrace.c.
1679 (HFILES_NO_SRCDIR): Add common/linux-btrace.h.
1680 (COMMON_OBS): Add btrace.o.
1681 (linux-btrace.o): New rule.
1682
1999790b 16832013-03-11 Markus Metzger <[email protected]>
02d27625
MM
1684
1685 * target.h: Include btrace.h.
1686 (struct target_ops) <to_supports_btrace, to_enable_btrace,
1687 to_disable_btrace, to_teardown_btrace, to_read_btrace>: New.
1688 * target.c (target_supports_btrace): New function.
1689 (target_enable_btrace): New function.
1690 (target_disable_btrace): New function.
1691 (target_teardown_btrace): New function.
1692 (target_read_btrace): New function.
1693 * btrace.h: New file.
1694 * btrace.c: New file.
1695 * Makefile.in: Add btrace.c.
1696 * gdbthread.h: Include btrace.h.
1697 (struct thread_info): Add btrace field.
1698 * thread.c: Include btrace.h.
1699 (clear_thread_inferior_resources): Call target_teardown_btrace.
1700 * common/btrace-common.h: New file.
1701
61a31a67
JK
17022013-03-10 Jan Kratochvil <[email protected]>
1703
1704 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill
1705 for CHILD, ignore PTRACE_KILL errors, move the inner block variable
1706 kill_status to outer block.
1707
05c56a9d
JK
17082013-03-10 Jan Kratochvil <[email protected]>
1709
1710 Fix entry-values if the callee called a noreturn function.
1711 * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use
1712 get_frame_address_in_block. Add new comment.
1713
9112db09
JK
17142013-03-10 Jan Kratochvil <[email protected]>
1715
1716 Fix entry-values in C++ across CUs.
1717 * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use
1718 lookup_minimal_symbol. Add a comment.
1719 * dwarf2read.c
1720 (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer
1721 DW_AT_linkage_name.
1722
9b67fcec
YQ
17232013-03-08 Yao Qi <[email protected]>
1724
1725 * tracepoint.c (_initialize_tracepoint): Indent the code.
1726
6221be90
PA
17272013-03-08 Pedro Alves <[email protected]>
1728
1729 * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'.
1730 (parse_find_args, find_command): Change type of pattern buffer
1731 locals to 'gdb_byte *'.
1732
be9a119c 17332013-03-08 Stan Shebs <[email protected]>
f6f899bf
HAQ
1734 Hafiz Abid Qadeer <[email protected]>
1735
1736 * NEWS: Mention set and show trace-buffer-size commands.
1737 Mention new packet.
1738 * target.h (struct target_ops): New method
1739 to_set_trace_buffer_size.
1740 (target_set_trace_buffer_size): New macro.
1741 * target.c (update_current_target): Set up new method.
1742 * tracepoint.c (trace_buffer_size): New global.
1743 (start_tracing): Send it to the target.
1744 (set_trace_buffer_size): New function.
1745 (_initialize_tracepoint): Add new setshow for trace-buffer-size.
1746 * remote.c (remote_set_trace_buffer_size): New function.
1747 (_initialize_remote): Use it.
1748 (QTBuffer:size) New remote command.
1749 (PACKET_QTBuffer_size): New enum.
1750 (remote_protocol_features): Add an entry for
1751 PACKET_QTBuffer_size.
1752
7da3ab79
TT
17532013-03-08 Tom Tromey <[email protected]>
1754
1755 * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct
1756 variable.
1757
0c1f71e7
PA
17582013-03-07 Pedro Alves <[email protected]>
1759
1760 * target.c (target_read_stralloc, target_fileio_read_alloc):
1761 *Cast pointer to 'gdb_byte *' in target call.
1762
c8af03a2
PA
17632013-03-07 Pedro Alves <[email protected]>
1764
1765 * corefile.c (read_memory_string): Cast pointer to gdb_byte* in
1766 call.
1767
529480d0
KS
17682013-03-07 Keith Seitz <[email protected]>
1769
1770 * breakpoint.c (catch_syscall_split_args): Use skip_spaces.
1771 (trace_pass_command): Likewise.
1772 * cli/cli-cmds.c: Include cli/cli-utils.h.
1773 (source_command): Use skip-spaces.
1774 (disassemble_command): Likewise.
1775 * findcmd.c: Include cli/cli-utils.h.
1776 (parse_find_args): Use skip_spaces.
1777 * go32-nat.c: Include cli/cli-utils.h.
1778 (go32_sldt): Use skip_spaces.
1779 (go32_sgdt): Likewise.
1780 (go32_sidt): Likewise.
1781 (go32_pde): Likewise.
1782 (go32_pte): Likewise.
1783 (go32_pte_for_address): Likewise.
1784 * infcmd.c: Include cli/cli-utils.h.
1785 (registers_info): Use skip_spaces.
1786 * linux-tdep.c (read_mapping): Use skip_spaces_const.
1787 (linux_info_proc): Likewise.
1788 * linux-thread-db.c: Include cli/cli-utils.h.
1789 (info_auto_load_libthread_db): Use skip_spaces_const.
1790 * m32r-rom.c: Include cli/cli-utils.h.
1791 (m32r_upload_command): Use skip_spaces.
1792 * maint.c: Include cli/cli-utils.h.
1793 (maintenance_translate_address): Use skip_spaces.
1794 * mi/mi-parse.c: Include cli/cli-utils.h.
1795 (mi_parse_argv): Use skip_spaces.
1796 (mi_parse): Likewise.
1797 * minsyms.c: Include cli/cli-utils.h.
1798 (msymbol_hash_iw): Use skip_spaces_const.
1799 * objc-lang.c: Include cli/cli-utils.h.
1800 (parse_selector): Use skip_spaces.
1801 (parse_method): Likewise.
1802 * python/python.c: Include cli/cli-utils.h.
1803 (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces.
1804 (python_command)[HAVE_PYTHON]: Likewise.
1805 (python_interactive_command)[!HAVE_PYTHON]: Likewise.
1806 * remote-m32r-sdi.c: Include cli/cli-utils.h.
1807 (m32r_load): Use skip_spaces.
1808 * serial.c: Include cli/cli-utils.h.
1809 (serial_open): Use skip_spaces_const.
1810 * stack.c: Include cli/cli-utils.h.
1811 (parse_frame_specification_1): Use skip_spaces_const.
1812 * symfile.c: Include cli/cli-utils.h.
1813 (set_ext_lang_command): Use skip_spaces.
1814 * symtab.c: Include cli/cli-utils.h.
1815 (rbreak_command): Use skip_spaces.
1816 * thread.c (thread_name_command): Use skip_spaces.
1817 * tracepoint.c (validate_actionline): Use skip_spaces.
1818 (encode_actions_1): Likewise.
1819 (trace_find_range_command): Likewise.
1820 (trace_find_outside_command): Likewise.
1821 (trace_dump_actions): Likewise.
1822
ac91cd70
PA
18232013-03-07 Pedro Alves <[email protected]>
1824
1825 * c-lang.c (parse_one_string): Cast argument to gdb_byte *.
1826 * expprint.c (print_subexp_standard): Likewise.
1827 * utils.c (host_char_to_target): Likewise.
1828 * valprint.c (generic_emit_char, generic_printstr): Likewise.
1829 * varobj.c (value_get_print_value): Change type of local to char*.
1830 Cast it gdb_byte * in call to language printer.
1831
2898e560
PA
18322013-03-07 Pedro Alves <[email protected]>
1833
1834 * charset.c (struct wchar_iterator) <input>: Change type to 'const
1835 gdb_byte *'.
1836 (make_wchar_iterator): Remove cast to char*.
1837 (wchar_iterate): Change type of local.
1838
a09b4448
PA
18392013-03-07 Pedro Alves <[email protected]>
1840
1841 * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
1842 for 'regcache->register_status'.
1843
20ced3e4
PA
18442013-03-07 Pedro Alves <[email protected]>
1845
c2d6a675 1846 * breakpoint.c (breakpoint_xfer_memory): Change type of local to
20ced3e4
PA
1847 int.
1848
fe106009
PA
18492013-03-07 Pedro Alves <[email protected]>
1850
1851 * stap-probe.c (handle_stap_probe): Add cast to char*.
1852
8ac2c12b
PA
18532013-03-07 Pedro Alves <[email protected]>
1854
1855 * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv,
1856 RECORD_MSGRCV>: Pass a signed variable to
1857 regcache_raw_read_signed, instead of an unsigned one.
1858
99f0a309
PA
18592013-03-07 Pedro Alves <[email protected]>
1860
1861 * remote-notif.c (notif_debug): Change type to int.
1862 * remote-notif.h (notif_debug): Likewise.
1863
964b8317
PA
18642013-03-07 Pedro Alves <[email protected]>
1865
1866 * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
1867
f0cc8ad4
PA
18682013-03-07 Pedro Alves <[email protected]>
1869
1870 * remote.c (hex2bin, bin2hex): Move extern declarations to ...
1871 * remote.h (hex2bin, bin2hex): ... here.
1872 * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
1873
77dec115
EZ
18742013-03-07 Eli Zaretskii <[email protected]>
1875
1876 * utils.c (initialize_utils): Improve doc strings of "set/show
1877 width", "set/show height", and "set/show pagination".
1878
741d92cf
KS
18792013-03-06 Keith Seitz <[email protected]>
1880
1881 * ax-gdb.c (gen_printf): Make FORMAT const.
1882 * ax-gdb.h (gen_printf): Likewise.
1883 * ax-general.c (ax_string): Make STR const.
1884 * ax.h (ax_string): Likewise.
1885
7b6c814e
DE
18862013-03-06 Doug Evans <[email protected]>
1887
1888 * elfread.c (elf_symfile_read): Move debugging printf to more
1889 logical location.
1890
634334ab
PA
18912013-03-06 Pedro Alves <[email protected]>
1892
1893 * python/py-utils.c (target_string_to_unicode): Delete function.
1894 * python/python-internal.h (target_string_to_unicode): Delete
1895 declaration.
1896
e482a1a7
PM
18972013-03-06 Pierre Muller <[email protected]>
1898
1899 * linespec.c (get_current_search_block): ARI fix, use (void)
1900 for empty parameter list.
1901
4eeaa230
DE
19022013-03-05 Doug Evans <[email protected]>
1903
1904 * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
1905 of old ada_lookup_symbol_list. In !full_search case, don't
1906 search superblocks.
1907 (ada_lookup_symbol_list): Delete arg full_search, all callers
1908 updated. Call ada_lookup_symbol_list_worker.
1909 (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
1910 * ada-lang.h (ada_lookup_symbol_list): Update.
1911 * language.h (language_defn): Update comment for
1912 la_iterate_over_symbols.
1913 * linespec.c (iterate_over_file_blocks): New function.
1914 (iterate_over_all_matching_symtabs): Call it.
1915 (lookup_prefix_sym): Ditto.
1916 (get_current_search_block): New function.
1917 (get_search_block): Delete.
1918 (find_label_symbols): Call get_current_search_block.
1919 (add_matching_symbols_to_info): Call iterate_over_file_blocks.
1920 * symtab.c (iterate_over_symbols): Don't search superblocks.
1921
b69b1fb1
YQ
19222013-03-05 Yao Qi <[email protected]>
1923
1924 * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
1925 parameter VAR's type from "unsigned int" to "int".
1926 * command.h (var_zuinteger_unlimited): Update its comments.
1927 (add_setshow_zuinteger_unlimited_cmd): Update the declaration.
1928
3c095f49
CV
19292013-03-05 Corinna Vinschen <[email protected]>
1930
1931 * NEWS: Mention new target x86_64-*-cygwin*.
1932
b5b0b0af
CV
19332013-03-05 Corinna Vinschen <[email protected]>
1934
1935 * configure.host: Add x86_64-*-cygwin* as host.
1936 * configure.tgt: Add x86_64-*-cygwin* as target.
1937 * config/i386/cygwin64.mh: New file.
1938
f6f99966
JK
19392013-03-04 Jan Kratochvil <[email protected]>
1940
1941 * linespec.c (decode_line_2): Fix duplicate request off by two message.
1942
33f448b1
JK
19432013-03-04 Jan Kratochvil <[email protected]>
1944
1945 * linespec.c (struct linespec_canonical_name): New.
1946 (struct linespec_state): Change canonical_names type to it.
1947 (add_sal_to_sals): Change variable canonical_name to canonical. Change
1948 xrealloc element size. Initialize the different CANONICAL fields.
1949 (canonical_to_fullform): New.
1950 (filter_results): Use it. Add variables canonical, fullform and
1951 cleanup.
1952 (struct decode_line_2_item, decode_line_2_compare_items): New.
1953 (decode_line_2): Remove variables iter and item_names, add variables
1954 items and items_count. Modify the code for these new variables.
1955
feb14725
CV
19562013-03-04 Corinna Vinschen <[email protected]>
1957
1958 * coff-pe-read.c (read_pe_exported_syms): Don't return without
1959 calling do_cleanup.
1960
e83b17ba
HZ
19612013-03-04 Luis Machado <[email protected]>
1962
1963 * tracepoint.c (build_traceframe_info): Add code for byte order.
1964
a2d13a0d
KB
19652013-03-02 Kevin Buettner <[email protected]>
1966
8dddcae8
KB
1967 * v850-tdep.c: (v850e2_register_name): Revise system register
1968 names to match current V850E2M architecture specifications.
1969 Update register number enum comments too.
a2d13a0d 1970
d79e58d8
JW
19712013-03-01 Jiong Wang <[email protected]>
1972 Pedro Alves <[email protected]>
1973
1974 * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
1975 to END_ADDR.
1976 (tilegx_skip_prologue): Limit prologue analysis to section end.
1977
c4be5165
JK
19782013-03-01 Jan Kratochvil <[email protected]>
1979
1980 * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
1981 use it.
1982
e362b510
PA
19832013-03-01 Pedro Alves <[email protected]>
1984
1985 Use gdb_byte for bytes from the program being debugged.
1986
1987 * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
1988 Change type of local 'buf' to gdb_byte.
1989 * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
1990 * bfin-tdep.c (bfin_push_dummy_call): Likewise.
1991 * cris-tdep.c (cris_sigcontext_addr)
1992 (cris_sigtramp_frame_unwind_cache): Likewise.
1993 * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
1994 (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
1995 Likewise.
1996 * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
1997 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
1998 (hppa32_hpux_search_dummy_call_sequence)
1999 (hppa_hpux_supply_save_state): Likewise.
2000 * hppa-linux-tdep.c (insns_match_pattern)
2001 (hppa_linux_find_global_pointer): Likewise.
2002 * hppa-tdep.c (hppa_in_function_epilogue_p)
2003 (skip_prologue_hard_way, hppa_frame_cache): Likewise.
2004 * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
2005 * i386fbsd-tdep.c (i386fbsd_supply_uthread)
2006 (i386fbsd_collect_uthread): Likewise.
2007 * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
2008 * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
2009 * ia64-tdep.c (examine_prologue, ia64_frame_cache)
2010 (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
2011 (ia64_sigtramp_frame_prev_register, ia64_access_reg)
2012 (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
2013 (ia64_libunwind_frame_prev_register)
2014 (ia64_libunwind_sigtramp_frame_this_id)
2015 (ia64_find_global_pointer_from_dynamic_section)
2016 (find_extant_func_descr, find_func_descr, ia64_dummy_id)
2017 (ia64_unwind_pc): Likewise.
2018 * iq2000-tdep.c (iq2000_store_return_value): Likewise.
2019 * m68hc11-tdep.c (m68hc11_push_dummy_call)
2020 (m68hc11_extract_return_value): Likewise.
2021 * m68klinux-nat.c (fetch_register, store_register): Likewise.
2022 * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
2023 (mep_get_insn, mep_push_dummy_call): Likewise.
2024 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
2025 (mips_linux_in_dynsym_stub): Likewise.
2026 * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
2027 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
2028 * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
2029 to gdb_byte.
2030 * remote-mips.c (mips_set_register): Likewise.
2031 * remote-sim.c (gdbsim_fetch_register): Likewise.
2032 * score-tdep.c (score7_fetch_inst): Change type of parameter
2033 'memblock' and local 'buf' to gdb_byte.
2034 (score7_malloc_and_get_memblock): Change return type to gdb_byte.
2035 Change type of local 'buf' to gdb_byte. Adjust.
2036 (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
2037 to gdb_byte**.
2038 (score7_analyze_prologue): Change type of 'memblock' and
2039 'memblock_ptr' locals to gdb_byte*.
2040 * sh64-tdep.c (sh64_extract_return_value)
2041 (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
2042 * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
2043 * solib-pa64.c (pa64_solib_create_inferior_hook)
2044 (pa64_open_symbol_file_object): Remove local 'buf'.
2045 * solib-som.c (som_solib_create_inferior_hook, link_map_start)
2046 (som_open_symbol_file_object): Likewise.
2047 * solib-spu.c (spu_current_sos): Likewise.
2048 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
2049 * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
2050 (spu_store_registers): Likewise.
2051 * target.c (debug_print_register): Likewise.
2052 * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
2053 * xstormy16-tdep.c (xstormy16_store_return_value)
2054 (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
2055 (xstormy16_find_jmp_table_entry): Likewise.
2056
75cc61ca 20572013-03-01 Jiong Wang <[email protected]>
61d8bd0e
JW
2058
2059 * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
2060 (tilegx_gdbarch_init): Install it.
2061
ddb08e9c
TT
20622013-02-28 Tom Tromey <[email protected]>
2063
2064 * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
2065 PyLong_Check.
2066
62d7fb51
DE
20672013-02-28 Doug Evans <[email protected]>
2068
2069 * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
2070 * python/python.c (gdbpy_find_pc_line): Ditto.
2071
c4a9e8b4
TT
20722013-02-28 Tom Tromey <[email protected]>
2073
2074 * contrib/excheck.py: New file.
2075 * contrib/exsummary.py: New file.
2076 * contrib/gcc-with-excheck: New file.
2077
7f6a5dde
TT
20782013-02-28 Tom Tromey <[email protected]>
2079
2080 * python/python.c (gdbpy_print_stack): Call begin_line and
2081 fprintf_filtered inside TRY_CATCH.
2082
9e974e55
TT
20832013-02-28 Tom Tromey <[email protected]>
2084
2085 * python/python.c (gdbpy_find_pc_line): Call find_pc_line
2086 inside TRY_CATCH.
2087
dd5fa3e7
TT
20882013-02-28 Tom Tromey <[email protected]>
2089
2090 * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
2091 frame_object_to_frame_info inside TRY_CATCH.
2092
86a3263f
TT
20932013-02-28 Tom Tromey <[email protected]>
2094
2095 * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
2096 TRY_CATCH.
2097
81b52a3a
TT
20982013-02-28 Tom Tromey <[email protected]>
2099
2100 * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
2101
d50a0ce2
CV
21022013-02-27 Corinna Vinschen <[email protected]>
2103
2104 * windows-nat.c: Throughout, fix format strings and casts of
2105 printf-like functions to avoid type related warnings on all
2106 platforms.
2107 (handle_output_debug_string): Fetch context information address
2108 from debug string using string_to_core_addr.
2109
e1f58301
JW
21102013-02-27 Jiong Wang <[email protected]>
2111
2112 * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
2113 * regformats/reg-tilegx32.dat: New.
2114
4fcd89fc
JW
21152013-02-27 Jiong Wang <[email protected]>
2116
2117 * configure.tgt (tilegx-*-linux*): Enable gdbserver.
2118
748d24e6
JW
21192013-02-27 Jiong Wang <[email protected]>
2120
2121 * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
2122
6c8e944d
YQ
21232013-02-27 Yao Qi <[email protected]>
2124 Pedro Alves <[email protected]>
2125
2126 * tracepoint.c (tfile_trace_find): For tfind
2127 pc/tp/range/outside, look for the next trace frame instead of
2128 always starting from frame 0.
2129
acd7db30
AG
21302013-02-26 Anthony Green <[email protected]>
2131
2132 * configure.tgt: Add support for moxie-*-rtems* target.
2133
025e6dce
PA
21342013-02-25 Pedro Alves <[email protected]>
2135
2136 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
2137 warning text.
2138
ca9c94ef
MR
21392013-02-24 Maciej W. Rozycki <[email protected]>
2140
2141 * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
2142 if $fp is used as the virtual frame pointer.
2143
24c274a1
AM
21442013-02-23 Alan Modra <[email protected]>
2145
2146 * elfread.c (elf_symtab_read): Do not use udata.p here to find
2147 symbol size.
2148 * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
2149 * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
2150 * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
2151 * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
2152
bfada189
JK
21532013-02-22 Jan Kratochvil <[email protected]>
2154
2155 Code cleanup.
2156 * elfread.c (build_id_bfd_get): Make the return type const.
2157 (build_id_verify): Make the check parameter const.
2158 (build_id_to_debug_filename): Make the build_id parameter and variable
2159 data const.
2160 (find_separate_debug_file_by_buildid): Make the variable build_id const.
2161
c0355132
AM
21622013-02-21 Alan Modra <[email protected]>
2163
2164 * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes.
2165
9f44fbc0
SCR
21662013-02-20 Siva Chandra Reddy <[email protected]>
2167
2168 Add a new method 'disassemble' to gdb.Architecture class.
2169 * python/py-arch.c (archpy_disassmble): Implementation of the
2170 new method gdb.Architecture.disassemble.
2171 (arch_object_methods): Add entry for the new method.
2172
b74ea3eb
JW
21732013-02-20 Jiong Wang <[email protected]>
2174
2175 * MAINTAINERS (Write After Approval): Add myself to the list.
2176
61a672f1
PA
21772013-02-19 Pedro Alves <[email protected]>
2178
2179 Garbage collect 'struct monitor_ops'::load_routine.
2180
2181 * monitor.h (struct monitor_ops) <load_routine>: Remove field.
2182 * monitor.c (monitor_load): No longer call
2183 current_monitor->load_routine.
2184 * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
2185 * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
2186 * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
2187
40e397df
PA
21882013-02-19 Pedro Alves <[email protected]>
2189
2190 PR gdb/15161
2191
2192 Harmonize with generic_load.
2193
2194 * monitor.c: Include "readline/readline.h".
2195 (monitor_load): Rename parameter 'file' to 'args'. Use build_argv
2196 instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned
2197 long/strtol for the 'load_offset' local. Error out if no argument
2198 is given or if too many arguments are given. Tilde expand the
2199 passed in file name.
2200
f698ca8e
KT
22012013-02-19 Kai Tietz <[email protected]>
2202
2203 PR gdb/15161
2204 * symfile.c (load_section_data): Change type of load_offset
2205 to CORE_ADDR.
2206 (generic_load): User strtoulst instead of strtoul for conversion
2207 of load_offset.
2208
3361b059
WL
22092013-02-19 Jiong Wang <[email protected]>
2210
2211 * tilegx-tdep.c (tilegx_analyze_prologue): add check for
2212 for return address, "lr" register, saved on stack.
2213 * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
2214 after we invoke tilegx_analyze_prologue.
2215
3e9d5130
WL
22162013-02-19 Jiong Wang <[email protected]>
2217
bb1bcd86
WL
2218 * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
2219
3361b059 22202013-02-19 Jiong Wang <[email protected]>
bb1bcd86 2221
b74ea3eb 2222 * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
3e9d5130 2223
4aaf2503
WL
22242013-02-19 Jiong Wang <[email protected]>
2225
b74ea3eb 2226 * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
4aaf2503
WL
2227 (tilegx_write_pc): New function.
2228 (tilegx_cannot_reference_register): Return zero if REGNO
2229 is TILEGX_FAULTNUM_REGNUM.
2230 (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
2231 (tilegx_register_name): Add handling of "faultnum" register.
2232 * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
2233 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
2234 handling of TILEGX_FAULTNUM_REGNUM.
2235 * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
2236
bc23a956
WL
22372013-02-19 Jiong Wang <[email protected]>
2238
2239 * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
b74ea3eb 2240 should be aligned to 64bit.
bc23a956 2241
42f45f1a
KT
22422013-02-19 Kai Tietz <[email protected]>
2243
2244 * windows-nat.c (windows_xfer_memory): Fix debug-output
2245 for LLP64.
2246
6ce4c112
LL
22472013-02-19 Lei Liu <[email protected]>
2248
2249 * mips-linux-nat.c (mips64_linux_regsets_store_registers):
2250 Don't check DSP register number if HAVE_DSP is not set.
2251
30e8ee25
AM
22522013-02-19 Alan Modra <[email protected]>
2253
2254 * elfread.c (struct build_id): Delete. Use struct elf_build_id
2255 throughout file instead.
2256 (build_id_bfd_get): Update to use new elf_tdata build_id field.
2257 Don't xmalloc return value.
2258 (build_id_verify): Similarly. Don't xfree.
2259 (build_id_to_debug_filename): Update.
2260 (find_separate_debug_file_by_buildid): Update, don't xfree.
2261
4c9ad8c2
TT
22622013-02-18 Tom Tromey <[email protected]>
2263
2264 PR gdb/15102:
2265 * dwarf2read.c (read_subrange_type): Use result of
2266 'check_typedef'.
2267
983dc440
YQ
22682013-02-16 Yuanhui Zhang <[email protected]>
2269
2270 * frame.c: Remove one extra white space after #include
2271 directive.
2272
7fb2b84a
JK
22732013-02-15 Jan Kratochvil <[email protected]>
2274
2275 * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
2276
edceb2a9
JK
22772013-02-15 Jan Kratochvil <[email protected]>
2278
2279 * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
2280 and dir commands into an if block.
2281
e81b7af8
TT
22822013-02-15 Sanimir Agovic <[email protected]>
2283
2284 * python/py-breakpoint (struct pybp_code): Use int instead of
2285 enum type_code.
2286
f5911ea1
HAQ
22872013-02-15 Pedro Alves <[email protected]>
2288 Hafiz Abid Qadeer <[email protected]>
2289
2290 * NEWS: Mention new field "trace-file".
2291 * tracepoint.c (trace_status_mi): Output "trace-file" field.
2292 (tfile_open): Record the trace file's filename in the trace
2293 status.
2294 (tfile_files_info): Mention the name of the trace file.
2295 Check the "filename" field explicitely.
2296 (trace_status_command): Explicitely check "filename" field.
2297 (trace_find_command): Ditto.
2298 (trace_find_pc_command): Ditto.
2299 (trace_find_tracepoint_command): Ditto.
2300 (trace_find_line_command): Ditto.
2301 (trace_find_range_command): Ditto.
2302 (trace_find_outside_command): Ditto.
2303 * tracepoint.h (struct trace_status) <from_file>: Rename it
2304 to "filename" and make it hold the trace file's filename
2305 instead of a boolean.
2306 * remote.c (remote_get_trace_status): Initialize "filename"
2307 field with NULL instead of 0.
2308
796cb314
YQ
23092013-02-15 Yao Qi <[email protected]>
2310
2311 * remote.c: Fix a typo.
2312
42e79b1d
PM
23132013-02-14 Pierre Muller <[email protected]>
2314
2315 * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
2316
baea0dae
PA
23172013-02-14 Pedro Alves <[email protected]>
2318
2319 * utils.c (savestring): Don't #undef it. Move function to
2320 common/common-utils.c.
2321 * common/common-utils.c: Include gdb_string.h.
2322 (savestring): Move here from utils.c.
2323 * common/common-utils.h (savestring): Declare.
2324
57c3b6ed
PA
23252013-02-14 Pedro Alves <[email protected]>
2326
2327 * utils.c (savestring): Rename parameter 'size' to 'len'.
2328
d6c44983
YZ
23292013-02-14 Pedro Alves <[email protected]>
2330 Yufeng Zhang <[email protected]>
2331
2332 * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
2333 (aarch64_inferior_data, struct aarch64_inferior_data):
2334 Delete.
2335 (struct aarch64_process_info): New.
2336 (aarch64_process_list): New global.
2337 (aarch64_find_process_pid, aarch64_add_process)
2338 (aarch64_process_info_get): New functions.
2339 (aarch64_inferior_data_get): Delete.
2340 (aarch64_process_info_get): New function.
2341 (aarch64_forget_process): New function.
2342 (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement.
2343 (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
2344 aarch64_get_debug_reg_state.
2345 (aarch64_notify_debug_reg_change): Use iterate_over_lwps
2346 instead of linux_nat_iterate_watchpoint_lwps.
2347 (aarch64_linux_new_fork): New function.
2348 (aarch64_linux_child_post_startup_inferior): Use
2349 aarch64_forget_process instead of aarch64_init_debug_reg_state.
2350 (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
2351 (aarch64_linux_remove_hw_breakpoint)
2352 (aarch64_handle_aligned_watchpoint)
2353 (aarch64_handle_unaligned_watchpoint)
2354 (aarch64_linux_insert_watchpoint)
2355 (aarch64_linux_remove_watchpoint)
2356 (aarch64_linux_stopped_data_address): Adjust to pass the current
2357 process id to aarch64_debug_reg_state.
2358 (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
2359 linux_nat_new_fork hook, and aarch64_forget_process as
2360 linux_nat_forget_process hook; remove the call to
2361 register_inferior_data_with_cleanup.
2362
4819b3f8
PA
23632013-02-14 Pedro Alves <[email protected]>
2364
2365 * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
2366 EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
2367 lval_memory.
2368
1773c82c
HAQ
23692013-02-14 Pedro Alves <[email protected]>
2370 Hafiz Abid Qadeer <[email protected]>
2371
2372 * tracepoint.h (validate_trace_state_variable_name): Declare.
2373 * tracepoint.c (validate_trace_state_variable_name): New.
2374 (trace_variable_command): Parse the trace state variable's name
2375 without using parse_expression. Do several validations.
2376 * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
2377 trace state variable's name with parse_expression. Validate it.
2378
53778a97
YQ
23792013-02-14 Yao Qi <[email protected]>
2380
2381 * infcmd.c (breakpoint_proceeded): Remove it.
2382
7b3ae3a6
YQ
23832013-02-14 Yao Qi <[email protected]>
2384
2385 * tracepoint.c (end_actions_pseudocommand): Make it static.
2386 (while_stepping_pseudocommand): Likewise.
2387 * tracepoint.h (end_actions_pseudocommand): Remove the
2388 declaration.
2389 (while_stepping_pseudocommand): Likewise.
2390
64580925
YQ
23912013-02-14 Yao Qi <[email protected]>
2392
2393 * cli/cli-decode.c (help_cmd): Remove the declaration of
2394 "cmdlist".
2395 (help_all): Likewise.
2396
26cb8b7c
PA
23972013-02-13 Pedro Alves <[email protected]>
2398
2399 * amd64-linux-nat.c (update_debug_registers_callback):
2400 Update comment.
2401 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
2402 iterate_over_lwps.
2403 (amd64_linux_prepare_to_resume): Pass the lwp's pid to
2404 i386_debug_reg_state.
2405 (amd64_linux_new_fork): New function.
2406 (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
2407 linux_nat_new_fork hook, and i386_forget_process as
2408 linux_nat_forget_process hook.
2409 * i386-linux-nat.c (update_debug_registers_callback):
2410 Update comment.
a8256ea1 2411 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
26cb8b7c
PA
2412 iterate_over_lwps.
2413 (i386_linux_prepare_to_resume): Pass the lwp's pid to
2414 i386_debug_reg_state.
2415 (i386_linux_new_fork): New function.
2416 (_initialize_i386_linux_nat): Install i386_linux_new_fork as
2417 linux_nat_new_fork hook, and i386_forget_process as
2418 linux_nat_forget_process hook.
2419 * i386-nat.c (i386_init_dregs): Delete.
2420 (i386_inferior_data, struct i386_inferior_data):
2421 Delete.
2422 (struct i386_process_info): New.
2423 (i386_process_list): New global.
2424 (i386_find_process_pid, i386_add_process, i386_process_info_get):
2425 New functions.
2426 (i386_inferior_data_get): Delete.
2427 (i386_process_info_get): New function.
2428 (i386_debug_reg_state): New parameter 'pid'. Reimplement.
2429 (i386_forget_process): New function.
2430 (i386_cleanup_dregs): Rewrite.
2431 (i386_update_inferior_debug_regs, i386_insert_watchpoint)
2432 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
2433 (i386_stopped_data_address, i386_insert_hw_breakpoint)
2434 (i386_remove_hw_breakpoint): Adjust to pass the current process id
2435 to i386_debug_reg_state.
2436 (i386_use_watchpoints): Don't register inferior data.
2437 * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
2438 adjust comment.
2439 (i386_forget_process): Declare.
2440 * linux-fork.c (delete_fork): Call linux_nat_forget_process.
2441 * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
2442 New static globals.
2443 (linux_child_follow_fork): Don't call linux_nat_new_thread here.
2444 (add_initial_lwp): New, factored out from ...
2445 (add_lwp): ... this. Don't check the number of lwps before
2446 calling linux_nat_new_thread.
2447 (linux_nat_iterate_watchpoint_lwps): Delete.
2448 (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
2449 (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
2450 forks and vforks.
2451 (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
2452 initial lwp.
2453 (linux_nat_kill, linux_nat_mourn_inferior): Call
2454 linux_nat_forget_process.
2455 (linux_nat_set_new_fork, linux_nat_set_forget_process)
2456 (linux_nat_forget_process): New functions.
2457 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
2458 type.
2459 (linux_nat_iterate_watchpoint_lwps): Delete declaration.
2460 (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
2461 types.
2462 (linux_nat_set_new_fork, linux_nat_set_forget_process)
2463 (linux_nat_forget_process): New declarations.
2464
2465 * amd64fbsd-nat.c (super_mourn_inferior): New global.
2466 (amd64fbsd_mourn_inferior): New function.
2467 (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
2468 * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
2469
5befea72
MS
24702013-02-13 Marcus Shawcroft <[email protected]>
2471
55015247
YQ
2472 * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
2473 Adding _().
5befea72 2474
1d3ffd6b
MS
24752013-02-13 Marcus Shawcroft <[email protected]>
2476
2477 * aarch64-linux-nat.c (debug_reg_change_callback)
2478 (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
2479 %s and phex().
2480
6eb04473
MS
24812013-02-13 Marcus Shawcroft <[email protected]>
2482
2483 * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
2484 with LONGEST.
2485
a016fc87
HAQ
24862013-02-13 Pedro Alves <[email protected]>
2487 Hafiz Abid Qadeer <[email protected]>
2488
2489 * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
2490
e234dfaf
TT
24912013-02-12 Tom Tromey <[email protected]>
2492
2493 PR symtab/11464:
2494 * c-exp.y (lex_one_token): Initialize other fields of yylval on
2495 NAME return.
2496 (classify_inner_name): Remove 'first_name' argument, add
2497 'context'. Remove unused variable.
2498 (yylex): Explicitly maintain the context type. Exit loop earlier
2499 if NAME result is seen.
2500
0b1afbb3
PA
25012013-02-12 Pedro Alves <[email protected]>
2502
2503 * amd64-darwin-tdep.c: Add (C) after Copyright.
2504 * cli/cli-cmds.h: Ditto.
2505 * cli/cli-decode.c: Ditto.
2506 * cli/cli-decode.h: Ditto.
2507 * cli/cli-dump.c: Ditto.
2508 * cli/cli-dump.h: Ditto.
2509 * cli/cli-interp.c: Ditto.
2510 * cli/cli-logging.c: Ditto.
2511 * cli/cli-script.c: Ditto.
2512 * cli/cli-script.h: Ditto.
2513 * cli/cli-setshow.c: Ditto.
2514 * cli/cli-setshow.h: Ditto.
2515 * cli/cli-utils.c: Ditto.
2516 * cli/cli-utils.h: Ditto.
2517 * config/alpha/nm-osf3.h: Ditto.
2518 * config/djgpp/djconfig.sh: Ditto.
2519 * config/i386/nm-fbsd.h: Ditto.
2520 * config/i386/nm-i386gnu.h: Ditto.
2521 * config/nm-linux.h: Ditto.
2522 * config/nm-nto.h: Ditto.
2523 * config/rs6000/nm-rs6000.h: Ditto.
2524 * config/sparc/nm-sol2.h: Ditto.
2525 * darwin-nat-info.c: Ditto.
2526 * dfp.c: Ditto.
2527 * dfp.h: Ditto.
2528 * gdb-demangle.h: Ditto.
2529 * i386-darwin-nat.c: Ditto.
2530 * i386-darwin-tdep.c: Ditto.
2531 * linux-fork.h: Ditto.
2532 * m32c-tdep.c: Ditto.
2533 * microblaze-linux-tdep.c: Ditto.
2534 * microblaze-rom.c: Ditto.
2535 * microblaze-tdep.c: Ditto.
2536 * microblaze-tdep.h: Ditto.
2537 * mips-linux-tdep.h: Ditto.
2538 * ppc-ravenscar-thread.c: Ditto.
2539 * ppc-ravenscar-thread.h: Ditto.
2540 * prologue-value.c: Ditto.
2541 * prologue-value.h: Ditto.
2542 * ravenscar-thread.c: Ditto.
2543 * ravenscar-thread.h: Ditto.
2544 * sparc-ravenscar-thread.c: Ditto.
2545 * sparc-ravenscar-thread.h: Ditto.
2546 * tilegx-linux-tdep.c: Ditto.
2547 * unwind_stop_reasons.def: Ditto.
2548 * windows-nat.h: Ditto.
2549 * xtensa-linux-tdep.c: Ditto.
2550 * xtensa-xtregs.c: Ditto.
2551 * regformats/regdat.sh: Ditto.
2552 * regformats/regdef.h: Ditto.
2553
6c01dd94
PA
25542013-02-12 Pedro Alves <[email protected]>
2555
2556 * break-catch-sig.c: Update copyright years.
2557
b65a2bd9
SCR
25582013-02-11 Siva Chandra Reddy <[email protected]>
2559
2560 Add support for a destructor for ui_out data and use it to
2561 provide a ui_out destructor.
2562 * ui-out.h: Declare the new ui_out destructor.
2563 (ui_out_impl): Add a field for data destructor in ui_out_impl.
2564 * ui-out.c (default_data_destroy): Add a default data destructor
2565 which does nothing.
2566 (default_ui_out_impl): Set the new data_destroy field to
2567 default_data_destroy
2568 (uo_data_destroy): Local function which invokes the data
2569 destructor if present.
2570 (clear_table): Local function which clears the table data of a
2571 ui_out object.
2572 (ui_out_destroy): Public function which frees a ui_out object.
2573 (ui_out_table_end): Use the new clear_table function.
2574 * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
2575 NULL.
2576 * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
2577 to NULL.
2578
c2792f5a
DE
25792013-02-11 Doug Evans <[email protected]>
2580
2581 * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
2582 (printf_decfloat): New function. Broken out from ui_printf.
2583 Remove unnecessary code to shift the entire format string down.
2584 (printf_pointer): New function.
2585 (ui_printf): Code to print C strings, wide C strings, decfloats,
2586 and pointers moved to separate functions.
2587
d9e98382
SDJ
25882013-02-11 Sergio Durigan Junior <[email protected]>
2589
2590 * valops.c (value_assign): Handling bitfield offset in
2591 `lval_internalvar_component' case.
2592
4ff3ce77
DE
25932013-02-08 Doug Evans <[email protected]>
2594
2595 * common/format.c (parse_format_string): Fix whitespace.
2596
901900c4
MGD
25972013-02-08 Matthew Gretton-Dann <[email protected]>
2598
2599 * stack.c (return_command): Work around uninitialized variable
2600 warning.
2601
b5dbc8d4
YZ
26022013-02-08 Yufeng Zhang <[email protected]>
2603
2604 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
2605 number of the registers from 36 to 34.
2606
51d66578
MS
26072013-02-08 Marcus Shawcroft <[email protected]>
2608
2609 * NEWS: Mention new AArch64 native and target support.
2610
176b1c95
MS
26112013-02-08 Marcus Shawcroft <[email protected]>
2612
2613 * MAINTAINERS (Write After Approval): Add myself.
2614
9d19df75
MS
26152013-02-08 Jim MacArthur <[email protected]>
2616 Marcus Shawcroft <[email protected]>
2617 Nigel Stephens <[email protected]>
2618 Yufeng Zhang <[email protected]>
2619
2620 * aarch64-linux-nat.c: New file.
2621 * config/aarch64/linux.mh: New file.
2622 * configure.host: Add AArch64.
2623 * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
2624
7e1e0340
DE
26252013-02-07 Doug Evans <[email protected]>
2626
2627 * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
2628 disassemble command.
2629
45e25a36
MS
26302013-02-07 Marcus Shawcroft <[email protected]>
2631
2632 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
2633 set_gdbarch_fetch_tls_load_module_address.
2634
bbfdfe1c
DM
26352013-02-06 David S. Miller <[email protected]>
2636
2637 * sparc-tdep.c (sparc32_return_value): Handle writing return value when
2638 using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
2639 * value.c (struct_return_convention): New function.
2640 (using_struct_return): Implement in terms of struct_return_convention.
2641 * value.h (struct_return_convention): Declare.
2642 * stack.c (return_command): Allow successful overriding of the return
2643 value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
2644
bc9abe4a
TT
26452013-02-06 Tom Tromey <[email protected]>
2646
2647 * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
2648 outside of TRY_CATCH.
2649
134a2066
YQ
26502013-02-06 Yao Qi <[email protected]>
2651
2652 * mi/mi-interp.c: Include "tracepoint.h".
2653 (mi_tsv_modified): Declare.
2654 (mi_tsv_created, mi_tsv_deleted): Update declaration.
2655 (mi_interpreter_init): Call observer_attach_tsv_modified.
2656 (mi_tsv_modified): New.
2657 (mi_tsv_created, mi_tsv_deleted): Update.
2658 * tracepoint.c (trace_variable_command): Call
2659 observer_notify_tsv_modified if the initial value of tsv is
2660 changed.
2661 (delete_trace_state_variable): Call
2662 observer_notify_tsv_deleted earlier.
2663 (trace_variable_command): Caller update.
2664 (create_tsv_from_upload): Likewise.
2665 * observer.sh: Declare "struct trace_state_variable".
2666
2667 * NEWS: Mention the new MI notification "=tsv-modified".
2668
59be2b6a
DE
26692013-02-05 Doug Evans <[email protected]>
2670
2671 * completer.c (location_completer): Fix typo in comment.
2672
d30113d4
JK
26732013-02-05 Jan Kratochvil <[email protected]>
2674
2675 * breakpoint.c (add_location_to_breakpoint): Insert the location with
2676 ADDRESS sorted.
2677
14ac654f
MS
26782013-02-05 Marcus Shawcroft <[email protected]>
2679
2680 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
2681 Refactor if statement to avoid trailing || operator.
2682
543bf33d
AT
26832013-02-05 Andreas Tobler <[email protected]>
2684
2685 * NEWS: Add PowerPC FreeBSD as a new native configuration.
2686
dc18f110
AT
26872013-02-04 Andreas Tobler <[email protected]>
2688
2689 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
2690 * configure.host: Add powerpc*-*-freebsd* target.
2691 * configure.tgt: Add target info for powerpc*-*-freebsd*.
2692 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
2693 * config/powerpc/fbsd.mh: New file.
2694
b3ac9c77
SDJ
26952013-02-04 Sergio Durigan Junior <[email protected]>
2696 Denys Vlasenko <[email protected]>
2697 Pedro Alves <[email protected]>
2698
2699 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
2700 (struct elf_internal_linux_prpsinfo): Forward declare.
2701 * gdbarch.h, gdbarch.c: Regenerate.
2702 * linux-tdep.c: Include `cli/cli-utils.h'.
2703 (linux_fill_prpsinfo): New function.
2704 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
2705 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
2706 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
2707 depending on gdbarch pointer bitness.
2708 * ppc-linux-tdep.c: Include elf-bfd.h.
2709 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
2710 on 32-bit.
2711
176eb98c
MS
27122013-02-04 Jim MacArthur <[email protected]>
2713 Marcus Shawcroft <[email protected]>
2714 Nigel Stephens <[email protected]>
2715 Yufeng Zhang <[email protected]>
2716
2717 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
2718
cf0dbd6f
MS
27192013-02-04 Jim MacArthur <[email protected]>
2720 Marcus Shawcroft <[email protected]>
2721 Nigel Stephens <[email protected]>
2722 Yufeng Zhang <[email protected]>
2723
2724 * aarch64-newlib-tdep.c: New file.
2725 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
2726 aarch64*-*-elf.
2727 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
2728 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
2729 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
2730 * osabi.c (gdb_osabi_names): Add "Newlib".
2731
1ae3db19
MS
27322013-02-04 Jim MacArthur <[email protected]>
2733 Marcus Shawcroft <[email protected]>
2734 Nigel Stephens <[email protected]>
2735 Yufeng Zhang <[email protected]>
2736
2737 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
2738 (ALLDEPFILES): Add aarch64-linux-tdep.c.
2739 * aarch64-linux-tdep.c: New file.
2740 * aarch64-linux-tdep.h: New file.
2741 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
2742 * configure.tgt: Add aarch64-none-linux-gnu.
2743
07b287a0
MS
27442013-02-04 Jim MacArthur <[email protected]>
2745 Marcus Shawcroft <[email protected]>
2746 Nigel Stephens <[email protected]>
2747 Yufeng Zhang <[email protected]>
2748
2749 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
2750 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
2751 (ALLDEPFILES): Add aarch64-tdep.c.
2752 * aarch64-tdep.c: New file.
2753 * aarch64-tdep.h: New file.
2754 * configure.tgt: Add AArch64.
2755 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
2756 (aarch64-expedite): New definition.
2757 * features/aarch64-core.xml: New file.
2758 * features/aarch64-fpu.xml: New file.
2759 * features/aarch64-without-fpu.c: New file (generated).
2760 * features/aarch64-without-fpu.xml: New file.
2761 * features/aarch64.c: New file (generated).
2762 * features/aarch64.xml: New file.
2763 * regformats/aarch64-without-fpu.dat: New file (generated).
2764 * regformats/aarch64.dat: New file (generated).
2765
0f1b18ab
JK
27662013-02-03 Jan Kratochvil <[email protected]>
2767
2768 * contrib/expect-read1.c: New file.
2769 * contrib/expect-read1.sh: New file.
2770
233d95b5
JK
27712013-02-03 Jan Kratochvil <[email protected]>
2772
2773 * dwarf2read.c (file_file_name): New function with code from
2774 file_full_name.
2775 (file_full_name): Move most of the code to file_file_name.
2776 (macro_start_file): Rename variable full_name to file_name and use
2777 file_file_name for it. Add comp_dir parameter to new_macro_table.
2778 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
2779 macro_source_file->filename access by macro_source_fullname call.
2780 * macroscope.c (_initialize_macroscope): Update the new_macro_table
2781 caller.
2782 * macrotab.c (struct macro_table): New field comp_dir.
2783 (macro_include): New variables link_fullname and source_fullname.
2784 Replace any macro_source_file->filename access by macro_source_fullname
2785 call.
2786 (macro_lookup_inclusion): Remove the partial filenames checking code.
2787 (check_for_redefinition): New variables source_fullname and
2788 found_key_fullname. Replace any macro_source_file->filename access by
2789 macro_source_fullname call.
2790 (macro_undef): New variables source_fullname and key_fullname. Replace
2791 any macro_source_file->filename access by macro_source_fullname call.
2792 (macro_lookup_definition): New variables retval and source_fullname.
2793 Replace any macro_source_file->filename access by macro_source_fullname
2794 call.
2795 (foreach_macro): New variable key_fullname. Replace any
2796 macro_source_file->filename access by macro_source_fullname call.
2797 (foreach_macro_in_scope): New variable datum_fullname. Replace any
2798 macro_source_file->filename access by macro_source_fullname call.
2799 (new_macro_table): Add parameter comp_dir. Initialize T with it.
2800 (macro_source_fullname): New function.
2801 * macrotab.h (struct macro_source_file): Extent the filename field
2802 comment.
2803 (new_macro_table): New parameter comp_dir, add a comment for it.
2804 (macro_source_fullname): new declaration.
2805
da235a7c
JK
28062013-02-03 Jan Kratochvil <[email protected]>
2807
2808 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
2809 this_real_name to outer block. Use it also for
2810 compare_filenames_for_search.
2811 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
2812 with dw2_get_real_path for file_matcher, considering also
2813 BASENAMES_MAY_DIFFER.
2814 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
2815
fbd9ab74
JK
28162013-02-03 Jan Kratochvil <[email protected]>
2817
2818 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
2819 to the file_matcher parameter. Pass 0 to it.
2820 (dwarf2_create_include_psymtab): Copy also DIRNAME.
2821 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
2822 NULL psymtab_to_fullname result.
2823 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
2824 an expected filename instead.
2825 (expand_symtabs_matching_via_partial): Add basenames parameter to the
2826 file_matcher parameter. Call also psymtab_to_fullname, after newly
2827 considering BASENAMES_MAY_DIFFER.
2828 * source.c (rewrite_source_path): Remove static.
2829 * source.h (rewrite_source_path): New declaration.
2830 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
2831 the expand_symtabs_matching field. Comment it.
2832 * symtab.c (file_matches): New function comment. Add parameter
2833 basenames, implement it.
2834 (search_symbols_file_matches): Add basenames parameter. Update the
2835 file_matches caller.
2836 (search_symbols): Match FILES also against symtab_to_fullname.
2837 Optimize it for BASENAMES_MAY_DIFFER.
2838
56d397a3
JK
28392013-02-03 Jan Kratochvil <[email protected]>
2840
2841 * source.c (print_source_lines_base): Print for TUI also "fullname".
2842 * tui/tui-data.c (init_content_element): Change tui_locator_element
2843 field to full_name.
2844 * tui/tui-data.h (struct tui_locator_element): Likewise.
2845 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
2846 tui_update_locator_filename calls to tui_update_locator_fullname.
2847 Replace symtab->filename refererence by symtab_to_fullname call.
2848 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
2849 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
2850 field to full_name. Replace symtab->filename refererence by
2851 symtab_to_fullname call.
2852 (tui_show_symtab_source): Rename parameter to fullname. Change
2853 tui_locator_element field to full_name.
2854 * tui/tui-stack.c: Include source.h.
2855 (tui_set_locator_filename): Rename the declaration to ...
2856 (tui_set_locator_fullname): ... here. Rename its parameter to
2857 fullname, updates its comment.
2858 (tui_set_locator_info): Rename its parameter to fullname.
2859 (tui_set_locator_filename): Rename the definition to ...
2860 (tui_set_locator_fullname): ... here. Rename its parameter to
2861 fullname, updates its comment. Change tui_locator_element field to
2862 full_name.
2863 (tui_set_locator_info): Rename its parameter to fullname.
2864 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
2865 (tui_update_locator_filename): Rename to ...
2866 (tui_update_locator_fullname): ... here. Rename callee to
2867 tui_set_locator_fullname.
2868 (tui_show_frame_info): Replace symtab->filename refererence by
2869 symtab_to_fullname call.
2870 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
2871 (tui_update_locator_fullname): ... here.
2872 * tui/tui-winsource.c (tui_display_main): Rename the callee to
2873 tui_update_locator_fullname. Replace symtab->filename refererence by
2874 symtab_to_fullname call.
2875 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
2876 Rename the callee to tui_update_locator_fullname.
2877 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
2878
05cba821
JK
28792013-02-03 Jan Kratochvil <[email protected]>
2880
2881 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
2882 by symtab_to_filename_for_display calls.
2883 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
2884 (clear_command): New variable sal_fullname, initialize it. Replace
2885 compare_filenames_for_search by filename_cmp with sal_fullname.
2886 (say_where, update_static_tracepoint): Replace symtab->filename
2887 refererences by symtab_to_filename_for_display calls.
2888 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
2889 Likewise.
2890 * dwarf2read.c: Include source.h.
2891 (fixup_go_packaging): Replace symtab->filename refererences by
2892 symtab_to_filename_for_display calls.
2893 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
2894 Replace symtab->filename refererences by symtab_to_filename_for_display
2895 calls.
2896 (create_sals_line_offset, convert_linespec_to_sals): New variable
2897 fullname, initialize it, replace symtab->filename reference by the
2898 variable.
2899 * linux-fork.c: Include source.h.
2900 (info_checkpoints_command): Replace symtab->filename refererences by
2901 symtab_to_filename_for_display calls.
2902 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
2903 by symtab_to_filename_for_display calls.
2904 * mdebugread.c: Include source.h.
2905 (psymtab_to_symtab_1): Replace symtab->filename refererences by
2906 symtab_to_filename_for_display calls.
2907 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
2908 (mi_cmd_file_list_exec_source_files): Likewise.
2909 * printcmd.c: Include source.h.
2910 (build_address_symbolic): Replace symtab->filename refererences by
2911 symtab_to_filename_for_display calls.
2912 * psymtab.c (partial_map_symtabs_matching_filename)
2913 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
2914 with psymtab_to_fullname.
2915 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
2916 by symtab_to_filename_for_display calls.
2917 (stpy_get_filename): New variable filename, initialize it, use instead
2918 of symtab->filename refererences.
2919 (salpy_str): Make variable filename const char *. Replace
2920 symtab->filename refererences by symtab_to_filename_for_display calls.
2921 * skip.c: Include source.h and filenames.h.
2922 (skip_file_command): Remove const from the symtab variable. Replace
2923 symtab->filename refererences by symtab_to_fullname call.
2924 (function_name_is_marked_for_skip): New variables searched_for_fullname
2925 and fullname. Use them to search also with symtab's fullname.
2926 * source.c (find_source_lines): Replace symtab->filename refererences
2927 by symtab_to_filename_for_display calls.
2928 (print_source_lines_base): New variable filename, use it instead of
2929 symtab->filename. Replace symtab->filename refererences by
2930 symtab_to_filename_for_display calls.
2931 (line_info, forward_search_command): Replace symtab->filename
2932 refererences by symtab_to_filename_for_display calls.
2933 (reverse_search_command): Replace symtab->filename refererences by
2934 symtab_to_filename_for_display calls. New variable filename for it.
2935 * stack.c (frame_info): Likewise.
2936 * symmisc.c: Include source.h.
2937 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
2938 (maintenance_info_symtabs): Replace symtab->filename refererences by
2939 symtab_to_filename_for_display calls.
2940 * symtab.c (iterate_over_some_symtabs): Call
2941 compare_filenames_for_search also with symtab_to_fullname.
2942 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
2943 symtab->filename refererences by symtab_to_filename_for_display calls.
2944 (find_line_symtab): Replace symtab->filename refererences by
2945 symtab_to_filename_for_display calls.
2946 (file_matches): Replace filename_cmp by compare_filenames_for_search.
2947 (print_symbol_info): Make the last parameter const char *. New
2948 variable s_filename. Use it in the function.
2949 (symtab_symbol_info): Make the last_filename variable const char *.
2950 Replace symtab->filename refererences by symtab_to_filename_for_display
2951 calls.
2952 (rbreak_command): New variable fullname. Use it. Replace
2953 symtab->filename refererence by symtab_to_filename_for_display call.
2954 * tracepoint.c (set_traceframe_context, trace_find_line_command)
2955 (print_one_static_tracepoint_marker): Replace symtab->filename
2956 refererences by symtab_to_filename_for_display calls.
2957 * tui/tui-source.c (tui_set_source_content): New variables filename and
2958 s_filename. Replace symtab->filename refererences by this variable.
2959 Replace other symtab->filename refererences by
2960 symtab_to_filename_for_display calls.
2961
1b56eb55
JK
29622013-02-03 Eldar Gaynetdinov <[email protected]>
2963 Jan Kratochvil <[email protected]>
2964
2965 Add a new variable that controls a way in which filenames are
2966 displayed.
2967 * NEWS (set filename-display): New entry.
2968 * source.c (filename_display_basename, filename_display_relative)
2969 (filename_display_absolute, filename_display_kind_names)
2970 (filename_display_string, show_filename_display_string)
2971 (symtab_to_filename_for_display): New.
2972 (_initialize_source): Added initialization of 'filename-display'
2973 variable.
2974 * source.h (symtab_to_filename_for_display): Added declaration.
2975 * stack.c (print_frame): Added new variable and calling of a new
2976 function and condition with this variable. Changed third argument of
2977 calling of a function.
2978
aa079c93
JK
29792013-02-03 Jan Kratochvil <[email protected]>
2980
2981 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
2982 Rename field reference filename to fullname.
2983 * tui/tui-data.h (struct tui_source_info): Rename field filename to
2984 fullname. New comment for it.
2985 * tui/tui-source.c (tui_set_source_content): Rename field reference
2986 filename to fullname. Initialize field by symtab_to_fullname now.
2987 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
2988 reference filename to fullname. Use symtab_to_fullname during
2989 comparison.
2990
652a8996
JK
29912013-02-03 Jan Kratochvil <[email protected]>
2992
2993 Code cleanup.
2994 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
2995 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
2996 filename to fullname. Rename variable this_name to this_fullname.
2997 Lowercase FILENAME_CMP call.
2998 (dw2_find_symbol_file): New comment for the returned string.
2999 (dwarf2_gdb_index_functions): Rename the function to
3000 dw2_expand_symtabs_with_fullname.
3001 * psymtab.c (read_psymtabs_with_filename): Rename to ...
3002 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
3003 fullname.
3004 (psym_functions): Rename the function to read_psymtabs_with_fullname.
3005 * symfile.h (struct quick_symbol_functions): Rename field
3006 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
3007 parameter filename to fullname. Document returned string meaning for
3008 find_symbol_file.
3009 * symtab.c (find_line_symtab): Rename the called function to
3010 expand_symtabs_with_fullname.
3011
af529f8f
JK
30122013-02-03 Jan Kratochvil <[email protected]>
3013
3014 Code cleanup.
3015 * breakpoint.c (clear_command): Remove variable is_abs, unify the
3016 call of filename_cmp with compare_filenames_for_search.
3017 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
3018 is_abs, unify the call of FILENAME_CMP with
3019 compare_filenames_for_search. New gdb_asserts for real_path and name.
3020 Unify the call of compare_filenames_for_search with FILENAME_CMP.
3021 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
3022 * symfile.h (struct quick_symbol_functions): Extend the comment for
3023 map_symtabs_matching_filename.
3024 * symtab.c (compare_filenames_for_search): Remove the function comment
3025 relative path requirement. Handle absolute filenames, with a comment.
3026 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
3027 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
3028 real_path and name. Unify the call of compare_filenames_for_search
3029 with FILENAME_CMP.
3030 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
3031
2f202fde
JK
30322013-02-03 Jan Kratochvil <[email protected]>
3033
3034 Code cleanup.
3035 * breakpoint.c (print_breakpoint_location): Replace bp_location field
3036 source_file references by symtab field references. Remove variables
3037 sal and fullname.
3038 (momentary_breakpoint_from_master, add_location_to_breakpoint):
3039 (clear_command, say_where): Replace bp_location field source_file
3040 references by symtab field references.
3041 (bp_location_dtor): Remove the source_file reference.
3042 (update_static_tracepoint): Replace bp_location field source_file
3043 references by symtab field references.
3044 (breakpoint_free_objfile): New function.
3045 * breakpoint.h (struct bp_location): Extend the comment for line_number.
3046 Replace the field source_file by field symtab, extend its comment.
3047 (breakpoint_free_objfile): New declaration.
3048 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
3049 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
3050 field source_file references by symtab field references.
3051
f5b95b50
JK
30522013-02-03 Jan Kratochvil <[email protected]>
3053
3054 Replace xfullpath calls by gdb_realpath calls.
3055 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
3056 function comment.
3057 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
3058 Remove it from the iterate_over_some_symtabs call.
3059 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
3060 Remove it from the dw2_map_expand_apply calls, remove a block handling
3061 it.
3062 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
3063 Remove it from the iterate_over_some_symtabs call.
3064 (partial_map_symtabs_matching_filename): Remove parameter full_path.
3065 Remove it from the partial_map_expand_apply calls, remove a block
3066 handling it. Drop gdb_realpath call and cleanups from the real_path
3067 handling.
3068 * source.c (openp): Drop the comment part about xfullpath. Replace
3069 xfullpath calls by gdb_realpath calls.
3070 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
3071 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
3072 from method map_symtabs_matching_filename and its comment.
3073 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
3074 gdb_realpath call.
3075 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
3076 remove it also from the function comment, remove a block handling it.
3077 Drop gdb_realpath call and cleanups from the real_path handling.
3078 (iterate_over_symtabs): Drop variable full_path and its use.
3079 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
3080 * utils.c (xfullpath): Remove.
3081 * utils.h (xfullpath): Remove.
3082
d78489bf
AT
30832013-02-01 Andreas Tobler <[email protected]>
3084
3085 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
3086 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
3087 (ALLDEPFILES): Add ppc64-tdep.c.
3088 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
3089 ppc64-tdep.o to gdb_target_obs.
3090 * ppc64-tdep.h: New file.
3091 * ppc64-tdep.c: New file.
3092 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
3093 ppc-linux-tdep.c to here.
3094 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
3095 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
3096 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
3097 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
3098 from ppc-linux-tdep.c to here.
3099 (ppc64_convert_from_func_ptr_addr): Rename from
3100 ppc64_linux_convert_from_func_ptr_addr to
3101 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
3102 here.
3103 * rs6000-tdep.c:
3104 (read_insn): Move from ppc-linux-tdep.c to here.
3105 (insns_match_pattern, insn_d_field, insn_ds_field): Move
3106 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
3107 * ppc-linux-tdep.c: Include ppc64-tdep.h.
3108 Removed above functions.
3109 (ppc_linux_init_abi): Adjust.
3110
8db60374
AR
31112013-02-01 Aleksandar Ristovski <[email protected]>
3112
3113 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
3114
f2e5f4ce
AR
31152013-02-01 Aleksandar Ristovski <[email protected]>
3116
3117 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
3118
c1f7d745
PA
31192013-02-01 Pedro Alves <[email protected]>
3120
3121 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
3122 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
3123
8a92335b
JK
31242013-02-01 Jan Kratochvil <[email protected]>
3125
3126 * elfread.c (elf_symfile_read): Limit separate debug info additions to
3127 files with no separate debug info.
3128 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
3129 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
3130 only for files with no separate debug info.
3131
8eacb197
TT
31322013-01-31 Tom Tromey <[email protected]>
3133
3134 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
3135 change type.
3136 (struct jit_program_space_data): Rename from jit_inferior_data.
3137 Update comments.
3138 (get_jit_program_space_data): Rename from get_jit_inferior_data.
3139 Change return type. Attach data to program space.
3140 (jit_program_space_data_cleanup): Rename from
3141 jit_inferior_data_cleanup; change argument type.
3142 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
3143 change type.
3144 (jit_register_code): Update.
3145 (jit_update_inferior_cache): Remove.
3146 (jit_breakpoint_deleted): Get jit data from the location's program
3147 space.
3148 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
3149 'ps_data', change type.
3150 (jit_inferior_init, jit_breakpoint_re_set_internal)
3151 (jit_event_handler): Update.
3152 (free_objfile_data): Get data from objfile's program space.
3153 (_initialize_jit): Update.
3154
f25c0135
TT
31552013-01-31 Tom Tromey <[email protected]>
3156
3157 PR gdb/13987:
3158 * jit.c (struct jit_inferior_data) <cached_code_address,
3159 jit_breakpoint>: New fields.
3160 (jit_breakpoint_re_set_internal): Fix logging. Only create
3161 breakpoint if cached address has changed.
3162 (jit_update_inferior_cache, jit_breakpoint_deleted): New
3163 functions.
3164 (_initialize_jit): Register breakpoint deleted observer.
3165
974a734b
AR
31662013-01-31 Aleksandar Ristovski <[email protected]>
3167
3168 * infrun.c (handle_syscall_event): Remove unused gdbarch.
3169 (save_infcall_suspend_state): Ifdef out unused inf.
3170 (restore_infcall_suspend_state): Ifdef out unused inf.
3171 * jit.c (jit_register_code): Remove unused i, b, inf_data.
3172 (jit_frame_sniffer): Remove unused inf_data.
3173
df54f8eb
AR
31742013-01-31 Aleksandar Ristovski <[email protected]>
3175
3176 * c-exp.y (classify_inner_name): Remove unused type.
3177 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
3178 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
3179 need_escape.
3180 (c_get_string): Remove unused kind.
3181 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
3182
5799c0b9
AR
31832013-01-31 Aleksandar Ristovski <[email protected]>
3184
3185 * charset.c (intermediate_encoding): Remove unused i.
3186 * completer.c (signal_completer): Remove unused i.
3187 * continuations.c (discard_my_continuations_1): Remove unused
3188 continuation_ptr.
3189 * corelow.c (core_close): Remove unuseD name.
3190 (get_core_siginfo): Remove unused pid.
3191 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
3192 i, cps.
3193 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
3194 (loclist_describe_location): Remove unused first.
3195 * event-top.c (command_line_handler): Remove unused got_eof.
3196 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
3197 (resize_section_table): Remove unused old_value.
3198 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
3199 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
3200 * i386-tdep.c (i386_process_record): Remove unused rex.
3201 * infcmd.c (get_return_value): Remove unused uiout.
3202 * jv-lang.c (type_from_class): Remove unused is_array.
3203 * jv-valprint.c (java_val_print): Remove unused i.
3204 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
3205 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
3206 * m2-typeprint.c (m2_print_type): Remove unused code.
3207 * macroexp.c (get_character_constant): Remove unused body_start.
3208 (macro_stringify): Remove unused result.
3209 * objc-lang.c (find_methods): Remove unused gdbarch.
3210 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
3211 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
3212 * stack.c (print_frame_args): Remove unused summary.
3213 * thread.c (thread_apply_command): Remove unused p.
3214 * valarith.c (value_x_unop): Remove unused mangle_ptr.
3215 * valops.c (search_struct_method): Remove unused skip.
3216 * valprint.c (generic_val_print): Remove unused byte_order.
3217 * varobj.c (varobj_update): Remove unused changed.
3218 * cli/cli-cmds.c (complete_command): Remove unused next_item.
3219 (alias_command): Remove unused c.
3220 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
3221 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
3222 format.
3223 (mi_cmd_data_write_memory): Remove unused word_format.
3224 (mi_cmd_data_write_memory_bytes): Remove unused r.
3225 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
3226 p_start, p_end.
3227 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
3228 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
3229 line_width.
3230
c656bca5
AR
32312013-01-31 Aleksandar Ristovski <[email protected]>
3232
3233 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
3234 * symtab.c (iterate_over_symtabs): Remove unused s.
3235 (find_pc_sect_symtab): Remove unused pspAce.
3236 (find_pc_sect_line): Remove unused alt_symtab.
3237 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
3238 (completion_list_add_name): Remove unused newsize.
3239
7078baeb
TT
32402013-01-31 Tom Tromey <[email protected]>
3241
3242 PR c++/14998:
3243 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
3244 TYPE_CODE_FUNC.
3245
c2e8b827
AR
32462013-01-31 Aleksandar Ristovski <[email protected]>
3247
3248 * target.c (target_read_string): Remove unused origlen.
3249
0e43993a
AR
32502013-01-31 Aleksandar Ristovski <[email protected]>
3251
3252 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
3253 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
3254 * ax-general.c (ax_print): Remove unused is_float.
3255 * blockframe.c (block_innermost_frame): Remove unused start, end.
3256 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
3257
765a97ab
AR
32582013-01-31 Aleksandar Ristovski <[email protected]>
3259
3260 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
3261 (svr4_read_so_list): Remove unused lmo.
3262 * solib-target.c (solib_target_relocate_section_addresses): Remove
3263 unused flags.
3264
a99dad3d
TT
32652013-01-30 Tom Tromey <[email protected]>
3266
3267 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
3268
3bff1ecd
TT
32692013-01-30 Tom Tromey <[email protected]>
3270
3271 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
3272 * utils.c (gnu_debuglink_crc32): Remove.
3273 * utils.h (gnu_debuglink_crc32): Don't declare.
3274
7d455152
TT
32752013-01-30 Tom Tromey <[email protected]>
3276
3277 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
3278 (read_structure_type, read_enumeration_type): Remove cast.
3279
abee88f2
TT
32802013-01-30 Tom Tromey <[email protected]>
3281
3282 * dwarf2read.c (read_namespace_type): Remove cast.
3283 (read_typedef): Likewise.
3284
8d9878a4
TT
32852013-01-29 Tom Tromey <[email protected]>
3286
3287 * dwarf2read.c (free_dwo_file): Remove assert.
3288
a543d2a9
TT
32892013-01-29 Tom Tromey <[email protected]>
3290
3291 * value.c (deprecated_set_value_modifiable): Remove.
3292 * value.h (deprecated_set_value_modifiable): Remove.
3293
bed911e5
DE
32942013-01-28 Doug Evans <[email protected]>
3295
3296 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
3297 to addresses from dwo files.
3298
28c64fc2
SCR
32992013-01-25 Siva Chandra Reddy <[email protected]>
3300
3301 * valops.c (find_overload_match): Remove unused argument 'lax'.
3302 * value.h: Remove unused argument 'lax' from the declaration of
3303 find_overload_match.
3304 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
3305 to find_overload_match.
3306 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
3307 argument to find_overload_match.
3308
4d4ec4e5
TT
33092013-01-25 Tom Tromey <[email protected]>
3310
3311 * dwarf2read.c (processing_has_namespace_info): Remove.
3312 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
3313 (process_die, read_func_scope, dwarf2_start_symtab)
3314 (new_symbol_full): Update.
3315
195a3f6c
TT
33162013-01-25 Tom Tromey <[email protected]>
3317
3318 * cp-namespace.c (cp_set_block_scope): Remove.
3319 * cp-support.h (cp_set_block_scope): Remove.
3320 * dbxread.c: Include block.h.
3321 (cp_set_block_scope): New function.
3322 (process_one_symbol): Update.
3323 * dwarf2read.c (read_func_scope): Use block_set_scope.
3324
8ba0730a
PA
33252013-01-25 Pedro Alves <[email protected]>
3326
3327 * remote.c (add_current_inferior_and_thread): Tweak comment.
3328
12aaed36
TT
33292013-01-25 Tom Tromey <[email protected]>
3330
3331 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
3332 (cp_add_using_directive): Add 'copy_names' argument.
3333 * cp-support.h (cp_add_using_directive): Update.
3334 (struct using_direct) <import_src, import_dest, alias,
3335 declaration>: Now const.
3336 * dwarf2read.c (read_import_statement): Use obconcat.
3337 Don't copy names passed to cp_add_using_directive.
3338
7fc75ca7
TT
33392013-01-25 Tom Tromey <[email protected]>
3340
3341 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
3342
3405876a
PA
33432013-01-25 Pedro Alves <[email protected]>
3344
3345 * remote.c (stop_reply_extract_thread): New.
3346 (add_current_inferior_and_thread): New parameter 'wait_status'.
3347 Handle it.
3348 (remote_start_remote): Pass wait status to
3349 add_current_inferior_and_thread.
3350 (extended_remote_run): Update comment.
3351 (extended_remote_create_inferior_1): Pass wait status to
3352 add_current_inferior_and_thread.
3353
8954db33
AB
33542013-01-25 Andrew Burgess <[email protected]>
3355 Ulrich Weigand <[email protected]>
3356
3357 * valarith.c (value_vector_widen): New function for replicating a
3358 scalar into a vector.
3359 (value_binop): Use value_vector_widen to widen scalar to vector
3360 rather than casting, this better matches gcc C behaviour.
3361 * valops.c (value_casst): Update logic for casting between vector
3362 types, and for casting from scalar to vector, try to match gcc C
3363 behaviour.
3364 * value.h (value_vector_widen): Declare.
3365 * opencl-lang.c (opencl_value_cast): New opencl specific casting
3366 function, handle special case for casting scalar to vector.
3367 (opencl_relop): Use opencl_value_cast.
3368 (evaluate_subexp_opencl): Use opencl_value_cast instead of
3369 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
3370 in order to use opencl_value_cast.
3371
843b20dc
YQ
33722013-01-25 Yao Qi <[email protected]>
3373
3374 * event-loop.c: Include "queue.h".
3375 (gdb_event_p): New typedef.
3376 (DECLARE_QUEUE_P): Use.
3377 (DEFINE_QUEUE_P): Use.
3378 (async_queue_event): Remove.
3379 (gdb_event_xfree): New.
3380 (initialize_event_loop): New.
3381 (process_event): Use QUEUE macros.
3382 (event_queue): Remove.
3383 (gdb_wait_for_event): Caller update.
3384 (check_async_event_handlers): Likewise.
3385 (poll_timers): Likewise.
3386 * event-loop.h (initialize_event_loop): Declare.
3387 * event-loop.c (gdb_event_xfree): New.
3388 * top.c (gdb_init): Call initialize_event_loop.
3389
20ad8856
YQ
33902013-01-25 Yao Qi <[email protected]>
3391
3392 * event-loop.c (async_queue_event): Remove one parameter
3393 'position'. Remove code handling 'position' == TAIL.
3394 (gdb_wait_for_event): Caller update.
3395 (check_async_event_handlers): Caller update.
3396 (poll_timers): Caller update.
3397 * event-loop.h (enum queue_position): Remove.
3398
3bbbe775
MK
33992013-01-25 Maxim Kuvyrkov <[email protected]>
3400
3401 * MAINTAINERS: Update my email.
3402
a87d9ac4
YQ
34032013-01-25 Yao Qi <[email protected]>
3404
3405 * main.c (print_gdb_help): Remove "--epoch" from the help
3406 message.
3407
2077afdd
TD
34082013-01-24 Ulrich Weigand  <[email protected]>
3409
3410 * symtab.c (skip_prologue_using_sal): Consider a file
3411 change the same as an increased line number
3412
63da4037
TD
34132013-01-24 Tiago Stürmer Daitx  <[email protected]>
3414
30e8ee25 3415 * MAINTAINERS (Write After Approval): Add myself to the list.
63da4037 3416
45e6c716
TT
34172013-01-24 Tom Tromey <[email protected]>
3418
3419 * ada-lang.h (ada_decode_symbol): Make return type const.
3420 * ada-lang.c (ada_decode_symbol): Likewise.
3421
b1ae631a
DE
34222013-01-23 Doug Evans <[email protected]>
3423
3424 * linespec.c (find_linespec_symbols): Make static.
3425
55a78401
SDJ
34262013-01-23 Tiago Stürmer Daitx <[email protected]>
3427
3428 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
3429 type on float conversion for complex type.
3430
bea883fd
SCR
34312013-01-23 Siva Chandra Reddy <[email protected]>
3432
3433 Add a new class gdb.Architecture which exposes GDB's
3434 internal representation of architecture via GDB Python API.
3435 * Makefile.in: Add entries corresponding to the new file
3436 python/py-arch.c.
3437 * NEWS (Python Scripting): Add entries for the new class
3438 gdb.Architecture and the new method gdb.Frame.architecture.
3439 * python/py-arch.c: Implement gdb.Architecture class.
3440 * python/py-frame.c (frapy_arch): Implement the method
3441 gdb.Frame.architecture().
3442 (frame_object_methods): Add 'architecture' to the method table.
3443 * python/python-internal.h: Add declarations of new utility
3444 functions.
3445 * python/python.c (_initialize_python): Initialize
3446 gdb.Architecture class.
3447
796a7ff8
DE
34482013-01-23 Doug Evans <[email protected]>
3449
3450 Work around binutils/15021.
3451 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
3452 type_unit_group out of union s. All uses updated.
3453 (read_index_from_section): Watch for index version 8.
3454 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
3455 an imported symtab.
3456 (write_psymtabs_to_index): Increment version number to 8.
3457
0928e93d
PA
34582013-01-22 Pedro Alves <[email protected]>
3459
3460 * annotate.c (breakpoint_changed): Skip if breakpoint is not
3461 user-visible.
3462
9c97429f
PA
34632013-01-22 Pedro Alves <[email protected]>
3464
3465 * annotate.c (annotate_breakpoints_changed): Rename to ...
3466 (annotate_breakpoints_invalid): ... this. Make static.
3467 (breakpoint_changed): Adjust.
3468 (_initialize_annotate): Always install the observers. Install a
3469 "breakpoint_created" observer.
3470 * annotate.h (annotate_breakpoints_changed): Delete declaration.
3471 * breakpoint.c (set_breakpoint_condition)
3472 (breakpoint_set_commands, do_map_commands_command)
3473 (init_raw_breakpoint, clear_command, set_ignore_count)
3474 (enable_breakpoint_disp): No longer call
3475 annotate_breakpoints_changed.
3476
bd00c694
PA
34772013-01-22 Pedro Alves <[email protected]>
3478
3479 * annotate.c: Include "inferior.h".
3480 (frames_invalid_emitted)
3481 (breakpoints_invalid_emitted): New globals.
3482 (async_background_execution_p): New function.
3483 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
3484 emitting the annotation if it has already been emitted.
3485 (annotate_display_prompt): New function.
3486 * annotate.h (annotate_display_prompt): New declaration.
3487 * event-top.c: Include annotate.h.
3488 (display_gdb_prompt): Call annotate_display_prompt.
3489
187d10dd
PA
34902013-01-22 Pedro Alves <[email protected]>
3491
3492 * annotate.c (ignore_count_changed): Delete.
3493 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
3494 (annotate_ignore_count_change): Delete.
3495 (annotate_stopped): Don't emit a delayed breakpoints-changed
3496 annotation.
3497 * annotate.h (annotate_ignore_count_change): Delete.
3498 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
3499 annotate_ignore_count_change.
3500
d84cf7eb
TT
35012013-01-22 Tom Tromey <[email protected]>
3502
3503 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
3504 require_rvalue for a register location.
3505
8f1d5693
MK
35062013-01-21 Marc Khouzam <[email protected]>
3507
3508 * breakpoint.c (print_one_breakpoint_location): Add MI
3509 field 'thread-groups' when printing a breakpoint.
3510 (output_thread_groups): New function.
3511
aa6199c6
SCR
35122013-01-21 Siva Chandra Reddy <[email protected]>
3513
3514 * python/lib/gdb/commands/explore.py
3515 (CompoundExplorer.explore_expr): Correct the name of a method
3516 being invoked.
3517 (ExploreTypeCommand.invoke): Add a missing 'return'.
3518
d2afef13
TT
35192013-01-21 Tom Tromey <[email protected]>
3520
3521 * gdb_obstack.h (obconcat): Move declaration here, from...
3522 * symfile.h (obconcat): ... here.
3523 * gdb_obstack.c: New file.
3524 (obconcat): Move from...
3525 * symfile.c (obconcat): ... here.
3526 * Makefile.in (SFILES): Add gdb_obstack.c.
3527 (COMMON_OBS): Add gdb_obstack.o.
3528
10f0c4bb
TT
35292013-01-21 Tom Tromey <[email protected]>
3530
3531 * symfile.h (obsavestring): Don't declare.
3532 * symfile.c (obsavestring): Remove.
3533 * ada-exp.y: Use obstack_copy0, not obsavestring.
3534 * ada-lang.c: Use obstack_copy0, not obsavestring.
3535 * coffread.c: Use obstack_copy0, not obsavestring.
3536 * cp-namespace.c: Use obstack_copy0, not obsavestring.
3537 * dbxread.c: Use obstack_copy0, not obsavestring.
3538 * dwarf2read.c: Use obstack_copy0, not obsavestring.
3539 * jit.c: Use obstack_copy0, not obsavestring.
3540 * mdebugread.c: Use obstack_copy0, not obsavestring.
3541 * psymtab.c: Use obstack_copy0, not obsavestring.
3542 * stabsread.c: Use obstack_copy0, not obsavestring.
3543 * xcoffread.c: Use obstack_copy0, not obsavestring.
3544
86f62fd7
TT
35452013-01-21 Tom Tromey <[email protected]>
3546
3547 * dwarf2read.c (fixup_go_packaging): Save package name
3548 on objfile obstack.
3549 * gdbtypes.c (init_type): Don't copy name.
3550
15d034d0
TT
35512013-01-21 Tom Tromey <[email protected]>
3552
3553 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
3554 const.
3555 (struct attribute) <u.str>: Now const.
3556 (struct fnfieldlist) <name>: Now const.
3557 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
3558 (partial_die_parent_scope): Make return type const.
3559 (partial_die_full_name, add_partial_symbol): Update.
3560 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
3561 'name' const.
3562 (find_file_and_directory): Make 'name' and 'comp_dir' const.
3563 (read_file_scope, read_func_scope, dwarf2_add_field)
3564 (dwarf2_add_member_fn, read_structure_type)
3565 (process_enumeration_scope, read_array_type, read_module_type)
3566 (read_base_type, read_subrange_type): Update.
3567 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
3568 (new_symbol_full, guess_full_die_structure_name): Update.
3569 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
3570 (dwarf2_name): Return const type.
3571 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
3572 const.
3573
748e18ae
TT
35742013-01-21 Tom Tromey <[email protected]>
3575
3576 * gdbtypes.c (init_type): Make 'name' const.
3577 * gdbtypes.h (init_type): Update.
3578
46212e0b
TT
35792013-01-21 Tom Tromey <[email protected]>
3580
3581 * buildsym.c (patch_subfile_names): Use set_last_source_file.
3582 (start_symtab): Make 'name' and 'dirname' const. Use
3583 set_last_source_file.
3584 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
3585 (last_source_file): Define. Now static.
3586 (set_last_source_file, get_last_source_file): New functions.
3587 * buildsym.h (last_source_file): Don't declare.
3588 (start_symtab): Update.
3589 (set_last_source_file, get_last_source_file): Declare.
3590 * coffread.c (complete_symtab): Use set_last_source_file.
3591 (coff_end_symtab): Likewise.
3592 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
3593 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
3594 set_last_source_file.
3595 (process_one_symbol): Use get_last_source_file.
3596 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
3597 (psymtab_to_symtab_1): Use get_last_source_file.
3598 * xcoffread.c (process_linenos): Use get_last_source_file.
3599 (complete_symtab): Use set_last_source_file.
3600 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
3601 (scan_xcoff_symtab): Use set_last_source_file.
3602
9d2ceabe
TT
36032013-01-21 Tom Tromey <[email protected]>
3604
3605 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
3606 (symbol_set_names): Remove casts. Handle field const-ness.
3607
cfc594ee
TT
36082013-01-21 Tom Tromey <[email protected]>
3609
3610 * dwarf2read.c (new_symbol_full): Remove cast.
3611 * symtab.c (symbol_set_demangled_name): Make 'name' const.
3612 * symtab.h (symbol_set_demangled_name): Update.
3613
5484b13a
TT
36142013-01-21 Tom Tromey <[email protected]>
3615
3616 * main.c (captured_main): Call bfd_init.
3617
1605ef26
TT
36182013-01-21 Tom Tromey <[email protected]>
3619
3620 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
3621 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
3622 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
3623 * NEWS: Update.
3624
3b74cdc3
JK
36252013-01-21 Jan Kratochvil <[email protected]>
3626
3627 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
3628
5a352474
JK
36292013-01-21 Jan Kratochvil <[email protected]>
3630
3631 Fix gdb.fortran/common-block.exp crash in PIE mode.
3632 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
3633 LOC_COMMON_BLOCK.
3634 * f-valprint.c (info_common_command_for_block): Expect
3635 LOC_COMMON_BLOCK in gdb_assert.
3636 * symtab.h (struct general_symbol_info): Update comment for the
3637 common_block member.
3638 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
3639 (enum address_class): New member LOC_COMMON_BLOCK.
3640
c60797fd
DB
36412013-01-18 David Blaikie <[email protected]>
3642
3643 * MAINTAINERS (Write After Approval): Add "David Blaikie".
0cae7dfb 3644
46f35228
TT
36452013-01-18 Tom Tromey <[email protected]>
3646
3647 PR c++/14999:
3648 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
3649 Call require_rvalue.
3650
257e7a09
YQ
36512013-01-18 Yao Qi <[email protected]>
3652
3653 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
3654 (dbx_read_symtab): New declaration.
3655 (dbx_psymtab_to_symtab): Delete.
3656 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
3657 Rename parameter PST to SELF. Exchanged two parameters.
3658 (start_psymtab): Caller update.
3659 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
3660 (dwarf2_read_symtab): New declaration.
3661 (dwarf2_psymtab_to_symtab): Delete.
3662 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
3663 Rename parameter PST to SELF. Exchanged two parameters.
3664 (create_partial_symtab): Caller update.
3665 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
3666 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
3667 Rename parameter PST to SELF. Exchanged two parameters.
3668 (parse_partial_symbols, new_psymtab): Caller update.
3669 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
3670 two parameters.
3671 * psymtab.c (psymtab_to_symtab): Caller update.
3672 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
3673 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
3674 Rename parameter PST to SELF. Exchanged two parameters.
3675 (xcoff_start_psymtab): Caller update.
3676
0de5618e
YQ
36772013-01-18 Yao Qi <[email protected]>
3678
3679 * infrun.c (proceed): Rename local variable 'oneproc' to
3680 'force_step'.
3681
5c04624b
DE
36822013-01-17 Doug Evans <[email protected]>
3683
848e3e78
DE
3684 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
3685 (dw2_build_type_unit_groups): Delete. All uses updated.
3686
5c04624b
DE
3687 * symtab.h (struct symbol_search): Add comment.
3688
d84fca2c
JK
36892013-01-17 Jan Kratochvil <[email protected]>
3690
3691 * symtab.c (compare_filenames_for_search): New comment for
3692 HAS_DRIVE_SPEC.
3693
6108433d
TT
36942013-01-17 Tom Tromey <[email protected]>
3695
3696 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
3697
c89ffd86
JK
36982013-01-17 Jan Kratochvil <[email protected]>
3699
3700 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
3701 initialize it by existing make_cleanup. Call new do_cleanups.
3702
db2b2972
TT
37032013-01-17 Tom Tromey <[email protected]>
3704
3705 * cp-abi.c (cp_abi_completer): New function.
3706 (_initialize_cp_abi): Set completer for "set cp-abi".
3707
be7d37a2
TT
37082013-01-17 Tom Tromey <[email protected]>
3709
3710 * mem-break.c: Remove obsolete comment.
3711 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
3712
c9fb1240
SD
37132012-01-17 Sanjoy Das <[email protected]>
3714
3715 * jit.c (jit_reader_load_command): Interpret the jit reader name
3716 as an absolute path if it begins with a forward slash.
3717
db334a01
SD
37182012-01-17 Sanjoy Das <[email protected]>
3719
3720 PR gdb/14550
3721
3722 * jit.c (finalize_symtab): Ensure that only the global block has a
3723 NULL superblock.
3724
7d928dac
PA
37252013-01-17 Pedro Alves <[email protected]>
3726
3727 * acinclude.m4: Include ../config/plugins.m4,
3728 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
3729 * Makefile.in (aclocal_m4_deps): Update.
3730 * aclocal.m4: Renegerate.
3731
fb8cf7c5
DE
37322013-01-16 Doug Evans <[email protected]>
3733
3734 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
3735
ab04a2af
TT
37362013-01-16 Pedro Alves <[email protected]>
3737 Tom Tromey <[email protected]>
3738
3739 PR cli/7221:
3740 * NEWS: Add "catch signal".
3741 * breakpoint.c (base_breakpoint_ops): No longer static.
3742 (bpstat_explains_signal): New function.
3743 (init_catchpoint): No longer static.
3744 (base_breakpoint_explains_signal): New function.
3745 (base_breakpoint_ops): Initialize new field.
3746 * breakpoint.h (enum bpstat_signal_value): New.
3747 (struct breakpoint_ops) <explains_signal>: New field.
3748 (bpstat_explains_signal): Remove macro, declare as function.
3749 (base_breakpoint_ops, init_catchpoint): Declare.
3750 * break-catch-sig.c: New file.
3751 * inferior.h (signal_catch_update): Declare.
3752 * infrun.c (signal_catch): New global.
3753 (handle_syscall_event): Update for change to
3754 bpstat_explains_signal.
3755 (handle_inferior_event): Likewise. Always handle random signals
3756 via bpstats.
3757 (signal_cache_update): Check signal_catch.
3758 (signal_catch_update): New function.
3759 (_initialize_infrun): Initialize signal_catch.
3760 * Makefile.in (SFILES): Add break-catch-sig.c.
3761 (COMMON_OBS): Add break-catch-sig.o.
3762
8ac3646f
TT
37632013-01-16 Tom Tromey <[email protected]>
3764
3765 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
3766 (print_one_catch_solib, print_one_catch_syscall)
3767 (print_one_catch_exec, print_one_exception_catchpoint): Emit
3768 "catch-type".
3769
5a18e302
YQ
37702013-01-16 Yao Qi <[email protected]>
3771
3772 * printcmd.c (current_display_number): Make it static.
3773
3f01d0d0
YQ
37742013-01-16 Yao Qi <[email protected]>
3775
3776 * infcmd.c (step_once): Don't check '!single_inst' as it was
3777 checked before.
3778
1ed59174
JK
37792013-01-15 Jan Kratochvil <[email protected]>
3780
3781 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
3782
44478ab3
TT
37832013-01-14 Tom Tromey <[email protected]>
3784
3785 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
3786 set command.
3787 * command.h (add_setshow_string_noescape_cmd): Update.
3788 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
3789 (complete_set_gnutarget): New function.
3790 (_initialize_core): Set the "set gnutarget" completer.
3791
06d66ee9
TT
37922013-01-14 Tom Tromey <[email protected]>
3793
3794 PR symtab/14442:
3795 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
3796 (c_type_print_modifier): Likewise.
3797 * dwarf2read.c (read_tag_restrict_type): New function.
3798 (read_type_die_1): Handle DW_TAG_restrict_type.
3799 * gdbtypes.c (make_restrict_type): New function.
3800 (recursive_dump_type): Handle TYPE_RESTRICT.
3801 * gdbtypes.h (enum type_flag_values): Renumber.
3802 (enum type_instance_flag_value): Add
3803 TYPE_INSTANCE_FLAG_RESTRICT.
3804 (TYPE_RESTRICT): New macro.
3805 (make_restrict_type): Declare.
3806
c9bf0622
TT
38072013-01-14 Tom Tromey <[email protected]>
3808
3809 PR symtab/14931:
3810 * psymtab.c (struct psymtab_state): New.
3811 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
3812 functions.
3813 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
3814 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
3815
44d594fd
PA
38162013-01-14 Richard Sharman <[email protected]>
3817 Pedro Alves <[email protected]>
3818
3819 PR remote/14786
3820
3821 * remote.c (remote_threads_info): Make a copy of the reply from
3822 qfThreadInfo and use that instead of rs->buf.
3823
442e4d9c
YQ
38242013-01-14 Yao Qi <[email protected]>
3825
3826 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
3827 (dbx_psymtab_to_symtab): Likewise.
3828 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
3829 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
3830 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
3831
5b12a61c
JK
38322013-01-13 Jan Kratochvil <[email protected]>
3833
3834 * parse.c (parse_exp_in_context): New variable inner_chain. Call
3835 make_cleanup_restore_current_language. Call set_language. Move
3836 OLD_CHAIN and INNER_CHAIN cleanups.
3837 * utils.c (do_restore_current_language)
3838 (make_cleanup_restore_current_language): New functions.
3839 * utils.h (make_cleanup_restore_current_language): New declaration.
3840
f0a4b570
JK
38412013-01-13 Jan Kratochvil <[email protected]>
3842
3843 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
3844 non-existing files.
3845
57b3c00c
JK
3846 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
3847 non-existing files if FILENAME is already absolute.
3848
daefa854
JK
38492013-01-11 Jan Kratochvil <[email protected]>
3850
3851 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
3852 fputs_filtered. Append trailing newline.
3853
ca9c6ee2
YQ
38542013-01-11 Yao Qi <[email protected]>
3855 Stan Shebs <[email protected]>
3856
3857 * psymtab.c (init_psymbol_list): Clarify the comment.
3858
f28045c2
YQ
38592013-01-11 Yao Qi <[email protected]>
3860
3861 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
3862 (update_dprintf_command_list): Assert that 'printf_line' is
3863 non-null. Remove condition check.
3864
da5132d3
JK
38652013-01-10 Jan Kratochvil <[email protected]>
3866
3867 Code cleanup.
3868 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
3869 type const char *.
3870 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
3871 const char *.
3872 * tui/tui-source.h (tui_source_is_displayed): Likewise.
3873
843e694d
AG
38742013-01-09 Anthony Green <[email protected]>
3875
3876 * cp-abi.c (cplus_print_vtable): Don't return value from void
3877 function.
3878 * ada-lang.c (re_set_catch_assert): Ditto.
3879
da51c347
DE
38802013-01-09 Doug Evans <[email protected]>
3881
3882 * symfile.h (quick_symbol_functions): Delete member
3883 pre_expand_symtabs_matching. All uses removed.
3884 * dwarf2read.c (dw2_lookup_symbol): Implement.
3885 (dw2_do_expand_symtabs_matching): Delete.
3886 (dw2_pre_expand_symtabs_matching): Delete.
3887 (struct dw2_symtab_iterator): New type.
3888 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
3889 (dw2_expand_symtabs_for_function): Rewrite.
3890 (dwarf2_gdb_index_functions): Update.
3891 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
3892 (psym_functions): Update.
3893
b2259038
TT
38942013-01-09 Tom Tromey <[email protected]>
3895
3896 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
3897 * configure: Rebuild.
3898 * configure.ac: Add somread.o to the build if BFD has SOM
3899 support.
3900 * somread.c: Include som/aout.h, not syms.h.
3901 (som_symtab_read): Use som_external_symbol_dictionary_record.
3902 Unpack records manually.
3903 (_initialize_somread): Declare.
3904
bdad4180
MF
39052012-01-08 Mike Frysinger <[email protected]>
3906
3907 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
3908 Cast return_address to 64bits.
3909
03cdf680
HZ
39102013-01-08 Hui Zhu <[email protected]>
3911
3912 * printcmd.c: Remove define of function output_command.
3913 * tracepoint.c: Remove extern of function output_command.
3914 * valprint.h: (output_command): New extern.
3915
8a808554
TT
39162013-01-07 Tom Tromey <[email protected]>
3917
3918 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
3919 Remove.
3920 (objc_language_defn): Use c_printchar, c_printstr,
3921 c_emit_char.
3922
e93a8774
TT
39232013-01-07 Tom Tromey <[email protected]>
3924
3925 PR cli/7719:
3926 * NEWS: Update.
3927 * ada-valprint.c (printstr, print_field_values): Remove
3928 "inspect_it" code.
3929 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
3930 code.
3931 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
3932 code.
3933 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
3934 * main.c (captured_main): Remove "epoch" argument.
3935 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
3936 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
3937 * p-valprint.c (pascal_object_print_value_fields): Remove
3938 "inspect_it" code.
3939 * printcmd.c (print_command_1): Remove 'inspect' argument.
3940 (print_command, call_command): Update.
3941 (inspect_command): Remove.
3942 (_initialize_printcmd): Make "inspect" an alias for "print".
3943 * top.c (epoch_interface): Remove.
3944 * top.h (epoch_interface): Remove.
3945 * valprint.c (user_print_options): Update.
3946 (print_converted_chars_to_obstack): Remove "inspect_it" code.
3947 * valprint.h (struct value_print_options) <inspect_it>: Remove
3948 field.
3949
39502013-01-04 Tom Tromey <[email protected]>
3951
3952 * valprint.h (read_string): Add 'extern'.
3953
b967eb24
JB
39542013-01-07 Joel Brobecker <[email protected]>
3955
3956 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
3957 used to decide whether to define darwin_read_dyld_info or not.
3958
78a8b30e
PM
39592013-01-03 Pierre Muller <[email protected]>
3960
3961 * main.c (relocate_gdb_directory): Avoid calling stat function
3962 if DIR is empty.
3963
50da2f25
YQ
39642013-01-03 Yao Qi <[email protected]>
3965
3966 * psymtab.c (fixup_psymbol_section): Update declaration.
3967 (fixup_psymbol_section): Remove code returning value.
3968
e7e8980f
YQ
39692013-01-03 Yao Qi <[email protected]>
3970
3971 * symtab.h: Remove some out of date comments.
3972 (enum exception_event_kind): Move it ...
3973 * breakpoint.c: ... here.
3974
569283d4
MF
39752013-01-02 Iain Sandoe <[email protected]>
3976
9f9d9a96 3977 PR gdb/14405
569283d4
MF
3978 * darwin-nat.c (darwin_read_dyld_info): Only build if
3979 TASK_DYLD_INFO_COUNT is defined.
3980 (darwin_xfer_partial): Call darwin_read_dyld_info only if
3981 TASK_DYLD_INFO_COUNT is defined.
3982
2e36fbea
TT
39832013-01-02 Tom Tromey <[email protected]>
3984
3985 * symfile.h (struct ecoff_debug_hack): Remove.
3986 * objfiles.c: Don't include mdebugread.h.
3987
4f05add4
TT
39882013-01-02 Tom Tromey <[email protected]>
3989
3990 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
3991 * configure.ac: Check for Mach-O support in BFD. Update
3992 CONFIG_OBS.
3993 * configure: Rebuild.
3994
def63ff0
TT
39952013-01-02 Tom Tromey <[email protected]>
3996
3997 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
3998 * configure.ac: Use GDB_AC_CHECK_BFD.
3999 * configure: Rebuild.
4000
60c5dd93
MK
40012013-01-01 Maxim Kuvyrkov <[email protected]>
4002
4003 * MAINTAINERS: Update my email.
4004
6e58437e
JB
40052013-01-01 Joel Brobecker <[email protected]>
4006
4007 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
4008
627fe805
JB
40092013-01-01 Joel Brobecker <[email protected]>
4010
4011 * rs6000-nat.c (bss_data_overlap): New function.
4012 (vmap_symtab): Use it to adjust the .bss section's offset.
4013
28e7fd62
JB
40142013-01-01 Joel Brobecker <[email protected]>
4015
4016 Update year range in copyright notice of all files.
4017
e93a8774 40182013-01-01, 13 Joel Brobecker <[email protected]>
b9786c74
JB
4019
4020 * top.c (print_gdb_version): Update copyright year.
4021
72b20e9c 4022For older changes see ChangeLog-2012.
c906108c
SS
4023\f
4024Local Variables:
4025mode: change-log
4026left-margin: 8
4027fill-column: 74
4028version-control: never
57da7796 4029coding: utf-8
c906108c 4030End:
This page took 3.653402 seconds and 4 git commands to generate.