* tracepoint.c (tfile_get_trace_state_variable_value): Look for
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
8ddb1965
YQ
12013-03-13 Yao Qi <yao@codesourcery.com>
2
3 * tracepoint.c (tfile_get_trace_state_variable_value): Look for
4 the last matched 'V' blcok in trace frame.
5
2d450646
JB
62013-03-12 Joel Brobecker <brobecker@adacore.com>
7
8 * NEWS: Create a new section for the next release branch.
9 Rename the section of the current branch, now that it has
10 been cut.
11
b4b79973 122013-03-12 Joel Brobecker <brobecker@adacore.com>
13
14 GDB 7.6 branch created (branch timestamp: 2013-03-12 22:15 UTC)
15 * version.in: Bump version to 7.6.50.20130312-cvs.
16
ee047554
KS
172013-03-12 Keith Seitz <keiths@redhat.com>
18
19 * mi/mi-cmds.h (mi_execute_command): Make "cmd" const.
20 * mi/mi-interp.c (mi_interpreter_exec): Make "command" const.
21 Remove temporary copy of input string.
22 (mi_execute_command_wrapper): Make "cmd" const.
23 * mi/mi-main.c (mi_execute_command): Make "string_ptr" const.
24 * mi/mi-parse.c (mi_parse_argv): Make "args" const.
25 Use const strings.
26 (mi_parse): Make "cmd" const.
27 Use const strings.
28 * mi/mi-parse.h (mi_parse): Make "cmd" const.
29
bbc13ae3
KS
302013-03-12 Keith Seitz <keiths@redhat.com>
31
32 * ada-lang.c (ada_read_renaming_var_value): Pass const
33 pointer to expression string to parse_exp_1.
34 (create_excep_cond_exprs): Likewise.
35 * ax-gdb.c (agent_eval_command_one): Likewise.
36 (maint_agent_printf_command): Likewise.
37 Constify much of the string handling/parsing.
38 * breakpoint.c (set_breakpoint_condition): Pass const
39 pointer to expression string to parse_exp_1.
40 (update_watchpoint): Likewise.
41 (parse_cmd_to_aexpr): Constify string handling.
42 Pass const pointer to parse_exp_1.
43 (init_breakpoint_sal): Pass const pointer to parse_exp_1.
44 (find_condition_and_thread): Likewise.
45 Make TOK const.
46 (watch_command_1): Make "arg" const.
47 Constify string handling.
48 Copy the expression string instead of changing the input
49 string.
50 (update_breakpoint_location): Pass const pointer to
51 parse_exp_1.
52 * eval.c (parse_and_eval_address): Make "exp" const.
53 (parse_to_comma_and_eval): Make "expp" const.
54 (parse_and_eval): Make "exp" const.
55 * expression.h (parse_expression): Make argument const.
56 (parse_exp_1): Make first argument const.
57 * findcmd.c (parse_find_args): Treat "args" as const.
58 * linespec.c (parse_linespec): Pass const pointer to
59 linespec_expression_to_pc.
60 (linespec_expression_to_pc): Make "exp_ptr" const.
61 * parse.c (parse_exp_1): Make "stringptr" const.
62 Make a copy of the expression to pass to parse_exp_in_context until
63 this whole interface can be constified.
64 (parse_expression): Make "string" const.
65 * printcmd.c (ui_printf): Treat "arg" as const.
66 Handle const strings.
67 * tracepoint.c (validate_actionline): Pass const pointer to
68 all calls to parse_exp_1.
69 (encode_actions_1): Likewise.
70 * value.h (parse_to_comma_and_eval): Make argument const.
71 (parse_and_eval_address): Likewise.
72 (parse_and_eval): Likewise.
73 * varobj.c (varobj_create): Pass const pointer to parse_exp_1.
74 (varobj_set_value): Likewise.
75 * cli/cli-cmds.c (disassemble_command): Treat "arg" as const and
76 constify string handling.
77 Pass const pointers to parse_and_eval_address and
78 parse_to_comman_and_eval.
79 * cli/cli-utils.c (skip_to_space): Rename to ...
80 (skip_to_space_const): ... this. Handle const strings.
81 * cli/cli-utils.h (skip_to_space): Turn into macro which invokes
82 skip_to_space_const.
83 (skip_to_space_const): Declare.
84 * common/format.c (parse_format_string): Make "arg" const.
85 Handle const strings.
86 * common/format.h (parse_format_string): Make "arg" const.
87 * gdbserver/ax.c (ax_printf): Make "format" const.
88 * python/python.c (gdbpy_parse_and_eval): Do not make a copy
89 of the expression string.
90
f3cec7e6
HZ
912013-03-12 Hui Zhu <hui@codesourcery.com>
92
93 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Update error message.
94
9df7235c
HZ
952013-03-12 Yao Qi <yao@codesourcery.com>
96 Hui Zhu <hui@codesourcery.com>
97
98 * dwarf2loc.c (access_memory): Change nbits to nbytes in gdb_assert.
99 (dwarf2_compile_expr_to_ax): Call access_memory in DW_OP_deref and
100 DW_OP_deref_size.
101
82d049ab
PH
1022013-03-12 Paul Hilfinger <hilfingr@adacore.com>
103
104 * ada-lex.l (rules): Only recognize 'thread' as a
105 delimiter when followed by numerals, as for c-exp.y.
106 Use new rewind_to_char function to rewind the input for
107 expression-delimiting tokens.
108 (rewind_to_char): New function.
109
8c1fb155
JK
1102013-03-11 Pedro Alves <palves@redhat.com>
111 Jan Kratochvil <jan.kratochvil@redhat.com>
112
113 * configure: Regenerate.
114 * configure.ac (check dynamic export flag): Link python test with
115 $PYTHON_LIBS.
116
cc81e1c6
DE
1172013-03-11 Doug Evans <dje@google.com>
118 Keith Seitz <keiths@redhat.com>
119
120 * linespec.c (find_linespec_symbols): Call find_function_symbols
121 first, and then call lookup_prefix_sym/find_method.
122
39086a0e
PA
1232013-03-11 Pedro Alves <palves@redhat.com>
124
125 * charset.c (convert_between_encodings): Don't cast between
126 different pointer to pointer types. Instead, make the 'inp' local
127 be of the type iconv expects.
128 (wchar_iterate): Don't cast between different pointer to pointer
129 types. Instead, use new pointer local of the type iconv expects.
130 * target.c (target_read_stralloc, target_fileio_read_stralloc):
131 Add new local of type char pointer, and use it to get a
132 char/string view of the byte buffer, instead of casting between
133 pointer to pointer types.
134
90585175
HAQ
1352013-03-11 Hafiz Abid Qadeer <abidh@codesourcery.com>
136
137 * remote.c (remote_set_trace_buffer_size): Move != operator
138 to the start of next line to fix an ARI warning.
139
59ea5688
MM
1402013-03-11 Markus Metzger <markus.t.metzger@intel.com>
141
142 * NEWS: Add record changes.
143
946287b7
MM
1442013-03-11 Markus Metzger <markus.t.metzger@intel.com>
145
146 * record-btrace.c (btrace_insn_history): Omit the pc prefix in
147 the instruction history disassembly.
148 * disasm.c (dump_insns): Omit the pc prefix, if requested.
149 * disasm.h (DISASSEMBLY_OMIT_PC): New.
150
afedecd3
MM
1512013-03-11 Markus Metzger <markus.t.metzger@intel.com>
152
153 * Makefile.in (SFILES): Add record-btrace.c
154 (COMMON_OBS): Add record-btrace.o
155 * record-btrace.c: New.
156 * objfiles.c: Include btrace.h.
157 (free_objfile): call btrace_free_objfile.
158
15984c13
MM
1592013-03-11 Markus Metzger <markus.t.metzger@intel.com>
160
161 * target.c (target_call_history, target_call_history_from,
162 target_call_history_range): New.
163 * target.h (target_ops) <to_call_history, to_call_history_from,
164 to_call_history_range>: New fields.
165 (target_call_history, target_call_history_from,
166 target_call_history_range): New declaration.
167 * record.c (get_call_history_modifiers, cmd_record_call_history,
168 record_call_history_size): New.
169 (_initialize_record): Add the "record function-call-history" command.
170 Add "set/show record function-call-history-size" commands.
171 * record.h (record_print_flag): New.
172
67c86d06
MM
1732013-03-11 Markus Metzger <markus.t.metzger@intel.com>
174
175 * target.h (target_ops) <to_insn_history, to_insn_history_from,
176 to_insn_history_range>: New fields.
177 (target_insn_history): New.
178 (target_insn_history_from): New.
179 (target_insn_history_range): New.
180 * target.c (target_insn_history): New.
181 (target_insn_history_from): New.
182 (target_insn_history_range): New.
183 * record.c: Include cli/cli-utils.h, disasm.h, ctype.h.
184 (record_insn_history_size): New.
185 (get_insn_number): New.
186 (get_context_size): New.
187 (no_chunk): New.
188 (get_insn_history_modifiers): New.
189 (cmd_record_insn_history): New.
190 (_initialize_record): Add "set/show record instruction-history-size"
191 command. Add "record instruction-history" command.
192
7c1687a9
MM
1932013-03-11 Markus Metzger <markus.t.metzger@intel.com>
194
195 * record.h (record_disconnect): New.
196 (record_detach): New.
197 (record_mourn_inferior): New.
198 (record_kill): New.
199 * record-full.c (record_disconnect, record_detach,
200 record_mourn_inferior, record_kill): Move to...
201 * record.c: ...here.
202 (DEBUG): New.
203 (record_stop): New.
204 (record_unpush): New.
205 (cmd_record_stop): Call record_stop. Replace unpush_target
206 call with record_unpush call.
207 (record_disconnect, record_detach): Assert that the target
208 is of record stratum. Call record_unpush, record_stop, and
209 DEBUG.
210 (record_mourn_inferior, record_kill): Assert that the target
211 is of record stratum. Call record_unpush and DEBUG.
212
25ea693b
MM
2132013-03-11 Markus Metzger <markus.t.metzger@intel.com>
214
215 * record-full.h, record-full.c (record_memory_query): Rename
216 to ...
217 (record_full_memory_query): ...this. Update all users.
218 (record_arch_list_add_reg): Rename to ...
219 (record_full_arch_list_add_reg): ...this. Update all users.
220 (record_arch_list_add_mem): Rename to ...
221 (record_full_arch_list_add_mem): ...this. Update all users.
222 (record_arch_list_add_end): Rename to ...
223 (record_full_arch_list_add_end): ...this. Update all users.
224 (record_gdb_operation_disable_set): Rename to ...
225 (record_full_gdb_operation_disable_set): ...this.
226 Update all users.
227
88d1aa9d
MM
2282013-03-11 Markus Metzger <markus.t.metzger@intel.com>
229
230 * record-full.c (DEFAULT_RECORD_INSN_MAX_NUM): Renamed to ...
231 (DEFAULT_RECORD_FULL_INSN_MAX_NUM): ... this. Updated all users.
232 (RECORD_IS_REPLAY): Renamed to ...
233 (RECORD_FULL_IS_REPLAY): ... this. Updated all users.
234 (RECORD_FILE_MAGIC): Renamed to ...
235 (RECORD_FULL_FILE_MAGIC): ... this. Updated all users.
236 (record_mem_entry): Renamed to ...
237 (record_full_mem_entry): ... this. Updated all users.
238 (record_reg_entry): Renamed to ...
239 (record_full_reg_entry): ... this. Updated all users.
240 (record_end_entry): Renamed to ...
241 (record_full_end_entry): ... this. Updated all users.
242 (record_type) <record_end, record_reg, record_mem>: Renamed
243 to ...
244 (record_full_type) <record_full_end, record_full_reg,
245 record_full_mem>: ... this. Updated all users.
246 (record_entry): Renamed to ...
247 (record_full_entry): ... this. Updated all users.
248 (record_core_buf_entry): Renamed to ...
249 (record_full_core_buf_entry): ... this. Updated all users.
250 (record_core_regbuf): Renamed to ...
251 (record_full_core_regbuf): ... this. Updated all users.
252 (record_core_start): Renamed to ...
253 (record_full_core_start): ... this. Updated all users.
254 (record_core_end): Renamed to ...
255 (record_full_core_end): ... this. Updated all users.
256 (record_core_buf_list): Renamed to ...
257 (record_full_core_buf_list): ... this. Updated all users.
258 (record_first): Renamed to ...
259 (record_full_first): ... this. Updated all users.
260 (record_list): Renamed to ...
261 (record_full_list): ... this. Updated all users.
262 (record_arch_list_head): Renamed to ...
263 (record_full_arch_list_head): ... this. Updated all users.
264 (record_arch_list_tail): Renamed to ...
265 (record_full_arch_list_tail): ... this. Updated all users.
266 (record_stop_at_limit): Renamed to ...
267 (record_full_stop_at_limit): ... this. Updated all users.
268 (record_insn_max_num): Renamed to ...
269 (record_full_insn_max_num): ... this. Updated all users.
270 (record_insn_num): Renamed to ...
271 (record_full_insn_num): ... this. Updated all users.
272 (record_insn_count): Renamed to ...
273 (record_full_insn_count): ... this. Updated all users.
274 (record_ops): Renamed to ...
275 (record_full_ops): ... this. Updated all users.
276 (record_core_ops): Renamed to ...
277 (record_full_core_ops): ... this. Updated all users.
278 (set_record_cmdlist): Renamed to ...
279 (set_record_full_cmdlist): ... this. Updated all users.
280 (show_record_cmdlist): Renamed to ...
281 (show_record_full_cmdlist): ... this. Updated all users.
282 (record_cmdlist): Renamed to ...
283 (record_full_cmdlist): ... this. Updated all users.
284 (record_beneath_to_resume_ops): Renamed to ...
285 (record_full_beneath_to_resume_ops): ... this. Updated all users.
286 (record_beneath_to_resume): Renamed to ...
287 (record_full_beneath_to_resume): ... this. Updated all users.
288 (record_beneath_to_wait_ops): Renamed to ...
289 (record_full_beneath_to_wait_ops): ... this. Updated all users.
290 (record_beneath_to_wait): Renamed to ...
291 (record_full_beneath_to_wait): ... this. Updated all users.
292 (record_beneath_to_store_registers_ops): Renamed to ...
293 (record_full_beneath_to_store_registers_ops): ... this.
294 Updated all users.
295 (record_beneath_to_store_registers): Renamed to ...
296 (record_full_beneath_to_store_registers): ... this.
297 Updated all users.
298 (record_beneath_to_xfer_partial_ops): Renamed to ...
299 (record_full_beneath_to_xfer_partial_ops): ... this.
300 Updated all users.
301 (record_beneath_to_xfer_partial): Renamed to ...
302 (record_full_beneath_to_xfer_partial): ... this.
303 Updated all users.
304 (record_beneath_to_insert_breakpoint): Renamed to ...
305 (record_full_beneath_to_insert_breakpoint): ... this.
306 Updated all users.
307 (record_beneath_to_stopped_by_watchpoint): Renamed to ...
308 (record_full_beneath_to_stopped_by_watchpoint): ... this.
309 Updated all users.
310 (record_beneath_to_stopped_data_address): Renamed to ...
311 (record_full_beneath_to_stopped_data_address): ... this.
312 Updated all users.
313 (record_beneath_to_async): Renamed to ...
314 (record_full_beneath_to_async): ... this. Updated all users.
315 (record_goto_insn): Renamed to ...
316 (record_full_goto_insn): ... this. Updated all users.
317 (record_save): Renamed to ...
318 (record_full_save): ... this. Updated all users.
319 (record_reg_alloc): Renamed to ...
320 (record_full_reg_alloc): ... this. Updated all users.
321 (record_reg_release): Renamed to ...
322 (record_full_reg_release): ... this. Updated all users.
323 (record_mem_alloc): Renamed to ...
324 (record_full_mem_alloc): ... this. Updated all users.
325 (record_mem_release): Renamed to ...
326 (record_full_mem_release): ... this. Updated all users.
327 (record_end_alloc): Renamed to ...
328 (record_full_end_alloc): ... this. Updated all users.
329 (record_end_release): Renamed to ...
330 (record_full_end_release): ... this. Updated all users.
331 (record_entry_release): Renamed to ...
332 (record_full_entry_release): ... this. Updated all users.
333 (record_list_release): Renamed to ...
334 (record_full_list_release): ... this. Updated all users.
335 (record_list_release_following): Renamed to ...
336 (record_full_list_release_following): ... this.
337 Updated all users.
338 (record_list_release_first): Renamed to ...
339 (record_full_list_release_first): ... this. Updated all users.
340 (record_arch_list_add): Renamed to ...
341 (record_full_arch_list_add): ... this. Updated all users.
342 (record_get_loc): Renamed to ...
343 (record_full_get_loc): ... this. Updated all users.
344 (record_check_insn_num): Renamed to ...
345 (record_full_check_insn_num): ... this. Updated all users.
346 (record_arch_list_cleanups): Renamed to ...
347 (record_full_arch_list_cleanups): ... this. Updated all users.
348 (record_message): Renamed to ...
349 (record_full_message): ... this. Updated all users.
350 (record_message_wrapper): Renamed to ...
351 (record_full_message_wrapper): ... this. Updated all users.
352 (record_message_wrapper_safe): Renamed to ...
353 (record_full_message_wrapper_safe): ... this. Updated all users.
354 (record_gdb_operation_disable): Renamed to ...
355 (record_full_gdb_operation_disable): ... this. Updated all users.
356 (record_hw_watchpoint): Renamed to ...
357 (record_full_hw_watchpoint): ... this. Updated all users.
358 (record_exec_insn): Renamed to ...
359 (record_full_exec_insn): ... this. Updated all users.
360 (record_restore): Renamed to ...
361 (record_full_restore): ... this. Updated all users.
362 (record_async_inferior_event_token): Renamed to ...
363 (record_full_async_inferior_event_token): ... this.
364 Updated all users.
365 (record_async_inferior_event_handler): Renamed to ...
366 (record_full_async_inferior_event_handler): ... this.
367 Updated all users.
368 (record_core_open_1): Renamed to ...
369 (record_full_core_open_1): ... this. Updated all users.
370 (record_open_1): Renamed to ...
371 (record_full_open_1): ... this. Updated all users.
372 (record_open): Renamed to ...
373 (record_full_open): ... this. Updated all users.
374 (record_close): Renamed to ...
375 (record_full_close): ... this. Updated all users.
376 (record_resume_step): Renamed to ...
377 (record_full_resume_step): ... this. Updated all users.
378 (record_resumed): Renamed to ...
379 (record_full_resumed): ... this. Updated all users.
380 (record_execution_dir): Renamed to ...
381 (record_full_execution_dir): ... this. Updated all users.
382 (record_resume): Renamed to ...
383 (record_full_resume): ... this. Updated all users.
384 (record_get_sig): Renamed to ...
385 (record_full_get_sig): ... this. Updated all users.
386 (record_sig_handler): Renamed to ...
387 (record_full_sig_handler): ... this. Updated all users.
388 (record_wait_cleanups): Renamed to ...
389 (record_full_wait_cleanups): ... this. Updated all users.
390 (record_wait_1): Renamed to ...
391 (record_full_wait_1): ... this. Updated all users.
392 (record_wait): Renamed to ...
393 (record_full_wait): ... this. Updated all users.
394 (record_stopped_by_watchpoint): Renamed to ...
395 (record_full_stopped_by_watchpoint): ... this. Updated all users.
396 (record_disconnect): Renamed to ...
397 (record_full_disconnect): ... this. Updated all users.
398 (record_detach): Renamed to ...
399 (record_full_detach): ... this. Updated all users.
400 (record_mourn_inferior): Renamed to ...
401 (record_full_mourn_inferior): ... this. Updated all users.
402 (record_kill): Renamed to ...
403 (record_full_kill): ... this. Updated all users.
404 (record_stopped_data_address): Renamed to ...
405 (record_full_stopped_data_address): ... this. Updated all users.
406 (record_registers_change): Renamed to ...
407 (record_full_registers_change): ... this. Updated all users.
408 (record_store_registers): Renamed to ...
409 (record_full_store_registers): ... this. Updated all users.
410 (record_xfer_partial): Renamed to ...
411 (record_full_xfer_partial): ... this. Updated all users.
412 (record_breakpoint): Renamed to ...
413 (record_full_breakpoint): ... this. Updated all users.
414 (record_breakpoint_p): Renamed to ...
415 (record_full_breakpoint_p): ... this. Updated all users.
416 (record_breakpoints): Renamed to ...
417 (record_full_breakpoints): ... this. Updated all users.
418 (record_sync_record_breakpoints): Renamed to ...
419 (record_full_sync_record_breakpoints): ... this.
420 Updated all users.
421 (record_init_record_breakpoints): Renamed to ...
422 (record_full_init_record_breakpoints): ... this.
423 Updated all users.
424 (record_insert_breakpoint): Renamed to ...
425 (record_full_insert_breakpoint): ... this. Updated all users.
426 (record_remove_breakpoint): Renamed to ...
427 (record_full_remove_breakpoint): ... this. Updated all users.
428 (record_can_execute_reverse): Renamed to ...
429 (record_full_can_execute_reverse): ... this. Updated all users.
430 (record_get_bookmark): Renamed to ...
431 (record_full_get_bookmark): ... this. Updated all users.
432 (record_goto_bookmark): Renamed to ...
433 (record_full_goto_bookmark): ... this. Updated all users.
434 (record_async): Renamed to ...
435 (record_full_async): ... this. Updated all users.
436 (record_can_async_p): Renamed to ...
437 (record_full_can_async_p): ... this. Updated all users.
438 (record_is_async_p): Renamed to ...
439 (record_full_is_async_p): ... this. Updated all users.
440 (record_execution_direction): Renamed to ...
441 (record_full_execution_direction): ... this. Updated all users.
442 (record_info): Renamed to ...
443 (record_full_info): ... this. Updated all users.
444 (record_delete): Renamed to ...
445 (record_full_delete): ... this. Updated all users.
446 (record_is_replaying): Renamed to ...
447 (record_full_is_replaying): ... this. Updated all users.
448 (record_goto_entry): Renamed to ...
449 (record_full_goto_entry): ... this. Updated all users.
450 (record_goto_begin): Renamed to ...
451 (record_full_goto_begin): ... this. Updated all users.
452 (record_goto_end): Renamed to ...
453 (record_full_goto_end): ... this. Updated all users.
454 (record_goto): Renamed to ...
455 (record_full_goto): ... this. Updated all users.
456 (init_record_ops): Renamed to ...
457 (init_record_full_ops): ... this. Updated all users.
458 (record_core_resume): Renamed to ...
459 (record_full_core_resume): ... this. Updated all users.
460 (record_core_kill): Renamed to ...
461 (record_full_core_kill): ... this. Updated all users.
462 (record_core_fetch_registers): Renamed to ...
463 (record_full_core_fetch_registers): ... this. Updated all users.
464 (record_core_prepare_to_store): Renamed to ...
465 (record_full_core_prepare_to_store): ... this. Updated all users.
466 (record_core_store_registers): Renamed to ...
467 (record_full_core_store_registers): ... this. Updated all users.
468 (record_core_xfer_partial): Renamed to ...
469 (record_full_core_xfer_partial): ... this. Updated all users.
470 (record_core_insert_breakpoint): Renamed to ...
471 (record_full_core_insert_breakpoint): ... this. Updated all users.
472 (record_core_remove_breakpoint): Renamed to ...
473 (record_full_core_remove_breakpoint): ... this. Updated all users.
474 (record_core_has_execution): Renamed to ...
475 (record_full_core_has_execution): ... this. Updated all users.
476 (init_record_core_ops): Renamed to ...
477 (init_record_full_core_ops): ... this. Updated all users.
478 (cmd_record_restore): Renamed to ...
479 (cmd_record_full_restore): ... this. Updated all users.
480 (record_save_cleanups): Renamed to ...
481 (record_full_save_cleanups): ... this. Updated all users.
482 (cmd_record_start): Renamed to ...
483 (cmd_record_full_start): ... this. Updated all users.
484 (set_record_insn_max_num): Renamed to ...
485 (set_record_full_insn_max_num): ... this. Updated all users.
486 (set_record_command): Renamed to ...
487 (set_record_full_command): ... this. Updated all users.
488 (show_record_command): Renamed to ...
489 (show_record_full_command): ... this. Updated all users.
490 (_initialize_record): Renamed to ...
491 (_initialize_record_full): ... this. Updated all users.
492
d02ed0bb
MM
4932013-03-11 Markus Metzger <markus.t.metzger@intel.com>
494
495 * record.h: Split into this and ...
496 * record-full.h: ... this.
497 * record.c: Split into this and ...
498 * record-full.c: ... this.
499 * target.h (target_ops): Add new fields to_info_record,
500 to_save_record, to_delete_record, to_record_is_replaying,
501 to_goto_record_begin, to_goto_record_end, to_goto_record.
502 (target_info_record): New.
503 (target_save_record): New.
504 (target_supports_delete_record): New.
505 (target_delete_record): New.
506 (target_record_is_replaying): New.
507 (target_goto_record_begin): New.
508 (target_goto_record_end): New.
509 (target_goto_record): New.
510 * target.c (target_info_record): New.
511 (target_save_record): New.
512 (target_supports_delete_record): New.
513 (target_delete_record): New.
514 (target_record_is_replaying): New.
515 (target_goto_record_begin): New.
516 (target_goto_record_end): New.
517 (target_goto_record): New.
518 * record.h: Declare struct cmd_list_element.
519 (record_cmdlist): New declaration.
520 (set_record_cmdlist): New declaration.
521 (show_record_cmdlist): New declaration.
522 (info_record_cmdlist): New declaration.
523 (cmd_record_goto): New declaration.
524 * record.c: Remove unnecessary includes.
525 Include inferior.h.
526 (cmd_record_goto): Remove declaration.
527 (record_cmdlist): Now extern. Initialize.
528 (set_record_cmdlist): Now extern. Initialize.
529 (show_record_cmdlist): Now extern. Initialize.
530 (info_record_cmdlist): Now extern. Initialize.
531 (find_record_target): New.
532 (require_record_target): New.
533 (cmd_record_start): Update.
534 (cmd_record_delete): Remove target-specific code.
535 Call target_delete_record.
536 (cmd_record_stop): Unpush any record target.
537 (set_record_insn_max_num): Move to record-full.c
538 (set_record_command): Add comment.
539 (show_record_command): Add comment.
540 (info_record_command): Update comment.
541 Remove target-specific code.
542 Call the record target's to_info_record.
543 (cmd_record_start): New.
544 (cmd_record_goto): Now extern.
545 Remove target-specific code.
546 Call target_goto_begin, target_goto_end, or target_goto.
547 (_initialize_record): Move record target ops initialization to
548 record-full.c.
549 Change "record" command help text.
550 Move "record restore", "record set", and "record show" commands to
551 record-full.c.
552 * Makefile.in (SFILES): Add record-full.c.
553 (HFILES_NO_SRCDIR): Add record-full.h.
554 (COMMON_OBS): Add record-full.o.
555 * amd64-linux-tdep.c: Include record-full.h instead of record.h.
556 * arm-tdep.c: Include record-full.h.
557 * i386-linux-tdep.c: Include record-full.h instead of record.h.
558 * i386-tdep.c: Include record-full.h.
559 * infrun.c: Include record-full.h.
560 * linux-record.c: Include record-full.h.
561 * moxie-tdep.c: Include record-full.h.
562 * record-full.c: Include record-full.h.
563 Change module comment.
564 (set_record_full_cmdlist): New.
565 (show_record_full_cmdlist): New.
566 (record_full_cmdlist): New.
567 (record_goto_insn): New declaration.
568 (record_save): New declaration.
569 (record_check_insn_num): Change query string.
570 (record_info): New.
571 (record_delete): New.
572 (record_is_replaying): New.
573 (record_goto_entry): New.
574 (record_goto_begin): New.
575 (record_goto_end): New.
576 (record_goto): New.
577 (init_record_ops): Update.
578 (init_record_core_ops): Update.
579 (cmd_record_save): Rename to record_save. Remove target and arg checks.
580 (cmd_record_start): New.
581 (set_record_insn_max_num): Moved from record.c
582 (set_record_full_command): New.
583 (show_record_full_command): New.
584 (_initialize_record_full): New.
585
b48d48eb
MM
5862013-03-11 Markus Metzger <markus.t.metzger@intel.com>
587
588 * target.h (add_deprecated_target_alias): New.
589 * target.c (add_deprecated_target_alias): New.
590
a950d57c
MM
5912013-03-11 Markus Metzger <markus.t.metzger@intel.com>
592
593 * common/linux-btrace.c: Include sys/ptrace, sys/types, sys/wait.h,
594 and signal.h.
595 (linux_supports_btrace): Add kernel and
596 cpuid check.
597 (kernel_supports_btrace): New function.
598 (cpu_supports_btrace): New function.
599 (intel_supports_btrace): New function.
600
9accd112
MM
6012013-03-11 Markus Metzger <markus.t.metzger@intel.com>
602
603 * target.h (enum target_object): Add TARGET_OBJECT_BTRACE.
604 * remote.c: Include btrace.h.
605 (struct btrace_target_info): New struct.
606 (remote_supports_btrace): New function.
607 (send_Qbtrace): New function.
608 (remote_enable_btrace): New function.
609 (remote_disable_btrace): New function.
610 (remote_teardown_btrace): New function.
611 (remote_read_btrace): New function.
612 (init_remote_ops): Add btrace ops.
613 (enum <unnamed>): Add btrace packets.
614 (struct protocol_feature remote_protocol_features[]): Add btrace packets.
615 (_initialize_remote): Add packet configuration for branch tracing.
616
c12a2917
MM
6172013-03-11 Markus Metzger <markus.t.metzger@intel.com>
618
619 * features/btrace.dtd: New file.
620 * Makefile.in (XMLFILES): Add btrace.dtd.
621 * btrace.h (parse_xml_btrace): New declaration.
622 * btrace.c: Include xml-support.h.
623 (parse_xml_btrace): New function.
624 (parse_xml_btrace_block): New function.
625 (block_attributes): New struct.
626 (btrace_attributes): New struct.
627 (btrace_children): New struct.
628 (btrace_elements): New struct.
629
3e3aea48
MM
6302013-03-11 Markus Metzger <markus.t.metzger@intel.com>
631
632 * amd64-linux-nat.c: Include btrace.h and linux-btrace.h.
633 (amd64_linux_enable_btrace): New.
634 (amd64_linux_disable_btrace): New.
635 (amd64_linux_teardown_btrace): New.
636 (_initialize_amd64_linux_nat): Initialize btrace ops.
637 * i386-linux.nat.c: Include btrace.h and linux-btrace.h.
638 (i386_linux_enable_btrace): New.
639 (i386_linux_disable_btrace): New.
640 (i386_linux_teardown_btrace): New.
641 (_initialize_i386_linux_nat): Initialize btrace ops.
642 * config/i386/linux.mh: Add linux-btrace.o.
643 * config/i386/linux64.mh: Add linux-btrace.o.
644
7c97f91e
MM
6452013-03-11 Markus Metzger <markus.t.metzger@intel.com>
646
647 * common/linux_btrace.h: New file.
648 * common/linux_btrace.c: New file.
649 * Makefile.in (SFILES): Add btrace.c.
650 (HFILES_NO_SRCDIR): Add common/linux-btrace.h.
651 (COMMON_OBS): Add btrace.o.
652 (linux-btrace.o): New rule.
653
1999790b 6542013-03-11 Markus Metzger <markus.t.metzger@intel.com>
02d27625
MM
655
656 * target.h: Include btrace.h.
657 (struct target_ops) <to_supports_btrace, to_enable_btrace,
658 to_disable_btrace, to_teardown_btrace, to_read_btrace>: New.
659 * target.c (target_supports_btrace): New function.
660 (target_enable_btrace): New function.
661 (target_disable_btrace): New function.
662 (target_teardown_btrace): New function.
663 (target_read_btrace): New function.
664 * btrace.h: New file.
665 * btrace.c: New file.
666 * Makefile.in: Add btrace.c.
667 * gdbthread.h: Include btrace.h.
668 (struct thread_info): Add btrace field.
669 * thread.c: Include btrace.h.
670 (clear_thread_inferior_resources): Call target_teardown_btrace.
671 * common/btrace-common.h: New file.
672
61a31a67
JK
6732013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
674
675 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Call also kill
676 for CHILD, ignore PTRACE_KILL errors, move the inner block variable
677 kill_status to outer block.
678
05c56a9d
JK
6792013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
680
681 Fix entry-values if the callee called a noreturn function.
682 * dwarf2-frame-tailcall.c (dwarf2_tailcall_sniffer_first): Use
683 get_frame_address_in_block. Add new comment.
684
9112db09
JK
6852013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
686
687 Fix entry-values in C++ across CUs.
688 * dwarf2loc.c (call_site_to_target_addr) <FIELD_LOC_KIND_PHYSNAME>: Use
689 lookup_minimal_symbol. Add a comment.
690 * dwarf2read.c
691 (read_call_site_scope) <is_ref_attr> <die_is_declaration>: Prefer
692 DW_AT_linkage_name.
693
9b67fcec
YQ
6942013-03-08 Yao Qi <yao@codesourcery.com>
695
696 * tracepoint.c (_initialize_tracepoint): Indent the code.
697
6221be90
PA
6982013-03-08 Pedro Alves <palves@redhat.com>
699
700 * findcmd.c (put_bits): Change type of parameter to 'gdb_byte *'.
701 (parse_find_args, find_command): Change type of pattern buffer
702 locals to 'gdb_byte *'.
703
be9a119c 7042013-03-08 Stan Shebs <stan@codesourcery.com>
f6f899bf
HAQ
705 Hafiz Abid Qadeer <abidh@codesourcery.com>
706
707 * NEWS: Mention set and show trace-buffer-size commands.
708 Mention new packet.
709 * target.h (struct target_ops): New method
710 to_set_trace_buffer_size.
711 (target_set_trace_buffer_size): New macro.
712 * target.c (update_current_target): Set up new method.
713 * tracepoint.c (trace_buffer_size): New global.
714 (start_tracing): Send it to the target.
715 (set_trace_buffer_size): New function.
716 (_initialize_tracepoint): Add new setshow for trace-buffer-size.
717 * remote.c (remote_set_trace_buffer_size): New function.
718 (_initialize_remote): Use it.
719 (QTBuffer:size) New remote command.
720 (PACKET_QTBuffer_size): New enum.
721 (remote_protocol_features): Add an entry for
722 PACKET_QTBuffer_size.
723
7da3ab79
TT
7242013-03-08 Tom Tromey <tromey@redhat.com>
725
726 * remote-m32r-sdi.c (m32r_load): Call skip_spaces on correct
727 variable.
728
0c1f71e7
PA
7292013-03-07 Pedro Alves <palves@redhat.com>
730
731 * target.c (target_read_stralloc, target_fileio_read_alloc):
732 *Cast pointer to 'gdb_byte *' in target call.
733
c8af03a2
PA
7342013-03-07 Pedro Alves <palves@redhat.com>
735
736 * corefile.c (read_memory_string): Cast pointer to gdb_byte* in
737 call.
738
529480d0
KS
7392013-03-07 Keith Seitz <keiths@redhat.com>
740
741 * breakpoint.c (catch_syscall_split_args): Use skip_spaces.
742 (trace_pass_command): Likewise.
743 * cli/cli-cmds.c: Include cli/cli-utils.h.
744 (source_command): Use skip-spaces.
745 (disassemble_command): Likewise.
746 * findcmd.c: Include cli/cli-utils.h.
747 (parse_find_args): Use skip_spaces.
748 * go32-nat.c: Include cli/cli-utils.h.
749 (go32_sldt): Use skip_spaces.
750 (go32_sgdt): Likewise.
751 (go32_sidt): Likewise.
752 (go32_pde): Likewise.
753 (go32_pte): Likewise.
754 (go32_pte_for_address): Likewise.
755 * infcmd.c: Include cli/cli-utils.h.
756 (registers_info): Use skip_spaces.
757 * linux-tdep.c (read_mapping): Use skip_spaces_const.
758 (linux_info_proc): Likewise.
759 * linux-thread-db.c: Include cli/cli-utils.h.
760 (info_auto_load_libthread_db): Use skip_spaces_const.
761 * m32r-rom.c: Include cli/cli-utils.h.
762 (m32r_upload_command): Use skip_spaces.
763 * maint.c: Include cli/cli-utils.h.
764 (maintenance_translate_address): Use skip_spaces.
765 * mi/mi-parse.c: Include cli/cli-utils.h.
766 (mi_parse_argv): Use skip_spaces.
767 (mi_parse): Likewise.
768 * minsyms.c: Include cli/cli-utils.h.
769 (msymbol_hash_iw): Use skip_spaces_const.
770 * objc-lang.c: Include cli/cli-utils.h.
771 (parse_selector): Use skip_spaces.
772 (parse_method): Likewise.
773 * python/python.c: Include cli/cli-utils.h.
774 (python_interactive_command)[HAVE_PYTHON]: Use skip_spaces.
775 (python_command)[HAVE_PYTHON]: Likewise.
776 (python_interactive_command)[!HAVE_PYTHON]: Likewise.
777 * remote-m32r-sdi.c: Include cli/cli-utils.h.
778 (m32r_load): Use skip_spaces.
779 * serial.c: Include cli/cli-utils.h.
780 (serial_open): Use skip_spaces_const.
781 * stack.c: Include cli/cli-utils.h.
782 (parse_frame_specification_1): Use skip_spaces_const.
783 * symfile.c: Include cli/cli-utils.h.
784 (set_ext_lang_command): Use skip_spaces.
785 * symtab.c: Include cli/cli-utils.h.
786 (rbreak_command): Use skip_spaces.
787 * thread.c (thread_name_command): Use skip_spaces.
788 * tracepoint.c (validate_actionline): Use skip_spaces.
789 (encode_actions_1): Likewise.
790 (trace_find_range_command): Likewise.
791 (trace_find_outside_command): Likewise.
792 (trace_dump_actions): Likewise.
793
ac91cd70
PA
7942013-03-07 Pedro Alves <palves@redhat.com>
795
796 * c-lang.c (parse_one_string): Cast argument to gdb_byte *.
797 * expprint.c (print_subexp_standard): Likewise.
798 * utils.c (host_char_to_target): Likewise.
799 * valprint.c (generic_emit_char, generic_printstr): Likewise.
800 * varobj.c (value_get_print_value): Change type of local to char*.
801 Cast it gdb_byte * in call to language printer.
802
2898e560
PA
8032013-03-07 Pedro Alves <palves@redhat.com>
804
805 * charset.c (struct wchar_iterator) <input>: Change type to 'const
806 gdb_byte *'.
807 (make_wchar_iterator): Remove cast to char*.
808 (wchar_iterate): Change type of local.
809
a09b4448
PA
8102013-03-07 Pedro Alves <palves@redhat.com>
811
812 * regcache.c (regcache_xmalloc_1): Call XCALLOC with signed char
813 for 'regcache->register_status'.
814
20ced3e4
PA
8152013-03-07 Pedro Alves <palves@redhat.com>
816
c2d6a675 817 * breakpoint.c (breakpoint_xfer_memory): Change type of local to
20ced3e4
PA
818 int.
819
fe106009
PA
8202013-03-07 Pedro Alves <palves@redhat.com>
821
822 * stap-probe.c (handle_stap_probe): Add cast to char*.
823
8ac2c12b
PA
8242013-03-07 Pedro Alves <palves@redhat.com>
825
826 * linux-record.c (record_linux_system_call) <gdb_sys_msgrcv,
827 RECORD_MSGRCV>: Pass a signed variable to
828 regcache_raw_read_signed, instead of an unsigned one.
829
99f0a309
PA
8302013-03-07 Pedro Alves <palves@redhat.com>
831
832 * remote-notif.c (notif_debug): Change type to int.
833 * remote-notif.h (notif_debug): Likewise.
834
964b8317
PA
8352013-03-07 Pedro Alves <palves@redhat.com>
836
837 * ser-tcp.c (tcp_retry_limit): Change type to unsigned int.
838
f0cc8ad4
PA
8392013-03-07 Pedro Alves <palves@redhat.com>
840
841 * remote.c (hex2bin, bin2hex): Move extern declarations to ...
842 * remote.h (hex2bin, bin2hex): ... here.
843 * tracepoint.c (hex2bin, bin2hex): Remove extern declarations.
844
77dec115
EZ
8452013-03-07 Eli Zaretskii <eliz@gnu.org>
846
847 * utils.c (initialize_utils): Improve doc strings of "set/show
848 width", "set/show height", and "set/show pagination".
849
741d92cf
KS
8502013-03-06 Keith Seitz <keiths@redhat.com>
851
852 * ax-gdb.c (gen_printf): Make FORMAT const.
853 * ax-gdb.h (gen_printf): Likewise.
854 * ax-general.c (ax_string): Make STR const.
855 * ax.h (ax_string): Likewise.
856
7b6c814e
DE
8572013-03-06 Doug Evans <dje@google.com>
858
859 * elfread.c (elf_symfile_read): Move debugging printf to more
860 logical location.
861
634334ab
PA
8622013-03-06 Pedro Alves <palves@redhat.com>
863
864 * python/py-utils.c (target_string_to_unicode): Delete function.
865 * python/python-internal.h (target_string_to_unicode): Delete
866 declaration.
867
e482a1a7
PM
8682013-03-06 Pierre Muller <muller@sourceware.org>
869
870 * linespec.c (get_current_search_block): ARI fix, use (void)
871 for empty parameter list.
872
4eeaa230
DE
8732013-03-05 Doug Evans <dje@google.com>
874
875 * ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
876 of old ada_lookup_symbol_list. In !full_search case, don't
877 search superblocks.
878 (ada_lookup_symbol_list): Delete arg full_search, all callers
879 updated. Call ada_lookup_symbol_list_worker.
880 (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker.
881 * ada-lang.h (ada_lookup_symbol_list): Update.
882 * language.h (language_defn): Update comment for
883 la_iterate_over_symbols.
884 * linespec.c (iterate_over_file_blocks): New function.
885 (iterate_over_all_matching_symtabs): Call it.
886 (lookup_prefix_sym): Ditto.
887 (get_current_search_block): New function.
888 (get_search_block): Delete.
889 (find_label_symbols): Call get_current_search_block.
890 (add_matching_symbols_to_info): Call iterate_over_file_blocks.
891 * symtab.c (iterate_over_symbols): Don't search superblocks.
892
b69b1fb1
YQ
8932013-03-05 Yao Qi <yao@codesourcery.com>
894
895 * cli/cli-decode.c (add_setshow_zuinteger_unlimited_cmd): Change
896 parameter VAR's type from "unsigned int" to "int".
897 * command.h (var_zuinteger_unlimited): Update its comments.
898 (add_setshow_zuinteger_unlimited_cmd): Update the declaration.
899
3c095f49
CV
9002013-03-05 Corinna Vinschen <vinschen@redhat.de>
901
902 * NEWS: Mention new target x86_64-*-cygwin*.
903
b5b0b0af
CV
9042013-03-05 Corinna Vinschen <vinschen@redhat.de>
905
906 * configure.host: Add x86_64-*-cygwin* as host.
907 * configure.tgt: Add x86_64-*-cygwin* as target.
908 * config/i386/cygwin64.mh: New file.
909
f6f99966
JK
9102013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
911
912 * linespec.c (decode_line_2): Fix duplicate request off by two message.
913
33f448b1
JK
9142013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
915
916 * linespec.c (struct linespec_canonical_name): New.
917 (struct linespec_state): Change canonical_names type to it.
918 (add_sal_to_sals): Change variable canonical_name to canonical. Change
919 xrealloc element size. Initialize the different CANONICAL fields.
920 (canonical_to_fullform): New.
921 (filter_results): Use it. Add variables canonical, fullform and
922 cleanup.
923 (struct decode_line_2_item, decode_line_2_compare_items): New.
924 (decode_line_2): Remove variables iter and item_names, add variables
925 items and items_count. Modify the code for these new variables.
926
feb14725
CV
9272013-03-04 Corinna Vinschen <vinschen@redhat.com>
928
929 * coff-pe-read.c (read_pe_exported_syms): Don't return without
930 calling do_cleanup.
931
e83b17ba
HZ
9322013-03-04 Luis Machado <lgustavo@codesourcery.com>
933
934 * tracepoint.c (build_traceframe_info): Add code for byte order.
935
a2d13a0d
KB
9362013-03-02 Kevin Buettner <kevinb@redhat.com>
937
8dddcae8
KB
938 * v850-tdep.c: (v850e2_register_name): Revise system register
939 names to match current V850E2M architecture specifications.
940 Update register number enum comments too.
a2d13a0d 941
d79e58d8
JW
9422013-03-01 Jiong Wang <jiwang@tilera.com>
943 Pedro Alves <palves@redhat.com>
944
945 * tilegx-tdep.c (tilegx_analyze_prologue): Limit bundle reading
946 to END_ADDR.
947 (tilegx_skip_prologue): Limit prologue analysis to section end.
948
c4be5165
JK
9492013-03-01 Jan Kratochvil <jan.kratochvil@redhat.com>
950
951 * dwarf2loc.c (call_site_find_chain_1): New variable save_callee_pc,
952 use it.
953
e362b510
PA
9542013-03-01 Pedro Alves <palves@redhat.com>
955
956 Use gdb_byte for bytes from the program being debugged.
957
958 * arm-tdep.c (arm_store_return_value, arm_get_longjmp_target):
959 Change type of local 'buf' to gdb_byte.
960 * avr-tdep.c (avr_frame_prev_register, avr_push_dummy_call): Likewise.
961 * bfin-tdep.c (bfin_push_dummy_call): Likewise.
962 * cris-tdep.c (cris_sigcontext_addr)
963 (cris_sigtramp_frame_unwind_cache): Likewise.
964 * frv-linux-tdep.c (frv_linux_pc_in_sigtramp)
965 (frv_linux_sigcontext_reg_addr, frv_linux_sigtramp_frame_cache):
966 Likewise.
967 * frv-tdep.c (frv_pseudo_register_write, frv_analyze_prologue): Likewise.
968 * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer)
969 (hppa32_hpux_search_dummy_call_sequence)
970 (hppa_hpux_supply_save_state): Likewise.
971 * hppa-linux-tdep.c (insns_match_pattern)
972 (hppa_linux_find_global_pointer): Likewise.
973 * hppa-tdep.c (hppa_in_function_epilogue_p)
974 (skip_prologue_hard_way, hppa_frame_cache): Likewise.
975 * i386-nto-tdep.c (i386nto_sigcontext_addr): Likewise.
976 * i386fbsd-tdep.c (i386fbsd_supply_uthread)
977 (i386fbsd_collect_uthread): Likewise.
978 * ia64-hpux-tdep.c (ia64_hpux_push_dummy_code): Likewise.
979 * ia64-linux-tdep.c (ia64_linux_sigcontext_register_address): Likewise.
980 * ia64-tdep.c (examine_prologue, ia64_frame_cache)
981 (ia64_frame_prev_register, ia64_sigtramp_frame_cache)
982 (ia64_sigtramp_frame_prev_register, ia64_access_reg)
983 (ia64_access_rse_reg, ia64_libunwind_frame_this_id)
984 (ia64_libunwind_frame_prev_register)
985 (ia64_libunwind_sigtramp_frame_this_id)
986 (ia64_find_global_pointer_from_dynamic_section)
987 (find_extant_func_descr, find_func_descr, ia64_dummy_id)
988 (ia64_unwind_pc): Likewise.
989 * iq2000-tdep.c (iq2000_store_return_value): Likewise.
990 * m68hc11-tdep.c (m68hc11_push_dummy_call)
991 (m68hc11_extract_return_value): Likewise.
992 * m68klinux-nat.c (fetch_register, store_register): Likewise.
993 * mep-tdep.c (mep_pseudo_cr32_read, mep_pseudo_cr32_write)
994 (mep_get_insn, mep_push_dummy_call): Likewise.
995 * mips-linux-tdep.c (mips_linux_get_longjmp_target)
996 (mips_linux_in_dynsym_stub): Likewise.
997 * mn10300-tdep.c (mep_pseudo_cr32_write): Likewise.
998 * ppc-linux-nat.c (fetch_register, store_register): Likewise.
999 * regcache.c (dump_endian_bytes): Change type of parameter 'buf'
1000 to gdb_byte.
1001 * remote-mips.c (mips_set_register): Likewise.
1002 * remote-sim.c (gdbsim_fetch_register): Likewise.
1003 * score-tdep.c (score7_fetch_inst): Change type of parameter
1004 'memblock' and local 'buf' to gdb_byte.
1005 (score7_malloc_and_get_memblock): Change return type to gdb_byte.
1006 Change type of local 'buf' to gdb_byte. Adjust.
1007 (score7_adjust_memblock_ptr): Change type of parameter 'memblock'
1008 to gdb_byte**.
1009 (score7_analyze_prologue): Change type of 'memblock' and
1010 'memblock_ptr' locals to gdb_byte*.
1011 * sh64-tdep.c (sh64_extract_return_value)
1012 (sh64_store_return_value): Change type of local 'buf' to gdb_byte.
1013 * solib-darwin.c (darwin_current_sos, darwin_read_exec_load_addr):
1014 * solib-pa64.c (pa64_solib_create_inferior_hook)
1015 (pa64_open_symbol_file_object): Remove local 'buf'.
1016 * solib-som.c (som_solib_create_inferior_hook, link_map_start)
1017 (som_open_symbol_file_object): Likewise.
1018 * solib-spu.c (spu_current_sos): Likewise.
1019 * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise.
1020 * spu-multiarch.c (parse_spufs_run, spu_fetch_registers)
1021 (spu_store_registers): Likewise.
1022 * target.c (debug_print_register): Likewise.
1023 * tic6x-tdep.c (tic6x_get_longjmp_target): Likewise.
1024 * xstormy16-tdep.c (xstormy16_store_return_value)
1025 (xstormy16_push_dummy_call, xstormy16_resolve_jmp_table_entry)
1026 (xstormy16_find_jmp_table_entry): Likewise.
1027
75cc61ca 10282013-03-01 Jiong Wang <jiwang@tilera.com>
61d8bd0e
JW
1029
1030 * tilegx-tdep.c (tilegx_get_longjmp_target): New function.
1031 (tilegx_gdbarch_init): Install it.
1032
ddb08e9c
TT
10332013-02-28 Tom Tromey <tromey@redhat.com>
1034
1035 * python/py-arch.c (archpy_disassemble): Use PyInt_Check and
1036 PyLong_Check.
1037
62d7fb51
DE
10382013-02-28 Doug Evans <dje@google.com>
1039
1040 * python/py-finishbreakpoint.c (bpfinishpy_init): gcc -Wall lint.
1041 * python/python.c (gdbpy_find_pc_line): Ditto.
1042
c4a9e8b4
TT
10432013-02-28 Tom Tromey <tromey@redhat.com>
1044
1045 * contrib/excheck.py: New file.
1046 * contrib/exsummary.py: New file.
1047 * contrib/gcc-with-excheck: New file.
1048
7f6a5dde
TT
10492013-02-28 Tom Tromey <tromey@redhat.com>
1050
1051 * python/python.c (gdbpy_print_stack): Call begin_line and
1052 fprintf_filtered inside TRY_CATCH.
1053
9e974e55
TT
10542013-02-28 Tom Tromey <tromey@redhat.com>
1055
1056 * python/python.c (gdbpy_find_pc_line): Call find_pc_line
1057 inside TRY_CATCH.
1058
dd5fa3e7
TT
10592013-02-28 Tom Tromey <tromey@redhat.com>
1060
1061 * py-finishbreakpoint.c (bpfinishpy_init): Reorganize to call
1062 frame_object_to_frame_info inside TRY_CATCH.
1063
86a3263f
TT
10642013-02-28 Tom Tromey <tromey@redhat.com>
1065
1066 * py-block.c (gdbpy_block_for_pc): Call block_for_pc inside
1067 TRY_CATCH.
1068
81b52a3a
TT
10692013-02-28 Tom Tromey <tromey@redhat.com>
1070
1071 * objfiles.h (ALL_PSPACE_OBJFILES): Remove trailing backlash.
1072
d50a0ce2
CV
10732013-02-27 Corinna Vinschen <vinschen@redhat.com>
1074
1075 * windows-nat.c: Throughout, fix format strings and casts of
1076 printf-like functions to avoid type related warnings on all
1077 platforms.
1078 (handle_output_debug_string): Fetch context information address
1079 from debug string using string_to_core_addr.
1080
e1f58301
JW
10812013-02-27 Jiong Wang <jiwang@tilera.com>
1082
1083 * regformats/reg-tilegx.dat (name): Change abi name to "tilegx".
1084 * regformats/reg-tilegx32.dat: New.
1085
4fcd89fc
JW
10862013-02-27 Jiong Wang <jiwang@tilera.com>
1087
1088 * configure.tgt (tilegx-*-linux*): Enable gdbserver.
1089
748d24e6
JW
10902013-02-27 Jiong Wang <jiwang@tilera.com>
1091
1092 * configure.tgt (tilegx-*-linux*): Replace whitespace with tab.
1093
6c8e944d
YQ
10942013-02-27 Yao Qi <yao@codesourcery.com>
1095 Pedro Alves <palves@redhat.com>
1096
1097 * tracepoint.c (tfile_trace_find): For tfind
1098 pc/tp/range/outside, look for the next trace frame instead of
1099 always starting from frame 0.
1100
acd7db30
AG
11012013-02-26 Anthony Green <green@moxielogic.com>
1102
1103 * configure.tgt: Add support for moxie-*-rtems* target.
1104
025e6dce
PA
11052013-02-25 Pedro Alves <palves@redhat.com>
1106
1107 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx): Change
1108 warning text.
1109
ca9c94ef
MR
11102013-02-24 Maciej W. Rozycki <macro@codesourcery.com>
1111
1112 * mips-tdep.c (mips32_scan_prologue): Reset frame_offset to zero
1113 if $fp is used as the virtual frame pointer.
1114
24c274a1
AM
11152013-02-23 Alan Modra <amodra@gmail.com>
1116
1117 * elfread.c (elf_symtab_read): Do not use udata.p here to find
1118 symbol size.
1119 * ppc64-tdep.c (ppc64_elf_make_msymbol_special): New function.
1120 * ppc64-tdep.h (ppc64_elf_make_msymbol_special): Declare.
1121 * ppc-linux-tdep.c (ppc_linux_init_abi): Set up to use the above.
1122 * ppcfbsd-tdep.c (ppcfbsd_init_abi): Likewise.
1123
bfada189
JK
11242013-02-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1125
1126 Code cleanup.
1127 * elfread.c (build_id_bfd_get): Make the return type const.
1128 (build_id_verify): Make the check parameter const.
1129 (build_id_to_debug_filename): Make the build_id parameter and variable
1130 data const.
1131 (find_separate_debug_file_by_buildid): Make the variable build_id const.
1132
c0355132
AM
11332013-02-21 Alan Modra <amodra@gmail.com>
1134
1135 * elfread.c (build_id_bfd_get): Adjust for elf_tdata changes.
1136
9f44fbc0
SCR
11372013-02-20 Siva Chandra Reddy <sivachandra@google.com>
1138
1139 Add a new method 'disassemble' to gdb.Architecture class.
1140 * python/py-arch.c (archpy_disassmble): Implementation of the
1141 new method gdb.Architecture.disassemble.
1142 (arch_object_methods): Add entry for the new method.
1143
b74ea3eb
JW
11442013-02-20 Jiong Wang <jiwang@tilera.com>
1145
1146 * MAINTAINERS (Write After Approval): Add myself to the list.
1147
61a672f1
PA
11482013-02-19 Pedro Alves <palves@redhat.com>
1149
1150 Garbage collect 'struct monitor_ops'::load_routine.
1151
1152 * monitor.h (struct monitor_ops) <load_routine>: Remove field.
1153 * monitor.c (monitor_load): No longer call
1154 current_monitor->load_routine.
1155 * dbug-rom.c (init_dbug_cmds): Don't set 'load_routine'.
1156 * m32r-rom.c (init_m32r_cmds): Don't set 'load_routine'.
1157 * ppcbug-rom.c (init_ppc_cmds): Don't set 'load_routine'.
1158
40e397df
PA
11592013-02-19 Pedro Alves <palves@redhat.com>
1160
1161 PR gdb/15161
1162
1163 Harmonize with generic_load.
1164
1165 * monitor.c: Include "readline/readline.h".
1166 (monitor_load): Rename parameter 'file' to 'args'. Use build_argv
1167 instead of sscanf. Use CORE_ADDR/strtoulst instead of unsigned
1168 long/strtol for the 'load_offset' local. Error out if no argument
1169 is given or if too many arguments are given. Tilde expand the
1170 passed in file name.
1171
f698ca8e
KT
11722013-02-19 Kai Tietz <ktietz@redhat.com>
1173
1174 PR gdb/15161
1175 * symfile.c (load_section_data): Change type of load_offset
1176 to CORE_ADDR.
1177 (generic_load): User strtoulst instead of strtoul for conversion
1178 of load_offset.
1179
3361b059
WL
11802013-02-19 Jiong Wang <jiwang@tilera.com>
1181
1182 * tilegx-tdep.c (tilegx_analyze_prologue): add check for
1183 for return address, "lr" register, saved on stack.
1184 * tilegx-tdep.c (tilegx_frame_cache): update "PC" reg
1185 after we invoke tilegx_analyze_prologue.
1186
3e9d5130
WL
11872013-02-19 Jiong Wang <jiwang@tilera.com>
1188
bb1bcd86
WL
1189 * tilegx-tdep.c (itilegx_gdbarch_init): char type should be signed.
1190
3361b059 11912013-02-19 Jiong Wang <jiwang@tilera.com>
bb1bcd86 1192
b74ea3eb 1193 * tilegx-tdep.c (tilegx_skip_prologue): Use skip_prologue_using_sal.
3e9d5130 1194
4aaf2503
WL
11952013-02-19 Jiong Wang <jiwang@tilera.com>
1196
b74ea3eb 1197 * tilegx-tdep.c (INT_SWINT_1_SIGRETURN): New macro.
4aaf2503
WL
1198 (tilegx_write_pc): New function.
1199 (tilegx_cannot_reference_register): Return zero if REGNO
1200 is TILEGX_FAULTNUM_REGNUM.
1201 (tilegx_gdbarch_init): Add call to set_gdbarch_write_pc.
1202 (tilegx_register_name): Add handling of "faultnum" register.
1203 * tilegx-tdep.h (enum tilegx_regnum): Add TILEGX_FAULTNUM_REGNUM.
1204 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Add
1205 handling of TILEGX_FAULTNUM_REGNUM.
1206 * tilegx-linux-nat.c (regmap): Add entry for TILEGX_FAULTNUM_REGNUM.
1207
bc23a956
WL
12082013-02-19 Jiong Wang <jiwang@tilera.com>
1209
1210 * tilegx-tdep.c (tilegx_push_dummy_call): args pushed on stack
b74ea3eb 1211 should be aligned to 64bit.
bc23a956 1212
42f45f1a
KT
12132013-02-19 Kai Tietz <ktietz@redhat.com>
1214
1215 * windows-nat.c (windows_xfer_memory): Fix debug-output
1216 for LLP64.
1217
6ce4c112
LL
12182013-02-19 Lei Liu <lei.liu2@windriver.com>
1219
1220 * mips-linux-nat.c (mips64_linux_regsets_store_registers):
1221 Don't check DSP register number if HAVE_DSP is not set.
1222
30e8ee25
AM
12232013-02-19 Alan Modra <amodra@gmail.com>
1224
1225 * elfread.c (struct build_id): Delete. Use struct elf_build_id
1226 throughout file instead.
1227 (build_id_bfd_get): Update to use new elf_tdata build_id field.
1228 Don't xmalloc return value.
1229 (build_id_verify): Similarly. Don't xfree.
1230 (build_id_to_debug_filename): Update.
1231 (find_separate_debug_file_by_buildid): Update, don't xfree.
1232
4c9ad8c2
TT
12332013-02-18 Tom Tromey <tromey@redhat.com>
1234
1235 PR gdb/15102:
1236 * dwarf2read.c (read_subrange_type): Use result of
1237 'check_typedef'.
1238
983dc440
YQ
12392013-02-16 Yuanhui Zhang <asmwarrior@gmail.com>
1240
1241 * frame.c: Remove one extra white space after #include
1242 directive.
1243
7fb2b84a
JK
12442013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1245
1246 * contrib/cc-with-tweaks.sh: Extend the comment for -p option.
1247
edceb2a9
JK
12482013-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1249
1250 * gdb-gdb.gdb.in: Wrap set complaints, b internal_error, b info_command
1251 and dir commands into an if block.
1252
e81b7af8
TT
12532013-02-15 Sanimir Agovic <sanimir.agovic@intel.com>
1254
1255 * python/py-breakpoint (struct pybp_code): Use int instead of
1256 enum type_code.
1257
f5911ea1
HAQ
12582013-02-15 Pedro Alves <pedro@codesourcery.com>
1259 Hafiz Abid Qadeer <abidh@codesourcery.com>
1260
1261 * NEWS: Mention new field "trace-file".
1262 * tracepoint.c (trace_status_mi): Output "trace-file" field.
1263 (tfile_open): Record the trace file's filename in the trace
1264 status.
1265 (tfile_files_info): Mention the name of the trace file.
1266 Check the "filename" field explicitely.
1267 (trace_status_command): Explicitely check "filename" field.
1268 (trace_find_command): Ditto.
1269 (trace_find_pc_command): Ditto.
1270 (trace_find_tracepoint_command): Ditto.
1271 (trace_find_line_command): Ditto.
1272 (trace_find_range_command): Ditto.
1273 (trace_find_outside_command): Ditto.
1274 * tracepoint.h (struct trace_status) <from_file>: Rename it
1275 to "filename" and make it hold the trace file's filename
1276 instead of a boolean.
1277 * remote.c (remote_get_trace_status): Initialize "filename"
1278 field with NULL instead of 0.
1279
796cb314
YQ
12802013-02-15 Yao Qi <yao@codesourcery.com>
1281
1282 * remote.c: Fix a typo.
1283
42e79b1d
PM
12842013-02-14 Pierre Muller <muller@sourceware.org>
1285
1286 * contrib/ari/gdb_ari.sh (GNU/Linux rule): Remove.
1287
baea0dae
PA
12882013-02-14 Pedro Alves <palves@redhat.com>
1289
1290 * utils.c (savestring): Don't #undef it. Move function to
1291 common/common-utils.c.
1292 * common/common-utils.c: Include gdb_string.h.
1293 (savestring): Move here from utils.c.
1294 * common/common-utils.h (savestring): Declare.
1295
57c3b6ed
PA
12962013-02-14 Pedro Alves <palves@redhat.com>
1297
1298 * utils.c (savestring): Rename parameter 'size' to 'len'.
1299
d6c44983
YZ
13002013-02-14 Pedro Alves <palves@redhat.com>
1301 Yufeng Zhang <yufeng.zhang@arm.com>
1302
1303 * aarch64-linux-nat.c (aarch64_init_debug_reg_state): Delete.
1304 (aarch64_inferior_data, struct aarch64_inferior_data):
1305 Delete.
1306 (struct aarch64_process_info): New.
1307 (aarch64_process_list): New global.
1308 (aarch64_find_process_pid, aarch64_add_process)
1309 (aarch64_process_info_get): New functions.
1310 (aarch64_inferior_data_get): Delete.
1311 (aarch64_process_info_get): New function.
1312 (aarch64_forget_process): New function.
1313 (aarch64_get_debug_reg_state): New parameter 'pid'. Reimplement.
1314 (aarch64_linux_prepare_to_resume): Pass the lwp's pid to
1315 aarch64_get_debug_reg_state.
1316 (aarch64_notify_debug_reg_change): Use iterate_over_lwps
1317 instead of linux_nat_iterate_watchpoint_lwps.
1318 (aarch64_linux_new_fork): New function.
1319 (aarch64_linux_child_post_startup_inferior): Use
1320 aarch64_forget_process instead of aarch64_init_debug_reg_state.
1321 (aarch64_handle_breakpoint, aarch64_linux_insert_hw_breakpoint)
1322 (aarch64_linux_remove_hw_breakpoint)
1323 (aarch64_handle_aligned_watchpoint)
1324 (aarch64_handle_unaligned_watchpoint)
1325 (aarch64_linux_insert_watchpoint)
1326 (aarch64_linux_remove_watchpoint)
1327 (aarch64_linux_stopped_data_address): Adjust to pass the current
1328 process id to aarch64_debug_reg_state.
1329 (_initialize_aarch64_linux_nat): Install aarch64_linux_new_fork as
1330 linux_nat_new_fork hook, and aarch64_forget_process as
1331 linux_nat_forget_process hook; remove the call to
1332 register_inferior_data_with_cleanup.
1333
4819b3f8
PA
13342013-02-14 Pedro Alves <palves@redhat.com>
1335
1336 * eval.c (evaluate_subexp_for_address) <default_case_after_eval,
1337 EVAL_AVOID_SIDE_EFFECTS>: Swap and handle TYPE_CODE_REF before
1338 lval_memory.
1339
1773c82c
HAQ
13402013-02-14 Pedro Alves <pedro@codesourcery.com>
1341 Hafiz Abid Qadeer <abidh@codesourcery.com>
1342
1343 * tracepoint.h (validate_trace_state_variable_name): Declare.
1344 * tracepoint.c (validate_trace_state_variable_name): New.
1345 (trace_variable_command): Parse the trace state variable's name
1346 without using parse_expression. Do several validations.
1347 * mi/mi-main.c (mi_cmd_trace_define_variable): Don't parse the
1348 trace state variable's name with parse_expression. Validate it.
1349
53778a97
YQ
13502013-02-14 Yao Qi <yao@codesourcery.com>
1351
1352 * infcmd.c (breakpoint_proceeded): Remove it.
1353
7b3ae3a6
YQ
13542013-02-14 Yao Qi <yao@codesourcery.com>
1355
1356 * tracepoint.c (end_actions_pseudocommand): Make it static.
1357 (while_stepping_pseudocommand): Likewise.
1358 * tracepoint.h (end_actions_pseudocommand): Remove the
1359 declaration.
1360 (while_stepping_pseudocommand): Likewise.
1361
64580925
YQ
13622013-02-14 Yao Qi <yao@codesourcery.com>
1363
1364 * cli/cli-decode.c (help_cmd): Remove the declaration of
1365 "cmdlist".
1366 (help_all): Likewise.
1367
26cb8b7c
PA
13682013-02-13 Pedro Alves <palves@redhat.com>
1369
1370 * amd64-linux-nat.c (update_debug_registers_callback):
1371 Update comment.
1372 (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use
1373 iterate_over_lwps.
1374 (amd64_linux_prepare_to_resume): Pass the lwp's pid to
1375 i386_debug_reg_state.
1376 (amd64_linux_new_fork): New function.
1377 (_initialize_amd64_linux_nat): Install amd64_linux_new_fork as
1378 linux_nat_new_fork hook, and i386_forget_process as
1379 linux_nat_forget_process hook.
1380 * i386-linux-nat.c (update_debug_registers_callback):
1381 Update comment.
a8256ea1 1382 (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use
26cb8b7c
PA
1383 iterate_over_lwps.
1384 (i386_linux_prepare_to_resume): Pass the lwp's pid to
1385 i386_debug_reg_state.
1386 (i386_linux_new_fork): New function.
1387 (_initialize_i386_linux_nat): Install i386_linux_new_fork as
1388 linux_nat_new_fork hook, and i386_forget_process as
1389 linux_nat_forget_process hook.
1390 * i386-nat.c (i386_init_dregs): Delete.
1391 (i386_inferior_data, struct i386_inferior_data):
1392 Delete.
1393 (struct i386_process_info): New.
1394 (i386_process_list): New global.
1395 (i386_find_process_pid, i386_add_process, i386_process_info_get):
1396 New functions.
1397 (i386_inferior_data_get): Delete.
1398 (i386_process_info_get): New function.
1399 (i386_debug_reg_state): New parameter 'pid'. Reimplement.
1400 (i386_forget_process): New function.
1401 (i386_cleanup_dregs): Rewrite.
1402 (i386_update_inferior_debug_regs, i386_insert_watchpoint)
1403 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
1404 (i386_stopped_data_address, i386_insert_hw_breakpoint)
1405 (i386_remove_hw_breakpoint): Adjust to pass the current process id
1406 to i386_debug_reg_state.
1407 (i386_use_watchpoints): Don't register inferior data.
1408 * i386-nat.h (i386_debug_reg_state): Add new 'pid' parameter, and
1409 adjust comment.
1410 (i386_forget_process): Declare.
1411 * linux-fork.c (delete_fork): Call linux_nat_forget_process.
1412 * linux-nat.c (linux_nat_new_fork, linux_nat_forget_process_hook):
1413 New static globals.
1414 (linux_child_follow_fork): Don't call linux_nat_new_thread here.
1415 (add_initial_lwp): New, factored out from ...
1416 (add_lwp): ... this. Don't check the number of lwps before
1417 calling linux_nat_new_thread.
1418 (linux_nat_iterate_watchpoint_lwps): Delete.
1419 (linux_nat_attach): Use add_initial_lwp instead of add_lwp.
1420 (linux_handle_extended_wait): Call the linux_nat_new_fork hook on
1421 forks and vforks.
1422 (linux_nat_wait_1): Use add_initial_lwp instead of add_lwp for the
1423 initial lwp.
1424 (linux_nat_kill, linux_nat_mourn_inferior): Call
1425 linux_nat_forget_process.
1426 (linux_nat_set_new_fork, linux_nat_set_forget_process)
1427 (linux_nat_forget_process): New functions.
1428 * linux-nat.h (linux_nat_iterate_watchpoint_lwps_ftype): Delete
1429 type.
1430 (linux_nat_iterate_watchpoint_lwps): Delete declaration.
1431 (linux_nat_new_fork_ftype, linux_nat_forget_process_ftype): New
1432 types.
1433 (linux_nat_set_new_fork, linux_nat_set_forget_process)
1434 (linux_nat_forget_process): New declarations.
1435
1436 * amd64fbsd-nat.c (super_mourn_inferior): New global.
1437 (amd64fbsd_mourn_inferior): New function.
1438 (_initialize_amd64fbsd_nat): Override to_mourn_inferior.
1439 * windows-nat.c (windows_detach): Call i386_cleanup_dregs.
1440
5befea72
MS
14412013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
1442
55015247
YQ
1443 * aarch64-linux-nat.c (aarch64_linux_get_debug_reg_capacity):
1444 Adding _().
5befea72 1445
1d3ffd6b
MS
14462013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
1447
1448 * aarch64-linux-nat.c (debug_reg_change_callback)
1449 (aarch64_linux_get_debug_reg_capacity): ARI fix: Replace %llx with
1450 %s and phex().
1451
6eb04473
MS
14522013-02-13 Marcus Shawcroft <marcus.shawcroft@arm.com>
1453
1454 * aarch64-linux-nat.c (dr_changed_t): ARI fix: Replace long long
1455 with LONGEST.
1456
a016fc87
HAQ
14572013-02-13 Pedro Alves <palves@redhat.com>
1458 Hafiz Abid Qadeer <abidh@codesourcery.com>
1459
1460 * c-lang.c (c_op_print_tab): Add entry for UNOP_PLUS.
1461
e234dfaf
TT
14622013-02-12 Tom Tromey <tromey@redhat.com>
1463
1464 PR symtab/11464:
1465 * c-exp.y (lex_one_token): Initialize other fields of yylval on
1466 NAME return.
1467 (classify_inner_name): Remove 'first_name' argument, add
1468 'context'. Remove unused variable.
1469 (yylex): Explicitly maintain the context type. Exit loop earlier
1470 if NAME result is seen.
1471
0b1afbb3
PA
14722013-02-12 Pedro Alves <palves@redhat.com>
1473
1474 * amd64-darwin-tdep.c: Add (C) after Copyright.
1475 * cli/cli-cmds.h: Ditto.
1476 * cli/cli-decode.c: Ditto.
1477 * cli/cli-decode.h: Ditto.
1478 * cli/cli-dump.c: Ditto.
1479 * cli/cli-dump.h: Ditto.
1480 * cli/cli-interp.c: Ditto.
1481 * cli/cli-logging.c: Ditto.
1482 * cli/cli-script.c: Ditto.
1483 * cli/cli-script.h: Ditto.
1484 * cli/cli-setshow.c: Ditto.
1485 * cli/cli-setshow.h: Ditto.
1486 * cli/cli-utils.c: Ditto.
1487 * cli/cli-utils.h: Ditto.
1488 * config/alpha/nm-osf3.h: Ditto.
1489 * config/djgpp/djconfig.sh: Ditto.
1490 * config/i386/nm-fbsd.h: Ditto.
1491 * config/i386/nm-i386gnu.h: Ditto.
1492 * config/nm-linux.h: Ditto.
1493 * config/nm-nto.h: Ditto.
1494 * config/rs6000/nm-rs6000.h: Ditto.
1495 * config/sparc/nm-sol2.h: Ditto.
1496 * darwin-nat-info.c: Ditto.
1497 * dfp.c: Ditto.
1498 * dfp.h: Ditto.
1499 * gdb-demangle.h: Ditto.
1500 * i386-darwin-nat.c: Ditto.
1501 * i386-darwin-tdep.c: Ditto.
1502 * linux-fork.h: Ditto.
1503 * m32c-tdep.c: Ditto.
1504 * microblaze-linux-tdep.c: Ditto.
1505 * microblaze-rom.c: Ditto.
1506 * microblaze-tdep.c: Ditto.
1507 * microblaze-tdep.h: Ditto.
1508 * mips-linux-tdep.h: Ditto.
1509 * ppc-ravenscar-thread.c: Ditto.
1510 * ppc-ravenscar-thread.h: Ditto.
1511 * prologue-value.c: Ditto.
1512 * prologue-value.h: Ditto.
1513 * ravenscar-thread.c: Ditto.
1514 * ravenscar-thread.h: Ditto.
1515 * sparc-ravenscar-thread.c: Ditto.
1516 * sparc-ravenscar-thread.h: Ditto.
1517 * tilegx-linux-tdep.c: Ditto.
1518 * unwind_stop_reasons.def: Ditto.
1519 * windows-nat.h: Ditto.
1520 * xtensa-linux-tdep.c: Ditto.
1521 * xtensa-xtregs.c: Ditto.
1522 * regformats/regdat.sh: Ditto.
1523 * regformats/regdef.h: Ditto.
1524
6c01dd94
PA
15252013-02-12 Pedro Alves <palves@redhat.com>
1526
1527 * break-catch-sig.c: Update copyright years.
1528
b65a2bd9
SCR
15292013-02-11 Siva Chandra Reddy <sivachandra@google.com>
1530
1531 Add support for a destructor for ui_out data and use it to
1532 provide a ui_out destructor.
1533 * ui-out.h: Declare the new ui_out destructor.
1534 (ui_out_impl): Add a field for data destructor in ui_out_impl.
1535 * ui-out.c (default_data_destroy): Add a default data destructor
1536 which does nothing.
1537 (default_ui_out_impl): Set the new data_destroy field to
1538 default_data_destroy
1539 (uo_data_destroy): Local function which invokes the data
1540 destructor if present.
1541 (clear_table): Local function which clears the table data of a
1542 ui_out object.
1543 (ui_out_destroy): Public function which frees a ui_out object.
1544 (ui_out_table_end): Use the new clear_table function.
1545 * cli-out.c (cli_ui_out_impl): Set the new data_destroy field to
1546 NULL.
1547 * mi/mi-out.c (mi_ui_out_impl): Set the new data_destroy field
1548 to NULL.
1549
c2792f5a
DE
15502013-02-11 Doug Evans <dje@google.com>
1551
1552 * printcmd.c (printf_c_string,printf_wide_c_string): New functions.
1553 (printf_decfloat): New function. Broken out from ui_printf.
1554 Remove unnecessary code to shift the entire format string down.
1555 (printf_pointer): New function.
1556 (ui_printf): Code to print C strings, wide C strings, decfloats,
1557 and pointers moved to separate functions.
1558
d9e98382
SDJ
15592013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
1560
1561 * valops.c (value_assign): Handling bitfield offset in
1562 `lval_internalvar_component' case.
1563
4ff3ce77
DE
15642013-02-08 Doug Evans <dje@google.com>
1565
1566 * common/format.c (parse_format_string): Fix whitespace.
1567
901900c4
MGD
15682013-02-08 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
1569
1570 * stack.c (return_command): Work around uninitialized variable
1571 warning.
1572
b5dbc8d4
YZ
15732013-02-08 Yufeng Zhang <yufeng.zhang@arm.com>
1574
1575 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET): Change the
1576 number of the registers from 36 to 34.
1577
51d66578
MS
15782013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
1579
1580 * NEWS: Mention new AArch64 native and target support.
1581
176b1c95
MS
15822013-02-08 Marcus Shawcroft <marcus.shawcroft@arm.com>
1583
1584 * MAINTAINERS (Write After Approval): Add myself.
1585
9d19df75
MS
15862013-02-08 Jim MacArthur <jim.macarthur@arm.com>
1587 Marcus Shawcroft <marcus.shawcroft@arm.com>
1588 Nigel Stephens <nigel.stephens@arm.com>
1589 Yufeng Zhang <yufeng.zhang@arm.com>
1590
1591 * aarch64-linux-nat.c: New file.
1592 * config/aarch64/linux.mh: New file.
1593 * configure.host: Add AArch64.
1594 * Makefile.in (ALLDEPFILES): Add aarch64-linux-nat.c.
1595
7e1e0340
DE
15962013-02-07 Doug Evans <dje@google.com>
1597
1598 * cli/cli-cmds.c (_initialize_cli_cmds): Clarify argument to
1599 disassemble command.
1600
45e25a36
MS
16012013-02-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1602
1603 * aarch64-linux-tdep.c (aarch64_linux_init_abi): Call
1604 set_gdbarch_fetch_tls_load_module_address.
1605
bbfdfe1c
DM
16062013-02-06 David S. Miller <davem@davemloft.net>
1607
1608 * sparc-tdep.c (sparc32_return_value): Handle writing return value when
1609 using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
1610 * value.c (struct_return_convention): New function.
1611 (using_struct_return): Implement in terms of struct_return_convention.
1612 * value.h (struct_return_convention): Declare.
1613 * stack.c (return_command): Allow successful overriding of the return
1614 value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
1615
bc9abe4a
TT
16162013-02-06 Tom Tromey <tromey@redhat.com>
1617
1618 * python/py-type.c (typy_strip_typedefs): Don't call check_typedef
1619 outside of TRY_CATCH.
1620
134a2066
YQ
16212013-02-06 Yao Qi <yao@codesourcery.com>
1622
1623 * mi/mi-interp.c: Include "tracepoint.h".
1624 (mi_tsv_modified): Declare.
1625 (mi_tsv_created, mi_tsv_deleted): Update declaration.
1626 (mi_interpreter_init): Call observer_attach_tsv_modified.
1627 (mi_tsv_modified): New.
1628 (mi_tsv_created, mi_tsv_deleted): Update.
1629 * tracepoint.c (trace_variable_command): Call
1630 observer_notify_tsv_modified if the initial value of tsv is
1631 changed.
1632 (delete_trace_state_variable): Call
1633 observer_notify_tsv_deleted earlier.
1634 (trace_variable_command): Caller update.
1635 (create_tsv_from_upload): Likewise.
1636 * observer.sh: Declare "struct trace_state_variable".
1637
1638 * NEWS: Mention the new MI notification "=tsv-modified".
1639
59be2b6a
DE
16402013-02-05 Doug Evans <dje@google.com>
1641
1642 * completer.c (location_completer): Fix typo in comment.
1643
d30113d4
JK
16442013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1645
1646 * breakpoint.c (add_location_to_breakpoint): Insert the location with
1647 ADDRESS sorted.
1648
14ac654f
MS
16492013-02-05 Marcus Shawcroft <marcus.shawcroft@arm.com>
1650
1651 * aarch64-tdep.c (aarch64_analyze_prologue): ARI fix:
1652 Refactor if statement to avoid trailing || operator.
1653
543bf33d
AT
16542013-02-05 Andreas Tobler <andreast@fgznet.ch>
1655
1656 * NEWS: Add PowerPC FreeBSD as a new native configuration.
1657
dc18f110
AT
16582013-02-04 Andreas Tobler <andreast@fgznet.ch>
1659
1660 * Makefile.in (ALL_TARGET_OBS): Add powerpc FreeBSD files.
1661 * configure.host: Add powerpc*-*-freebsd* target.
1662 * configure.tgt: Add target info for powerpc*-*-freebsd*.
1663 * ppcfbsd-nat.c, ppcfbsd-tdep.h, ppcfbsd-tdep.c: New files.
1664 * config/powerpc/fbsd.mh: New file.
1665
b3ac9c77
SDJ
16662013-02-04 Sergio Durigan Junior <sergiodj@redhat.com>
1667 Denys Vlasenko <dvlasenk@redhat.com>
1668 Pedro Alves <palves@redhat.com>
1669
1670 * gdbarch.sh (elfcore_write_linux_prpsinfo): New F hook.
1671 (struct elf_internal_linux_prpsinfo): Forward declare.
1672 * gdbarch.h, gdbarch.c: Regenerate.
1673 * linux-tdep.c: Include `cli/cli-utils.h'.
1674 (linux_fill_prpsinfo): New function.
1675 (linux_make_corefile_notes): Use linux_fill_prpsinfo. If there's
1676 an elfcore_write_linux_prpsinfo hook, use it, otherwise, use
1677 elfcore_write_linux_prpsinfo32 or elfcore_write_linux_prpsinfo64
1678 depending on gdbarch pointer bitness.
1679 * ppc-linux-tdep.c: Include elf-bfd.h.
1680 (ppc_linux_init_abi): Hook in elfcore_write_ppc_linux_prpsinfo32
1681 on 32-bit.
1682
176eb98c
MS
16832013-02-04 Jim MacArthur <jim.macarthur@arm.com>
1684 Marcus Shawcroft <marcus.shawcroft@arm.com>
1685 Nigel Stephens <nigel.stephens@arm.com>
1686 Yufeng Zhang <yufeng.zhang@arm.com>
1687
1688 * configure.tgt (aarch64*-*-linux*): Set build_gdbserver=yes.
1689
cf0dbd6f
MS
16902013-02-04 Jim MacArthur <jim.macarthur@arm.com>
1691 Marcus Shawcroft <marcus.shawcroft@arm.com>
1692 Nigel Stephens <nigel.stephens@arm.com>
1693 Yufeng Zhang <yufeng.zhang@arm.com>
1694
1695 * aarch64-newlib-tdep.c: New file.
1696 * configure.tgt: Add aarch64-newlib-tdep.o to gdb_target_obs of
1697 aarch64*-*-elf.
1698 * defs.h (enum gdb_osabi): Add GDB_OSABI_NEWLIB.
1699 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-newlib-tdep.o.
1700 (ALLDEPFILES): Add aarch64-newlib-tdep.c.
1701 * osabi.c (gdb_osabi_names): Add "Newlib".
1702
1ae3db19
MS
17032013-02-04 Jim MacArthur <jim.macarthur@arm.com>
1704 Marcus Shawcroft <marcus.shawcroft@arm.com>
1705 Nigel Stephens <nigel.stephens@arm.com>
1706 Yufeng Zhang <yufeng.zhang@arm.com>
1707
1708 * Makefile.in (ALL_64_TARGET_OBS): Add aarch64-linux-tdep.o.
1709 (ALLDEPFILES): Add aarch64-linux-tdep.c.
1710 * aarch64-linux-tdep.c: New file.
1711 * aarch64-linux-tdep.h: New file.
1712 * aarch64-tdep.h (gdbarch_tdep): Define gregset and fpregset.
1713 * configure.tgt: Add aarch64-none-linux-gnu.
1714
07b287a0
MS
17152013-02-04 Jim MacArthur <jim.macarthur@arm.com>
1716 Marcus Shawcroft <marcus.shawcroft@arm.com>
1717 Nigel Stephens <nigel.stephens@arm.com>
1718 Yufeng Zhang <yufeng.zhang@arm.com>
1719
1720 * Makefile.in (ALL_64_TARGET_OBS): Add arch64-tdep.o.
1721 (HFILES_NO_SRCDIR): Add aarch64-tdep.h.
1722 (ALLDEPFILES): Add aarch64-tdep.c.
1723 * aarch64-tdep.c: New file.
1724 * aarch64-tdep.h: New file.
1725 * configure.tgt: Add AArch64.
1726 * features/Makefile (WHICH): Add aarch64 and aarch64-without-fpu.
1727 (aarch64-expedite): New definition.
1728 * features/aarch64-core.xml: New file.
1729 * features/aarch64-fpu.xml: New file.
1730 * features/aarch64-without-fpu.c: New file (generated).
1731 * features/aarch64-without-fpu.xml: New file.
1732 * features/aarch64.c: New file (generated).
1733 * features/aarch64.xml: New file.
1734 * regformats/aarch64-without-fpu.dat: New file (generated).
1735 * regformats/aarch64.dat: New file (generated).
1736
0f1b18ab
JK
17372013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1738
1739 * contrib/expect-read1.c: New file.
1740 * contrib/expect-read1.sh: New file.
1741
233d95b5
JK
17422013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1743
1744 * dwarf2read.c (file_file_name): New function with code from
1745 file_full_name.
1746 (file_full_name): Move most of the code to file_file_name.
1747 (macro_start_file): Rename variable full_name to file_name and use
1748 file_file_name for it. Add comp_dir parameter to new_macro_table.
1749 * macrocmd.c (show_pp_source_pos): New variable fullname. Replace any
1750 macro_source_file->filename access by macro_source_fullname call.
1751 * macroscope.c (_initialize_macroscope): Update the new_macro_table
1752 caller.
1753 * macrotab.c (struct macro_table): New field comp_dir.
1754 (macro_include): New variables link_fullname and source_fullname.
1755 Replace any macro_source_file->filename access by macro_source_fullname
1756 call.
1757 (macro_lookup_inclusion): Remove the partial filenames checking code.
1758 (check_for_redefinition): New variables source_fullname and
1759 found_key_fullname. Replace any macro_source_file->filename access by
1760 macro_source_fullname call.
1761 (macro_undef): New variables source_fullname and key_fullname. Replace
1762 any macro_source_file->filename access by macro_source_fullname call.
1763 (macro_lookup_definition): New variables retval and source_fullname.
1764 Replace any macro_source_file->filename access by macro_source_fullname
1765 call.
1766 (foreach_macro): New variable key_fullname. Replace any
1767 macro_source_file->filename access by macro_source_fullname call.
1768 (foreach_macro_in_scope): New variable datum_fullname. Replace any
1769 macro_source_file->filename access by macro_source_fullname call.
1770 (new_macro_table): Add parameter comp_dir. Initialize T with it.
1771 (macro_source_fullname): New function.
1772 * macrotab.h (struct macro_source_file): Extent the filename field
1773 comment.
1774 (new_macro_table): New parameter comp_dir, add a comment for it.
1775 (macro_source_fullname): new declaration.
1776
da235a7c
JK
17772013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1778
1779 * dwarf2read.c (dw2_map_symtabs_matching_filename): Move variable
1780 this_real_name to outer block. Use it also for
1781 compare_filenames_for_search.
1782 (dw2_expand_symtabs_matching): New variable this_real_name. Use it
1783 with dw2_get_real_path for file_matcher, considering also
1784 BASENAMES_MAY_DIFFER.
1785 (file_full_name): Prepend COMP_DIR even for relative lh->INCLUDE_DIRS.
1786
fbd9ab74
JK
17872013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1788
1789 * dwarf2read.c (dw2_expand_symtabs_matching): Add basenames parameter
1790 to the file_matcher parameter. Pass 0 to it.
1791 (dwarf2_create_include_psymtab): Copy also DIRNAME.
1792 * psymtab.c (partial_map_symtabs_matching_filename): Drop handling of
1793 NULL psymtab_to_fullname result.
1794 (psymtab_to_fullname): Remove variable r. Never return NULL, assemble
1795 an expected filename instead.
1796 (expand_symtabs_matching_via_partial): Add basenames parameter to the
1797 file_matcher parameter. Call also psymtab_to_fullname, after newly
1798 considering BASENAMES_MAY_DIFFER.
1799 * source.c (rewrite_source_path): Remove static.
1800 * source.h (rewrite_source_path): New declaration.
1801 * symfile.h (struct quick_symbol_functions): Add basenames parameter to
1802 the expand_symtabs_matching field. Comment it.
1803 * symtab.c (file_matches): New function comment. Add parameter
1804 basenames, implement it.
1805 (search_symbols_file_matches): Add basenames parameter. Update the
1806 file_matches caller.
1807 (search_symbols): Match FILES also against symtab_to_fullname.
1808 Optimize it for BASENAMES_MAY_DIFFER.
1809
56d397a3
JK
18102013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1811
1812 * source.c (print_source_lines_base): Print for TUI also "fullname".
1813 * tui/tui-data.c (init_content_element): Change tui_locator_element
1814 field to full_name.
1815 * tui/tui-data.h (struct tui_locator_element): Likewise.
1816 * tui/tui-disasm.c (tui_show_disassem_and_update_source): Rename
1817 tui_update_locator_filename calls to tui_update_locator_fullname.
1818 Replace symtab->filename refererence by symtab_to_fullname call.
1819 * tui/tui-out.c (tui_field_string): Check for "fullname" now.
1820 * tui/tui-source.c (tui_set_source_content): Change tui_locator_element
1821 field to full_name. Replace symtab->filename refererence by
1822 symtab_to_fullname call.
1823 (tui_show_symtab_source): Rename parameter to fullname. Change
1824 tui_locator_element field to full_name.
1825 * tui/tui-stack.c: Include source.h.
1826 (tui_set_locator_filename): Rename the declaration to ...
1827 (tui_set_locator_fullname): ... here. Rename its parameter to
1828 fullname, updates its comment.
1829 (tui_set_locator_info): Rename its parameter to fullname.
1830 (tui_set_locator_filename): Rename the definition to ...
1831 (tui_set_locator_fullname): ... here. Rename its parameter to
1832 fullname, updates its comment. Change tui_locator_element field to
1833 full_name.
1834 (tui_set_locator_info): Rename its parameter to fullname.
1835 (tui_set_locator_info): Rename callee to tui_set_locator_fullname.
1836 (tui_update_locator_filename): Rename to ...
1837 (tui_update_locator_fullname): ... here. Rename callee to
1838 tui_set_locator_fullname.
1839 (tui_show_frame_info): Replace symtab->filename refererence by
1840 symtab_to_fullname call.
1841 * tui/tui-stack.h (tui_update_locator_filename): Rename to ...
1842 (tui_update_locator_fullname): ... here.
1843 * tui/tui-winsource.c (tui_display_main): Rename the callee to
1844 tui_update_locator_fullname. Replace symtab->filename refererence by
1845 symtab_to_fullname call.
1846 * tui/tui.c (tui_show_source): Rename its parameter to fullname.
1847 Rename the callee to tui_update_locator_fullname.
1848 * tui/tui.h (tui_show_source): Rename its parameter to fullname.
1849
05cba821
JK
18502013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1851
1852 * ada-lang.c (user_select_syms): Replace symtab->filename refererences
1853 by symtab_to_filename_for_display calls.
1854 * breakpoint.c (print_breakpoint_location, resolve_sal_pc): Likewise.
1855 (clear_command): New variable sal_fullname, initialize it. Replace
1856 compare_filenames_for_search by filename_cmp with sal_fullname.
1857 (say_where, update_static_tracepoint): Replace symtab->filename
1858 refererences by symtab_to_filename_for_display calls.
1859 * cli/cli-cmds.c (edit_command, list_command, ambiguous_line_spec):
1860 Likewise.
1861 * dwarf2read.c: Include source.h.
1862 (fixup_go_packaging): Replace symtab->filename refererences by
1863 symtab_to_filename_for_display calls.
1864 * linespec.c (add_sal_to_sals): Rename variable filename to fullname.
1865 Replace symtab->filename refererences by symtab_to_filename_for_display
1866 calls.
1867 (create_sals_line_offset, convert_linespec_to_sals): New variable
1868 fullname, initialize it, replace symtab->filename reference by the
1869 variable.
1870 * linux-fork.c: Include source.h.
1871 (info_checkpoints_command): Replace symtab->filename refererences by
1872 symtab_to_filename_for_display calls.
1873 * macroscope.c (sal_macro_scope): Replace symtab->filename refererences
1874 by symtab_to_filename_for_display calls.
1875 * mdebugread.c: Include source.h.
1876 (psymtab_to_symtab_1): Replace symtab->filename refererences by
1877 symtab_to_filename_for_display calls.
1878 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file)
1879 (mi_cmd_file_list_exec_source_files): Likewise.
1880 * printcmd.c: Include source.h.
1881 (build_address_symbolic): Replace symtab->filename refererences by
1882 symtab_to_filename_for_display calls.
1883 * psymtab.c (partial_map_symtabs_matching_filename)
1884 (read_psymtabs_with_fullname): Call compare_filenames_for_search also
1885 with psymtab_to_fullname.
1886 * python/py-symtab.c (stpy_str): Replace symtab->filename refererences
1887 by symtab_to_filename_for_display calls.
1888 (stpy_get_filename): New variable filename, initialize it, use instead
1889 of symtab->filename refererences.
1890 (salpy_str): Make variable filename const char *. Replace
1891 symtab->filename refererences by symtab_to_filename_for_display calls.
1892 * skip.c: Include source.h and filenames.h.
1893 (skip_file_command): Remove const from the symtab variable. Replace
1894 symtab->filename refererences by symtab_to_fullname call.
1895 (function_name_is_marked_for_skip): New variables searched_for_fullname
1896 and fullname. Use them to search also with symtab's fullname.
1897 * source.c (find_source_lines): Replace symtab->filename refererences
1898 by symtab_to_filename_for_display calls.
1899 (print_source_lines_base): New variable filename, use it instead of
1900 symtab->filename. Replace symtab->filename refererences by
1901 symtab_to_filename_for_display calls.
1902 (line_info, forward_search_command): Replace symtab->filename
1903 refererences by symtab_to_filename_for_display calls.
1904 (reverse_search_command): Replace symtab->filename refererences by
1905 symtab_to_filename_for_display calls. New variable filename for it.
1906 * stack.c (frame_info): Likewise.
1907 * symmisc.c: Include source.h.
1908 (dump_objfile, dump_symtab_1, maintenance_print_symbols)
1909 (maintenance_info_symtabs): Replace symtab->filename refererences by
1910 symtab_to_filename_for_display calls.
1911 * symtab.c (iterate_over_some_symtabs): Call
1912 compare_filenames_for_search also with symtab_to_fullname.
1913 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Replace
1914 symtab->filename refererences by symtab_to_filename_for_display calls.
1915 (find_line_symtab): Replace symtab->filename refererences by
1916 symtab_to_filename_for_display calls.
1917 (file_matches): Replace filename_cmp by compare_filenames_for_search.
1918 (print_symbol_info): Make the last parameter const char *. New
1919 variable s_filename. Use it in the function.
1920 (symtab_symbol_info): Make the last_filename variable const char *.
1921 Replace symtab->filename refererences by symtab_to_filename_for_display
1922 calls.
1923 (rbreak_command): New variable fullname. Use it. Replace
1924 symtab->filename refererence by symtab_to_filename_for_display call.
1925 * tracepoint.c (set_traceframe_context, trace_find_line_command)
1926 (print_one_static_tracepoint_marker): Replace symtab->filename
1927 refererences by symtab_to_filename_for_display calls.
1928 * tui/tui-source.c (tui_set_source_content): New variables filename and
1929 s_filename. Replace symtab->filename refererences by this variable.
1930 Replace other symtab->filename refererences by
1931 symtab_to_filename_for_display calls.
1932
1b56eb55
JK
19332013-02-03 Eldar Gaynetdinov <hal9000ed2k@gmail.com>
1934 Jan Kratochvil <jan.kratochvil@redhat.com>
1935
1936 Add a new variable that controls a way in which filenames are
1937 displayed.
1938 * NEWS (set filename-display): New entry.
1939 * source.c (filename_display_basename, filename_display_relative)
1940 (filename_display_absolute, filename_display_kind_names)
1941 (filename_display_string, show_filename_display_string)
1942 (symtab_to_filename_for_display): New.
1943 (_initialize_source): Added initialization of 'filename-display'
1944 variable.
1945 * source.h (symtab_to_filename_for_display): Added declaration.
1946 * stack.c (print_frame): Added new variable and calling of a new
1947 function and condition with this variable. Changed third argument of
1948 calling of a function.
1949
aa079c93
JK
19502013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1951
1952 * tui/tui-data.c (init_win_info, tui_del_window, tui_free_window):
1953 Rename field reference filename to fullname.
1954 * tui/tui-data.h (struct tui_source_info): Rename field filename to
1955 fullname. New comment for it.
1956 * tui/tui-source.c (tui_set_source_content): Rename field reference
1957 filename to fullname. Initialize field by symtab_to_fullname now.
1958 * tui/tui-winsource.c (tui_update_breakpoint_info): Rename field
1959 reference filename to fullname. Use symtab_to_fullname during
1960 comparison.
1961
652a8996
JK
19622013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1963
1964 Code cleanup.
1965 * dwarf2read.c (dw2_expand_symtabs_with_filename): Rename to ...
1966 (dw2_expand_symtabs_with_fullname): ... here. Rename parameter
1967 filename to fullname. Rename variable this_name to this_fullname.
1968 Lowercase FILENAME_CMP call.
1969 (dw2_find_symbol_file): New comment for the returned string.
1970 (dwarf2_gdb_index_functions): Rename the function to
1971 dw2_expand_symtabs_with_fullname.
1972 * psymtab.c (read_psymtabs_with_filename): Rename to ...
1973 (read_psymtabs_with_fullname): ... here. Rename parameter filename to
1974 fullname.
1975 (psym_functions): Rename the function to read_psymtabs_with_fullname.
1976 * symfile.h (struct quick_symbol_functions): Rename field
1977 expand_symtabs_with_filename to expand_symtabs_with_fullname and its
1978 parameter filename to fullname. Document returned string meaning for
1979 find_symbol_file.
1980 * symtab.c (find_line_symtab): Rename the called function to
1981 expand_symtabs_with_fullname.
1982
af529f8f
JK
19832013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1984
1985 Code cleanup.
1986 * breakpoint.c (clear_command): Remove variable is_abs, unify the
1987 call of filename_cmp with compare_filenames_for_search.
1988 * dwarf2read.c (dw2_map_symtabs_matching_filename): Remove variable
1989 is_abs, unify the call of FILENAME_CMP with
1990 compare_filenames_for_search. New gdb_asserts for real_path and name.
1991 Unify the call of compare_filenames_for_search with FILENAME_CMP.
1992 * psymtab.c (partial_map_symtabs_matching_filename): Likewise.
1993 * symfile.h (struct quick_symbol_functions): Extend the comment for
1994 map_symtabs_matching_filename.
1995 * symtab.c (compare_filenames_for_search): Remove the function comment
1996 relative path requirement. Handle absolute filenames, with a comment.
1997 (iterate_over_some_symtabs): Remove variable is_abs, unify the call of
1998 FILENAME_CMP with compare_filenames_for_search. New gdb_asserts for
1999 real_path and name. Unify the call of compare_filenames_for_search
2000 with FILENAME_CMP.
2001 (iterate_over_symtabs): New gdb_assert on REAL_PATH.
2002
2f202fde
JK
20032013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2004
2005 Code cleanup.
2006 * breakpoint.c (print_breakpoint_location): Replace bp_location field
2007 source_file references by symtab field references. Remove variables
2008 sal and fullname.
2009 (momentary_breakpoint_from_master, add_location_to_breakpoint):
2010 (clear_command, say_where): Replace bp_location field source_file
2011 references by symtab field references.
2012 (bp_location_dtor): Remove the source_file reference.
2013 (update_static_tracepoint): Replace bp_location field source_file
2014 references by symtab field references.
2015 (breakpoint_free_objfile): New function.
2016 * breakpoint.h (struct bp_location): Extend the comment for line_number.
2017 Replace the field source_file by field symtab, extend its comment.
2018 (breakpoint_free_objfile): New declaration.
2019 * objfiles.c (free_objfile): Call breakpoint_free_objfile.
2020 * tui/tui-winsource.c (tui_update_breakpoint_info): Replace bp_location
2021 field source_file references by symtab field references.
2022
f5b95b50
JK
20232013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2024
2025 Replace xfullpath calls by gdb_realpath calls.
2026 * cli/cli-cmds.c (find_and_open_script): Remove xfullpath from the
2027 function comment.
2028 * dwarf2read.c (dw2_map_expand_apply): Remove parameter full_path.
2029 Remove it from the iterate_over_some_symtabs call.
2030 (dw2_map_symtabs_matching_filename): Remove parameter full_path.
2031 Remove it from the dw2_map_expand_apply calls, remove a block handling
2032 it.
2033 * psymtab.c (partial_map_expand_apply): Remove parameter full_path.
2034 Remove it from the iterate_over_some_symtabs call.
2035 (partial_map_symtabs_matching_filename): Remove parameter full_path.
2036 Remove it from the partial_map_expand_apply calls, remove a block
2037 handling it. Drop gdb_realpath call and cleanups from the real_path
2038 handling.
2039 * source.c (openp): Drop the comment part about xfullpath. Replace
2040 xfullpath calls by gdb_realpath calls.
2041 (find_and_open_source): Replace xfullpath call by gdb_realpath call.
2042 * symfile.h (struct quick_symbol_functions): Remove parameter full_path
2043 from method map_symtabs_matching_filename and its comment.
2044 * symmisc.c (maintenance_print_msymbols): Replace xfullpath call by
2045 gdb_realpath call.
2046 * symtab.c (iterate_over_some_symtabs): Remove parameter full_path,
2047 remove it also from the function comment, remove a block handling it.
2048 Drop gdb_realpath call and cleanups from the real_path handling.
2049 (iterate_over_symtabs): Drop variable full_path and its use.
2050 * symtab.h (iterate_over_some_symtabs): Remove parameter full_path.
2051 * utils.c (xfullpath): Remove.
2052 * utils.h (xfullpath): Remove.
2053
d78489bf
AT
20542013-02-01 Andreas Tobler <andreast@fgznet.ch>
2055
2056 * Makefile.in (ALL_TARGET_OBS): Add ppc64-tdep.o.
2057 (HFILES_NO_SRCDIR): Add ppc64-tdep.h.
2058 (ALLDEPFILES): Add ppc64-tdep.c.
2059 * configure.tgt (powerpc-*-linux* | powerpc64-*-linux*): Add
2060 ppc64-tdep.o to gdb_target_obs.
2061 * ppc64-tdep.h: New file.
2062 * ppc64-tdep.c: New file.
2063 (insn_d, insn_ds, insn_xfx, ppc64_desc_entry_point): Move from
2064 ppc-linux-tdep.c to here.
2065 (PPC64_STANDARD_LINKAGE1_LEN, PPC64_STANDARD_LINKAGE2_LEN)
2066 (PPC64_STANDARD_LINKAGE2_LEN): Likewise and use ARRAY_SIZE macro.
2067 (ppc64_standard_linkage1_target, ppc64_standard_linkage2_target)
2068 (ppc64_standard_linkage3_target, ppc64_skip_trampoline_code): Move
2069 from ppc-linux-tdep.c to here.
2070 (ppc64_convert_from_func_ptr_addr): Rename from
2071 ppc64_linux_convert_from_func_ptr_addr to
2072 ppc64_convert_from_func_ptr_addr and move from ppc-linux-tdep.c to
2073 here.
2074 * rs6000-tdep.c:
2075 (read_insn): Move from ppc-linux-tdep.c to here.
2076 (insns_match_pattern, insn_d_field, insn_ds_field): Move
2077 from ppc-linux-tdep.c to here and rename them with the ppc_ prefix.
2078 * ppc-linux-tdep.c: Include ppc64-tdep.h.
2079 Removed above functions.
2080 (ppc_linux_init_abi): Adjust.
2081
8db60374
AR
20822013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
2083
2084 * ada-valprint.c (ada_print_floating): Remove unused 'len'.
2085
f2e5f4ce
AR
20862013-02-01 Aleksandar Ristovski <aristovski@qnx.com>
2087
2088 * ada-lang.c (assign_aggregate): Remove unused 'is_array_aggregate'.
2089
c1f7d745
PA
20902013-02-01 Pedro Alves <palves@redhat.com>
2091
2092 * dummy-frame.c (deprecated_pc_in_call_dummy): Delete function.
2093 * frame.h (deprecated_pc_in_call_dummy): Delete declaration.
2094
8a92335b
JK
20952013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2096
2097 * elfread.c (elf_symfile_read): Limit separate debug info additions to
2098 files with no separate debug info.
2099 * objfiles.c (add_separate_debug_objfile): Add gdb_assert calls.
2100 * symfile.c (read_symbols): Call find_separate_debug_file_in_section
2101 only for files with no separate debug info.
2102
8eacb197
TT
21032013-01-31 Tom Tromey <tromey@redhat.com>
2104
2105 * jit.c (jit_program_space_data): Rename from jit_inferior_data;
2106 change type.
2107 (struct jit_program_space_data): Rename from jit_inferior_data.
2108 Update comments.
2109 (get_jit_program_space_data): Rename from get_jit_inferior_data.
2110 Change return type. Attach data to program space.
2111 (jit_program_space_data_cleanup): Rename from
2112 jit_inferior_data_cleanup; change argument type.
2113 (jit_read_descriptor): Change 'inf_data' argument to 'ps_data',
2114 change type.
2115 (jit_register_code): Update.
2116 (jit_update_inferior_cache): Remove.
2117 (jit_breakpoint_deleted): Get jit data from the location's program
2118 space.
2119 (jit_breakpoint_re_set_internal): Rename 'inf_data' argument to
2120 'ps_data', change type.
2121 (jit_inferior_init, jit_breakpoint_re_set_internal)
2122 (jit_event_handler): Update.
2123 (free_objfile_data): Get data from objfile's program space.
2124 (_initialize_jit): Update.
2125
f25c0135
TT
21262013-01-31 Tom Tromey <tromey@redhat.com>
2127
2128 PR gdb/13987:
2129 * jit.c (struct jit_inferior_data) <cached_code_address,
2130 jit_breakpoint>: New fields.
2131 (jit_breakpoint_re_set_internal): Fix logging. Only create
2132 breakpoint if cached address has changed.
2133 (jit_update_inferior_cache, jit_breakpoint_deleted): New
2134 functions.
2135 (_initialize_jit): Register breakpoint deleted observer.
2136
974a734b
AR
21372013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2138
2139 * infrun.c (handle_syscall_event): Remove unused gdbarch.
2140 (save_infcall_suspend_state): Ifdef out unused inf.
2141 (restore_infcall_suspend_state): Ifdef out unused inf.
2142 * jit.c (jit_register_code): Remove unused i, b, inf_data.
2143 (jit_frame_sniffer): Remove unused inf_data.
2144
df54f8eb
AR
21452013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2146
2147 * c-exp.y (classify_inner_name): Remove unused type.
2148 * c-lang.c (c_printstr): Remove unused byte_order, i, things_printed,
2149 in_quotes, need_comma, wchar_buf, output, cleanup, iter, finished,
2150 need_escape.
2151 (c_get_string): Remove unused kind.
2152 * c-typeprint.c (c_type_print_args): Remove unused i, len, args, table2.
2153
5799c0b9
AR
21542013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2155
2156 * charset.c (intermediate_encoding): Remove unused i.
2157 * completer.c (signal_completer): Remove unused i.
2158 * continuations.c (discard_my_continuations_1): Remove unused
2159 continuation_ptr.
2160 * corelow.c (core_close): Remove unuseD name.
2161 (get_core_siginfo): Remove unused pid.
2162 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Remove unused
2163 i, cps.
2164 * dwarf2loc.c (dwarf2_compile_expr_to_ax): Remove unused base_offset.
2165 (loclist_describe_location): Remove unused first.
2166 * event-top.c (command_line_handler): Remove unused got_eof.
2167 * exec.c (exec_close_1): Remove unused need_symtab_cleanup.
2168 (resize_section_table): Remove unused old_value.
2169 * gdb_bfd.c (gdb_bfd_map_section): Remove unused header.
2170 * gnu-v3-abi.c (compute_vtable_size): Remove unused addr.
2171 * i386-tdep.c (i386_process_record): Remove unused rex.
2172 * infcmd.c (get_return_value): Remove unused uiout.
2173 * jv-lang.c (type_from_class): Remove unused is_array.
2174 * jv-valprint.c (java_val_print): Remove unused i.
2175 * linux-nat.c (linux_nat_stop_lwp): Remove unused ptid.
2176 * linux-thread-db.c (thread_db_find_new_threads_2): Remove unuseD pid.
2177 * m2-typeprint.c (m2_print_type): Remove unused code.
2178 * macroexp.c (get_character_constant): Remove unused body_start.
2179 (macro_stringify): Remove unused result.
2180 * objc-lang.c (find_methods): Remove unused gdbarch.
2181 * objfiles.c (filter_overlapping_sections): Remove unused abfd1, abfd2.
2182 * regcache.c (regcache_cooked_read): Remove unused gdbarch.
2183 * stack.c (print_frame_args): Remove unused summary.
2184 * thread.c (thread_apply_command): Remove unused p.
2185 * valarith.c (value_x_unop): Remove unused mangle_ptr.
2186 * valops.c (search_struct_method): Remove unused skip.
2187 * valprint.c (generic_val_print): Remove unused byte_order.
2188 * varobj.c (varobj_update): Remove unused changed.
2189 * cli/cli-cmds.c (complete_command): Remove unused next_item.
2190 (alias_command): Remove unused c.
2191 * mi/mi-cmd-catch.c (mi_catch_load_unload): Remove unused c.
2192 * mi/mi-main.c (mi_cmd_data_write_register_values): Remove unused
2193 format.
2194 (mi_cmd_data_write_memory): Remove unused word_format.
2195 (mi_cmd_data_write_memory_bytes): Remove unused r.
2196 * python/py-gdb-readline.c (gdbpy_readline_wrapper): Remove unused
2197 p_start, p_end.
2198 * python/python.c (_initialize_python): Remove unused cmd_name, cmd.
2199 * tui/tui-disasm.c (tui_set_disassem_content): Remove unused
2200 line_width.
2201
c656bca5
AR
22022013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2203
2204 * dwarf2-frame.c (dwarf2_compile_cfa_to_ax): Remove unused num_regs.
2205 * symtab.c (iterate_over_symtabs): Remove unused s.
2206 (find_pc_sect_symtab): Remove unused pspAce.
2207 (find_pc_sect_line): Remove unused alt_symtab.
2208 (find_pcs_for_symtab_line): Remove unused ix, previous_function.
2209 (completion_list_add_name): Remove unused newsize.
2210
7078baeb
TT
22112013-01-31 Tom Tromey <tromey@redhat.com>
2212
2213 PR c++/14998:
2214 * dwarf2read.c (read_tag_ptr_to_member_type): Handle
2215 TYPE_CODE_FUNC.
2216
c2e8b827
AR
22172013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2218
2219 * target.c (target_read_string): Remove unused origlen.
2220
0e43993a
AR
22212013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2222
2223 * auto-load.c (auto_load_expand_dir_vars): Remove unused dir_vec.
2224 * ax-gdb.c (gen_printf): Remove unused expr, i, bot, fr, flen, fmt.
2225 * ax-general.c (ax_print): Remove unused is_float.
2226 * blockframe.c (block_innermost_frame): Remove unused start, end.
2227 * break-catch-sig.c (catch_signal_command): Remove unused gdbarch.
2228
765a97ab
AR
22292013-01-31 Aleksandar Ristovski <aristovski@qnx.com>
2230
2231 * solib-svr4.c (svr4_keep_data_in_core): Remove unused lmo.
2232 (svr4_read_so_list): Remove unused lmo.
2233 * solib-target.c (solib_target_relocate_section_addresses): Remove
2234 unused flags.
2235
a99dad3d
TT
22362013-01-30 Tom Tromey <tromey@redhat.com>
2237
2238 * hppa-tdep.c (read_unwind_info): Use SECT_OFF_TEXT, not "0".
2239
3bff1ecd
TT
22402013-01-30 Tom Tromey <tromey@redhat.com>
2241
2242 * symfile.c (get_file_crc): Use bfd_calc_gnu_debuglink_crc32.
2243 * utils.c (gnu_debuglink_crc32): Remove.
2244 * utils.h (gnu_debuglink_crc32): Don't declare.
2245
7d455152
TT
22462013-01-30 Tom Tromey <tromey@redhat.com>
2247
2248 * dwarf2read.c (compute_delayed_physnames, read_call_site_scope)
2249 (read_structure_type, read_enumeration_type): Remove cast.
2250
abee88f2
TT
22512013-01-30 Tom Tromey <tromey@redhat.com>
2252
2253 * dwarf2read.c (read_namespace_type): Remove cast.
2254 (read_typedef): Likewise.
2255
8d9878a4
TT
22562013-01-29 Tom Tromey <tromey@redhat.com>
2257
2258 * dwarf2read.c (free_dwo_file): Remove assert.
2259
a543d2a9
TT
22602013-01-29 Tom Tromey <tromey@redhat.com>
2261
2262 * value.c (deprecated_set_value_modifiable): Remove.
2263 * value.h (deprecated_set_value_modifiable): Remove.
2264
bed911e5
DE
22652013-01-28 Doug Evans <dje@google.com>
2266
2267 * dwarf2loc.c (dwarf2_find_location_expression): Don't add base address
2268 to addresses from dwo files.
2269
28c64fc2
SCR
22702013-01-25 Siva Chandra Reddy <sivachandra@google.com>
2271
2272 * valops.c (find_overload_match): Remove unused argument 'lax'.
2273 * value.h: Remove unused argument 'lax' from the declaration of
2274 find_overload_match.
2275 * eval.c (value_subexp_standard): Do not pass a 'lax' argument
2276 to find_overload_match.
2277 * valarith.c (value_user_defined_cpp_op): Do not pass a 'lax'
2278 argument to find_overload_match.
2279
4d4ec4e5
TT
22802013-01-25 Tom Tromey <tromey@redhat.com>
2281
2282 * dwarf2read.c (processing_has_namespace_info): Remove.
2283 (struct dwarf2_cu) <processing_has_namespace_info>: New field.
2284 (process_die, read_func_scope, dwarf2_start_symtab)
2285 (new_symbol_full): Update.
2286
195a3f6c
TT
22872013-01-25 Tom Tromey <tromey@redhat.com>
2288
2289 * cp-namespace.c (cp_set_block_scope): Remove.
2290 * cp-support.h (cp_set_block_scope): Remove.
2291 * dbxread.c: Include block.h.
2292 (cp_set_block_scope): New function.
2293 (process_one_symbol): Update.
2294 * dwarf2read.c (read_func_scope): Use block_set_scope.
2295
8ba0730a
PA
22962013-01-25 Pedro Alves <palves@redhat.com>
2297
2298 * remote.c (add_current_inferior_and_thread): Tweak comment.
2299
12aaed36
TT
23002013-01-25 Tom Tromey <tromey@redhat.com>
2301
2302 * cp-namespace.c (cp_scan_for_anonymous_namespaces): Update.
2303 (cp_add_using_directive): Add 'copy_names' argument.
2304 * cp-support.h (cp_add_using_directive): Update.
2305 (struct using_direct) <import_src, import_dest, alias,
2306 declaration>: Now const.
2307 * dwarf2read.c (read_import_statement): Use obconcat.
2308 Don't copy names passed to cp_add_using_directive.
2309
7fc75ca7
TT
23102013-01-25 Tom Tromey <tromey@redhat.com>
2311
2312 * c-exp.y (qualified_name): Use TYPE_SAFE_NAME.
2313
3405876a
PA
23142013-01-25 Pedro Alves <palves@redhat.com>
2315
2316 * remote.c (stop_reply_extract_thread): New.
2317 (add_current_inferior_and_thread): New parameter 'wait_status'.
2318 Handle it.
2319 (remote_start_remote): Pass wait status to
2320 add_current_inferior_and_thread.
2321 (extended_remote_run): Update comment.
2322 (extended_remote_create_inferior_1): Pass wait status to
2323 add_current_inferior_and_thread.
2324
8954db33
AB
23252013-01-25 Andrew Burgess <aburgess@broadcom.com>
2326 Ulrich Weigand <uweigand@de.ibm.com>
2327
2328 * valarith.c (value_vector_widen): New function for replicating a
2329 scalar into a vector.
2330 (value_binop): Use value_vector_widen to widen scalar to vector
2331 rather than casting, this better matches gcc C behaviour.
2332 * valops.c (value_casst): Update logic for casting between vector
2333 types, and for casting from scalar to vector, try to match gcc C
2334 behaviour.
2335 * value.h (value_vector_widen): Declare.
2336 * opencl-lang.c (opencl_value_cast): New opencl specific casting
2337 function, handle special case for casting scalar to vector.
2338 (opencl_relop): Use opencl_value_cast.
2339 (evaluate_subexp_opencl): Use opencl_value_cast instead of
2340 value_cast, and handle BINOP_ASSIGN, UNOP_CAST, and UNOP_CAST_TYPE
2341 in order to use opencl_value_cast.
2342
843b20dc
YQ
23432013-01-25 Yao Qi <yao@codesourcery.com>
2344
2345 * event-loop.c: Include "queue.h".
2346 (gdb_event_p): New typedef.
2347 (DECLARE_QUEUE_P): Use.
2348 (DEFINE_QUEUE_P): Use.
2349 (async_queue_event): Remove.
2350 (gdb_event_xfree): New.
2351 (initialize_event_loop): New.
2352 (process_event): Use QUEUE macros.
2353 (event_queue): Remove.
2354 (gdb_wait_for_event): Caller update.
2355 (check_async_event_handlers): Likewise.
2356 (poll_timers): Likewise.
2357 * event-loop.h (initialize_event_loop): Declare.
2358 * event-loop.c (gdb_event_xfree): New.
2359 * top.c (gdb_init): Call initialize_event_loop.
2360
20ad8856
YQ
23612013-01-25 Yao Qi <yao@codesourcery.com>
2362
2363 * event-loop.c (async_queue_event): Remove one parameter
2364 'position'. Remove code handling 'position' == TAIL.
2365 (gdb_wait_for_event): Caller update.
2366 (check_async_event_handlers): Caller update.
2367 (poll_timers): Caller update.
2368 * event-loop.h (enum queue_position): Remove.
2369
3bbbe775
MK
23702013-01-25 Maxim Kuvyrkov <maxim@kugelworks.com>
2371
2372 * MAINTAINERS: Update my email.
2373
a87d9ac4
YQ
23742013-01-25 Yao Qi <yao@codesourcery.com>
2375
2376 * main.c (print_gdb_help): Remove "--epoch" from the help
2377 message.
2378
2077afdd
TD
23792013-01-24 Ulrich Weigand  <uweigand@de.ibm.com>
2380
2381 * symtab.c (skip_prologue_using_sal): Consider a file
2382 change the same as an increased line number
2383
63da4037
TD
23842013-01-24 Tiago Stürmer Daitx  <tdaitx@linux.vnet.ibm.com>
2385
30e8ee25 2386 * MAINTAINERS (Write After Approval): Add myself to the list.
63da4037 2387
45e6c716
TT
23882013-01-24 Tom Tromey <tromey@redhat.com>
2389
2390 * ada-lang.h (ada_decode_symbol): Make return type const.
2391 * ada-lang.c (ada_decode_symbol): Likewise.
2392
b1ae631a
DE
23932013-01-23 Doug Evans <dje@google.com>
2394
2395 * linespec.c (find_linespec_symbols): Make static.
2396
55a78401
SDJ
23972013-01-23 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
2398
2399 * ppc-sysv-tdep.c (ppc64_sysv_abi_return_value): Set correct
2400 type on float conversion for complex type.
2401
bea883fd
SCR
24022013-01-23 Siva Chandra Reddy <sivachandra@google.com>
2403
2404 Add a new class gdb.Architecture which exposes GDB's
2405 internal representation of architecture via GDB Python API.
2406 * Makefile.in: Add entries corresponding to the new file
2407 python/py-arch.c.
2408 * NEWS (Python Scripting): Add entries for the new class
2409 gdb.Architecture and the new method gdb.Frame.architecture.
2410 * python/py-arch.c: Implement gdb.Architecture class.
2411 * python/py-frame.c (frapy_arch): Implement the method
2412 gdb.Frame.architecture().
2413 (frame_object_methods): Add 'architecture' to the method table.
2414 * python/python-internal.h: Add declarations of new utility
2415 functions.
2416 * python/python.c (_initialize_python): Initialize
2417 gdb.Architecture class.
2418
796a7ff8
DE
24192013-01-23 Doug Evans <dje@google.com>
2420
2421 Work around binutils/15021.
2422 * dwarf2read.c (dwarf2_per_cu_data): Split imported_symtabs and
2423 type_unit_group out of union s. All uses updated.
2424 (read_index_from_section): Watch for index version 8.
2425 (follow_die_sig): If using .gdb_index version <= 7, record the TU as
2426 an imported symtab.
2427 (write_psymtabs_to_index): Increment version number to 8.
2428
0928e93d
PA
24292013-01-22 Pedro Alves <palves@redhat.com>
2430
2431 * annotate.c (breakpoint_changed): Skip if breakpoint is not
2432 user-visible.
2433
9c97429f
PA
24342013-01-22 Pedro Alves <palves@redhat.com>
2435
2436 * annotate.c (annotate_breakpoints_changed): Rename to ...
2437 (annotate_breakpoints_invalid): ... this. Make static.
2438 (breakpoint_changed): Adjust.
2439 (_initialize_annotate): Always install the observers. Install a
2440 "breakpoint_created" observer.
2441 * annotate.h (annotate_breakpoints_changed): Delete declaration.
2442 * breakpoint.c (set_breakpoint_condition)
2443 (breakpoint_set_commands, do_map_commands_command)
2444 (init_raw_breakpoint, clear_command, set_ignore_count)
2445 (enable_breakpoint_disp): No longer call
2446 annotate_breakpoints_changed.
2447
bd00c694
PA
24482013-01-22 Pedro Alves <palves@redhat.com>
2449
2450 * annotate.c: Include "inferior.h".
2451 (frames_invalid_emitted)
2452 (breakpoints_invalid_emitted): New globals.
2453 (async_background_execution_p): New function.
2454 (annotate_breakpoints_changed, annotate_frames_invalid): Skip
2455 emitting the annotation if it has already been emitted.
2456 (annotate_display_prompt): New function.
2457 * annotate.h (annotate_display_prompt): New declaration.
2458 * event-top.c: Include annotate.h.
2459 (display_gdb_prompt): Call annotate_display_prompt.
2460
187d10dd
PA
24612013-01-22 Pedro Alves <palves@redhat.com>
2462
2463 * annotate.c (ignore_count_changed): Delete.
2464 (annotate_breakpoints_changed): Don't clear ignore_count_changed.
2465 (annotate_ignore_count_change): Delete.
2466 (annotate_stopped): Don't emit a delayed breakpoints-changed
2467 annotation.
2468 * annotate.h (annotate_ignore_count_change): Delete.
2469 * breakpoint.c (bpstat_check_breakpoint_conditions): Don't call
2470 annotate_ignore_count_change.
2471
d84cf7eb
TT
24722013-01-22 Tom Tromey <tromey@redhat.com>
2473
2474 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>: Only
2475 require_rvalue for a register location.
2476
8f1d5693
MK
24772013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
2478
2479 * breakpoint.c (print_one_breakpoint_location): Add MI
2480 field 'thread-groups' when printing a breakpoint.
2481 (output_thread_groups): New function.
2482
aa6199c6
SCR
24832013-01-21 Siva Chandra Reddy <sivachandra@google.com>
2484
2485 * python/lib/gdb/commands/explore.py
2486 (CompoundExplorer.explore_expr): Correct the name of a method
2487 being invoked.
2488 (ExploreTypeCommand.invoke): Add a missing 'return'.
2489
d2afef13
TT
24902013-01-21 Tom Tromey <tromey@redhat.com>
2491
2492 * gdb_obstack.h (obconcat): Move declaration here, from...
2493 * symfile.h (obconcat): ... here.
2494 * gdb_obstack.c: New file.
2495 (obconcat): Move from...
2496 * symfile.c (obconcat): ... here.
2497 * Makefile.in (SFILES): Add gdb_obstack.c.
2498 (COMMON_OBS): Add gdb_obstack.o.
2499
10f0c4bb
TT
25002013-01-21 Tom Tromey <tromey@redhat.com>
2501
2502 * symfile.h (obsavestring): Don't declare.
2503 * symfile.c (obsavestring): Remove.
2504 * ada-exp.y: Use obstack_copy0, not obsavestring.
2505 * ada-lang.c: Use obstack_copy0, not obsavestring.
2506 * coffread.c: Use obstack_copy0, not obsavestring.
2507 * cp-namespace.c: Use obstack_copy0, not obsavestring.
2508 * dbxread.c: Use obstack_copy0, not obsavestring.
2509 * dwarf2read.c: Use obstack_copy0, not obsavestring.
2510 * jit.c: Use obstack_copy0, not obsavestring.
2511 * mdebugread.c: Use obstack_copy0, not obsavestring.
2512 * psymtab.c: Use obstack_copy0, not obsavestring.
2513 * stabsread.c: Use obstack_copy0, not obsavestring.
2514 * xcoffread.c: Use obstack_copy0, not obsavestring.
2515
86f62fd7
TT
25162013-01-21 Tom Tromey <tromey@redhat.com>
2517
2518 * dwarf2read.c (fixup_go_packaging): Save package name
2519 on objfile obstack.
2520 * gdbtypes.c (init_type): Don't copy name.
2521
15d034d0
TT
25222013-01-21 Tom Tromey <tromey@redhat.com>
2523
2524 * dwarf2read.c (struct partial_die_info) <name, scope>: Now
2525 const.
2526 (struct attribute) <u.str>: Now const.
2527 (struct fnfieldlist) <name>: Now const.
2528 (dw2_get_file_names_reader, init_cutu_and_read_dies): Update.
2529 (partial_die_parent_scope): Make return type const.
2530 (partial_die_full_name, add_partial_symbol): Update.
2531 (dwarf2_compute_name, dwarf2_full_name, dwarf2_physname): Make
2532 'name' const.
2533 (find_file_and_directory): Make 'name' and 'comp_dir' const.
2534 (read_file_scope, read_func_scope, dwarf2_add_field)
2535 (dwarf2_add_member_fn, read_structure_type)
2536 (process_enumeration_scope, read_array_type, read_module_type)
2537 (read_base_type, read_subrange_type): Update.
2538 (dwarf2_start_symtab): Make 'name' and 'comp_dir' const.
2539 (new_symbol_full, guess_full_die_structure_name): Update.
2540 (dwarf2_canonicalize_name): Return const type. Make 'name' const.
2541 (dwarf2_name): Return const type.
2542 (dwarf_decode_macro_bytes, dwarf_decode_macros): Make 'comp_dir'
2543 const.
2544
748e18ae
TT
25452013-01-21 Tom Tromey <tromey@redhat.com>
2546
2547 * gdbtypes.c (init_type): Make 'name' const.
2548 * gdbtypes.h (init_type): Update.
2549
46212e0b
TT
25502013-01-21 Tom Tromey <tromey@redhat.com>
2551
2552 * buildsym.c (patch_subfile_names): Use set_last_source_file.
2553 (start_symtab): Make 'name' and 'dirname' const. Use
2554 set_last_source_file.
2555 (restart_symtab, reset_symtab_globals): Use set_last_source_file.
2556 (last_source_file): Define. Now static.
2557 (set_last_source_file, get_last_source_file): New functions.
2558 * buildsym.h (last_source_file): Don't declare.
2559 (start_symtab): Update.
2560 (set_last_source_file, get_last_source_file): Declare.
2561 * coffread.c (complete_symtab): Use set_last_source_file.
2562 (coff_end_symtab): Likewise.
2563 (coff_symtab_read): Use set_last_source_file, get_last_source_file.
2564 * dbxread.c (read_dbx_symtab, read_ofile_symtab): Use
2565 set_last_source_file.
2566 (process_one_symbol): Use get_last_source_file.
2567 * mdebugread.c (parse_partial_symbols): Use set_last_source_file.
2568 (psymtab_to_symtab_1): Use get_last_source_file.
2569 * xcoffread.c (process_linenos): Use get_last_source_file.
2570 (complete_symtab): Use set_last_source_file.
2571 (read_xcoff_symtab): Use set_last_source_file, get_last_source_file.
2572 (scan_xcoff_symtab): Use set_last_source_file.
2573
9d2ceabe
TT
25742013-01-21 Tom Tromey <tromey@redhat.com>
2575
2576 * symtab.c (struct demangled_name_entry) <mangled>: Now const.
2577 (symbol_set_names): Remove casts. Handle field const-ness.
2578
cfc594ee
TT
25792013-01-21 Tom Tromey <tromey@redhat.com>
2580
2581 * dwarf2read.c (new_symbol_full): Remove cast.
2582 * symtab.c (symbol_set_demangled_name): Make 'name' const.
2583 * symtab.h (symbol_set_demangled_name): Update.
2584
5484b13a
TT
25852013-01-21 Tom Tromey <tromey@redhat.com>
2586
2587 * main.c (captured_main): Call bfd_init.
2588
1605ef26
TT
25892013-01-21 Tom Tromey <tromey@redhat.com>
2590
2591 * gnu-v2-abi.c (_initialize_gnu_v2_abi): Don't set default ABI.
2592 * gnu-v3-abi.c (_initialize_gnu_v3_abi): Set default ABI.
2593 * minsyms.c (install_minimal_symbols): Don't check for _Z symbols.
2594 * NEWS: Update.
2595
3b74cdc3
JK
25962013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2597
2598 * symmisc.c (maintenance_print_msymbols): Check also ST_DEV.
2599
5a352474
JK
26002013-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2601
2602 Fix gdb.fortran/common-block.exp crash in PIE mode.
2603 * dwarf2read.c (new_symbol_full) <DW_TAG_common_block>: Use
2604 LOC_COMMON_BLOCK.
2605 * f-valprint.c (info_common_command_for_block): Expect
2606 LOC_COMMON_BLOCK in gdb_assert.
2607 * symtab.h (struct general_symbol_info): Update comment for the
2608 common_block member.
2609 (domain_enum): Extend comment for the COMMON_BLOCK_DOMAIN member.
2610 (enum address_class): New member LOC_COMMON_BLOCK.
2611
c60797fd
DB
26122013-01-18 David Blaikie <dblaikie@gmail.com>
2613
2614 * MAINTAINERS (Write After Approval): Add "David Blaikie".
0cae7dfb 2615
46f35228
TT
26162013-01-18 Tom Tromey <tromey@redhat.com>
2617
2618 PR c++/14999:
2619 * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_fbreg>:
2620 Call require_rvalue.
2621
257e7a09
YQ
26222013-01-18 Yao Qi <yao@codesourcery.com>
2623
2624 * dbxread.c (dbx_psymtab_to_symtab): Delete the declaration.
2625 (dbx_read_symtab): New declaration.
2626 (dbx_psymtab_to_symtab): Delete.
2627 (dbx_read_symtab): Rename from dbx_psymtab_to_symtab.
2628 Rename parameter PST to SELF. Exchanged two parameters.
2629 (start_psymtab): Caller update.
2630 * dwarf2read.c (dwarf2_psymtab_to_symtab): Delete the declaration.
2631 (dwarf2_read_symtab): New declaration.
2632 (dwarf2_psymtab_to_symtab): Delete.
2633 (dwarf2_read_symtab): Rename from dwarf2_psymtab_to_symtab.
2634 Rename parameter PST to SELF. Exchanged two parameters.
2635 (create_partial_symtab): Caller update.
2636 * mdebugread.c (mdebug_psymtab_to_symtab): Delete.
2637 (mdebug_read_symtab): Rename from mdebug_psymtab_to_symtab.
2638 Rename parameter PST to SELF. Exchanged two parameters.
2639 (parse_partial_symbols, new_psymtab): Caller update.
2640 * psympriv.h (struct partial_symtab) <read_symtab>: Exchange
2641 two parameters.
2642 * psymtab.c (psymtab_to_symtab): Caller update.
2643 * xcoffread.c (xcoff_psymtab_to_symtab): Delete.
2644 (xcoff_read_symtab): Rename from xcoff_psymtab_to_symtab.
2645 Rename parameter PST to SELF. Exchanged two parameters.
2646 (xcoff_start_psymtab): Caller update.
2647
0de5618e
YQ
26482013-01-18 Yao Qi <yao@codesourcery.com>
2649
2650 * infrun.c (proceed): Rename local variable 'oneproc' to
2651 'force_step'.
2652
5c04624b
DE
26532013-01-17 Doug Evans <dje@google.com>
2654
848e3e78
DE
2655 * dwarf2read.c (dw2_build_type_unit_groups_reader): Delete.
2656 (dw2_build_type_unit_groups): Delete. All uses updated.
2657
5c04624b
DE
2658 * symtab.h (struct symbol_search): Add comment.
2659
d84fca2c
JK
26602013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2661
2662 * symtab.c (compare_filenames_for_search): New comment for
2663 HAS_DRIVE_SPEC.
2664
6108433d
TT
26652013-01-17 Tom Tromey <tromey@redhat.com>
2666
2667 * cp-abi.c (cp_abi_completer): Fix typo in assignment.
2668
c89ffd86
JK
26692013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2670
2671 * symtab.c (iterate_over_some_symtabs): New variable cleanups,
2672 initialize it by existing make_cleanup. Call new do_cleanups.
2673
db2b2972
TT
26742013-01-17 Tom Tromey <tromey@redhat.com>
2675
2676 * cp-abi.c (cp_abi_completer): New function.
2677 (_initialize_cp_abi): Set completer for "set cp-abi".
2678
be7d37a2
TT
26792013-01-17 Tom Tromey <tromey@redhat.com>
2680
2681 * mem-break.c: Remove obsolete comment.
2682 * bfin-tdep.c (bfin_breakpoint_from_pc): Fix comment.
2683
c9fb1240
SD
26842012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2685
2686 * jit.c (jit_reader_load_command): Interpret the jit reader name
2687 as an absolute path if it begins with a forward slash.
2688
db334a01
SD
26892012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
2690
2691 PR gdb/14550
2692
2693 * jit.c (finalize_symtab): Ensure that only the global block has a
2694 NULL superblock.
2695
7d928dac
PA
26962013-01-17 Pedro Alves <palves@redhat.com>
2697
2698 * acinclude.m4: Include ../config/plugins.m4,
2699 ../config/largefile.m4 and ../config/lead-dot.m4. Add comments.
2700 * Makefile.in (aclocal_m4_deps): Update.
2701 * aclocal.m4: Renegerate.
2702
fb8cf7c5
DE
27032013-01-16 Doug Evans <dje@google.com>
2704
2705 * contrib/cc-with-tweaks.sh: Add references to Fission docs.
2706
ab04a2af
TT
27072013-01-16 Pedro Alves <palves@redhat.com>
2708 Tom Tromey <tromey@redhat.com>
2709
2710 PR cli/7221:
2711 * NEWS: Add "catch signal".
2712 * breakpoint.c (base_breakpoint_ops): No longer static.
2713 (bpstat_explains_signal): New function.
2714 (init_catchpoint): No longer static.
2715 (base_breakpoint_explains_signal): New function.
2716 (base_breakpoint_ops): Initialize new field.
2717 * breakpoint.h (enum bpstat_signal_value): New.
2718 (struct breakpoint_ops) <explains_signal>: New field.
2719 (bpstat_explains_signal): Remove macro, declare as function.
2720 (base_breakpoint_ops, init_catchpoint): Declare.
2721 * break-catch-sig.c: New file.
2722 * inferior.h (signal_catch_update): Declare.
2723 * infrun.c (signal_catch): New global.
2724 (handle_syscall_event): Update for change to
2725 bpstat_explains_signal.
2726 (handle_inferior_event): Likewise. Always handle random signals
2727 via bpstats.
2728 (signal_cache_update): Check signal_catch.
2729 (signal_catch_update): New function.
2730 (_initialize_infrun): Initialize signal_catch.
2731 * Makefile.in (SFILES): Add break-catch-sig.c.
2732 (COMMON_OBS): Add break-catch-sig.o.
2733
8ac3646f
TT
27342013-01-16 Tom Tromey <tromey@redhat.com>
2735
2736 * breakpoint.c (print_one_catch_fork, print_one_catch_vfork)
2737 (print_one_catch_solib, print_one_catch_syscall)
2738 (print_one_catch_exec, print_one_exception_catchpoint): Emit
2739 "catch-type".
2740
5a18e302
YQ
27412013-01-16 Yao Qi <yao@codesourcery.com>
2742
2743 * printcmd.c (current_display_number): Make it static.
2744
3f01d0d0
YQ
27452013-01-16 Yao Qi <yao@codesourcery.com>
2746
2747 * infcmd.c (step_once): Don't check '!single_inst' as it was
2748 checked before.
2749
1ed59174
JK
27502013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2751
2752 * dwarf2read.c (psymtab_include_file_name): Extend the function comment.
2753
44478ab3
TT
27542013-01-14 Tom Tromey <tromey@redhat.com>
2755
2756 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the
2757 set command.
2758 * command.h (add_setshow_string_noescape_cmd): Update.
2759 * corefile.c (set_gnutarget_command): Remove trailing whitespace.
2760 (complete_set_gnutarget): New function.
2761 (_initialize_core): Set the "set gnutarget" completer.
2762
06d66ee9
TT
27632013-01-14 Tom Tromey <tromey@redhat.com>
2764
2765 PR symtab/14442:
2766 * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'.
2767 (c_type_print_modifier): Likewise.
2768 * dwarf2read.c (read_tag_restrict_type): New function.
2769 (read_type_die_1): Handle DW_TAG_restrict_type.
2770 * gdbtypes.c (make_restrict_type): New function.
2771 (recursive_dump_type): Handle TYPE_RESTRICT.
2772 * gdbtypes.h (enum type_flag_values): Renumber.
2773 (enum type_instance_flag_value): Add
2774 TYPE_INSTANCE_FLAG_RESTRICT.
2775 (TYPE_RESTRICT): New macro.
2776 (make_restrict_type): Declare.
2777
c9bf0622
TT
27782013-01-14 Tom Tromey <tromey@redhat.com>
2779
2780 PR symtab/14931:
2781 * psymtab.c (struct psymtab_state): New.
2782 (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New
2783 functions.
2784 * psympriv.h (make_cleanup_discard_psymtabs): Declare.
2785 * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions.
2786
44d594fd
PA
27872013-01-14 Richard Sharman <richard_sharman@mitel.com>
2788 Pedro Alves <palves@redhat.com>
2789
2790 PR remote/14786
2791
2792 * remote.c (remote_threads_info): Make a copy of the reply from
2793 qfThreadInfo and use that instead of rs->buf.
2794
442e4d9c
YQ
27952013-01-14 Yao Qi <yao@codesourcery.com>
2796
2797 * dbxread.c (dbx_psymtab_to_symtab_1): Don't check PST is NULL.
2798 (dbx_psymtab_to_symtab): Likewise.
2799 * dwarf2read.c (dwarf2_psymtab_to_symtab): Likewise.
2800 * mdebugread.c (mdebug_psymtab_to_symtab): Likewise.
2801 * xcoffread.c (xcoff_psymtab_to_symtab_1): Likewise.
2802
5b12a61c
JK
28032013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2804
2805 * parse.c (parse_exp_in_context): New variable inner_chain. Call
2806 make_cleanup_restore_current_language. Call set_language. Move
2807 OLD_CHAIN and INNER_CHAIN cleanups.
2808 * utils.c (do_restore_current_language)
2809 (make_cleanup_restore_current_language): New functions.
2810 * utils.h (make_cleanup_restore_current_language): New declaration.
2811
f0a4b570
JK
28122013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2813
2814 * source.c (symtab_to_fullname): Apply rewrite_source_path also for
2815 non-existing files.
2816
57b3c00c
JK
2817 * source.c (symtab_to_fullname): Do not prepend DIRNAME for
2818 non-existing files if FILENAME is already absolute.
2819
daefa854
JK
28202013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2821
2822 * macrocmd.c (macro_inform_no_debuginfo): Use puts_filtered instead of
2823 fputs_filtered. Append trailing newline.
2824
ca9c6ee2
YQ
28252013-01-11 Yao Qi <yao@codesourcery.com>
2826 Stan Shebs <stan@codesourcery.com>
2827
2828 * psymtab.c (init_psymbol_list): Clarify the comment.
2829
f28045c2
YQ
28302013-01-11 Yao Qi <yao@codesourcery.com>
2831
2832 * breakpoint.c (print_one_breakpoint_location): Remove dead code.
2833 (update_dprintf_command_list): Assert that 'printf_line' is
2834 non-null. Remove condition check.
2835
da5132d3
JK
28362013-01-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2837
2838 Code cleanup.
2839 * psymtab.c (psymtab_to_fullname, psymtab_to_fullname): Make the return
2840 type const char *.
2841 * tui/tui-source.c (tui_source_is_displayed): Make the parameter fname
2842 const char *.
2843 * tui/tui-source.h (tui_source_is_displayed): Likewise.
2844
843e694d
AG
28452013-01-09 Anthony Green <green@moxielogic.com>
2846
2847 * cp-abi.c (cplus_print_vtable): Don't return value from void
2848 function.
2849 * ada-lang.c (re_set_catch_assert): Ditto.
2850
da51c347
DE
28512013-01-09 Doug Evans <dje@google.com>
2852
2853 * symfile.h (quick_symbol_functions): Delete member
2854 pre_expand_symtabs_matching. All uses removed.
2855 * dwarf2read.c (dw2_lookup_symbol): Implement.
2856 (dw2_do_expand_symtabs_matching): Delete.
2857 (dw2_pre_expand_symtabs_matching): Delete.
2858 (struct dw2_symtab_iterator): New type.
2859 (dw2_symtab_iter_init, dw2_symtab_iter_next): New functions.
2860 (dw2_expand_symtabs_for_function): Rewrite.
2861 (dwarf2_gdb_index_functions): Update.
2862 * psymtab.c (pre_expand_symtabs_matching_psymtabs): Delete.
2863 (psym_functions): Update.
2864
b2259038
TT
28652013-01-09 Tom Tromey <tromey@redhat.com>
2866
2867 * config/pa/hpux.mh (NATDEPFILES): Remove somread.o.
2868 * configure: Rebuild.
2869 * configure.ac: Add somread.o to the build if BFD has SOM
2870 support.
2871 * somread.c: Include som/aout.h, not syms.h.
2872 (som_symtab_read): Use som_external_symbol_dictionary_record.
2873 Unpack records manually.
2874 (_initialize_somread): Declare.
2875
bdad4180
MF
28762012-01-08 Mike Frysinger <vapier@gentoo.org>
2877
2878 * common/linux-ptrace.c (linux_ptrace_test_ret_to_nx) [__x86_64__]:
2879 Cast return_address to 64bits.
2880
03cdf680
HZ
28812013-01-08 Hui Zhu <hui_zhu@mentor.com>
2882
2883 * printcmd.c: Remove define of function output_command.
2884 * tracepoint.c: Remove extern of function output_command.
2885 * valprint.h: (output_command): New extern.
2886
8a808554
TT
28872013-01-07 Tom Tromey <tromey@redhat.com>
2888
2889 * objc-lang.c (objc_emit_char, objc_printchar, objc_printstr):
2890 Remove.
2891 (objc_language_defn): Use c_printchar, c_printstr,
2892 c_emit_char.
2893
e93a8774
TT
28942013-01-07 Tom Tromey <tromey@redhat.com>
2895
2896 PR cli/7719:
2897 * NEWS: Update.
2898 * ada-valprint.c (printstr, print_field_values): Remove
2899 "inspect_it" code.
2900 * cp-valprint.c (cp_print_value_fields): Remove "inspect_it"
2901 code.
2902 * jv-valprint.c (java_print_value_fields): Remove "inspect_it"
2903 code.
2904 * m2-lang.c (m2_printstr): Remove "inspect_it" code.
2905 * main.c (captured_main): Remove "epoch" argument.
2906 * objc-lang.c (objc_printstr): Remove "inspect_it" code.
2907 * p-lang.c (pascal_printstr): Remove "inspect_it" code.
2908 * p-valprint.c (pascal_object_print_value_fields): Remove
2909 "inspect_it" code.
2910 * printcmd.c (print_command_1): Remove 'inspect' argument.
2911 (print_command, call_command): Update.
2912 (inspect_command): Remove.
2913 (_initialize_printcmd): Make "inspect" an alias for "print".
2914 * top.c (epoch_interface): Remove.
2915 * top.h (epoch_interface): Remove.
2916 * valprint.c (user_print_options): Update.
2917 (print_converted_chars_to_obstack): Remove "inspect_it" code.
2918 * valprint.h (struct value_print_options) <inspect_it>: Remove
2919 field.
2920
29212013-01-04 Tom Tromey <tromey@redhat.com>
2922
2923 * valprint.h (read_string): Add 'extern'.
2924
b967eb24
JB
29252013-01-07 Joel Brobecker <brobecker@adacore.com>
2926
2927 * darwin-nat.c: Fix typo in TASK_DYLD_INFO_COUNT macro test
2928 used to decide whether to define darwin_read_dyld_info or not.
2929
78a8b30e
PM
29302013-01-03 Pierre Muller <muller@sourceware.org>
2931
2932 * main.c (relocate_gdb_directory): Avoid calling stat function
2933 if DIR is empty.
2934
50da2f25
YQ
29352013-01-03 Yao Qi <yao@codesourcery.com>
2936
2937 * psymtab.c (fixup_psymbol_section): Update declaration.
2938 (fixup_psymbol_section): Remove code returning value.
2939
e7e8980f
YQ
29402013-01-03 Yao Qi <yao@codesourcery.com>
2941
2942 * symtab.h: Remove some out of date comments.
2943 (enum exception_event_kind): Move it ...
2944 * breakpoint.c: ... here.
2945
569283d4
MF
29462013-01-02 Iain Sandoe <developer@sandoe-acoustics.co.uk>
2947
9f9d9a96 2948 PR gdb/14405
569283d4
MF
2949 * darwin-nat.c (darwin_read_dyld_info): Only build if
2950 TASK_DYLD_INFO_COUNT is defined.
2951 (darwin_xfer_partial): Call darwin_read_dyld_info only if
2952 TASK_DYLD_INFO_COUNT is defined.
2953
2e36fbea
TT
29542013-01-02 Tom Tromey <tromey@redhat.com>
2955
2956 * symfile.h (struct ecoff_debug_hack): Remove.
2957 * objfiles.c: Don't include mdebugread.h.
2958
4f05add4
TT
29592013-01-02 Tom Tromey <tromey@redhat.com>
2960
2961 * config/i386/darwin.mh (NATDEPFILES): Remove machoread.o.
2962 * configure.ac: Check for Mach-O support in BFD. Update
2963 CONFIG_OBS.
2964 * configure: Rebuild.
2965
def63ff0
TT
29662013-01-02 Tom Tromey <tromey@redhat.com>
2967
2968 * acinclude.m4 (GDB_AC_CHECK_BFD): New macro.
2969 * configure.ac: Use GDB_AC_CHECK_BFD.
2970 * configure: Rebuild.
2971
60c5dd93
MK
29722013-01-01 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2973
2974 * MAINTAINERS: Update my email.
2975
6e58437e
JB
29762013-01-01 Joel Brobecker <brobecker@adacore.com>
2977
2978 * cli/cli-script.h (make_cleanup_free_command_lines): Make extern.
2979
627fe805
JB
29802013-01-01 Joel Brobecker <brobecker@adacore.com>
2981
2982 * rs6000-nat.c (bss_data_overlap): New function.
2983 (vmap_symtab): Use it to adjust the .bss section's offset.
2984
28e7fd62
JB
29852013-01-01 Joel Brobecker <brobecker@adacore.com>
2986
2987 Update year range in copyright notice of all files.
2988
e93a8774 29892013-01-01, 13 Joel Brobecker <brobecker@adacore.com>
b9786c74
JB
2990
2991 * top.c (print_gdb_version): Update copyright year.
2992
72b20e9c 2993For older changes see ChangeLog-2012.
c906108c
SS
2994\f
2995Local Variables:
2996mode: change-log
2997left-margin: 8
2998fill-column: 74
2999version-control: never
57da7796 3000coding: utf-8
c906108c 3001End:
This page took 1.580103 seconds and 4 git commands to generate.