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