Commit | Line | Data |
---|---|---|
4db71c0b YQ |
1 | 2011-03-02 Yao Qi <yao@codesourcery.com> |
2 | ||
3 | * arm-tdep.h (struct displaced_step_closure): Add two new fields | |
4 | is_thumb and insn_size. | |
5 | * arm-tdep.c (displaced_read_reg): Adjust correct pipeline offset | |
6 | on both ARM and Thumb mode. | |
7 | (arm_process_displaced_insn): Set is_thumb and insn_size. | |
8 | (arm_displaced_init_closure): Handle both 16-bit and 32-bit. | |
9 | (arm_displaced_step_fixup): Likewise. | |
10 | ||
a9dc8dcc MS |
11 | 2011-03-01 Michael Snyder <msnyder@vmware.com> |
12 | ||
53624a93 MS |
13 | * cli/cli-dump.c (dump_bfd_file): Check error return and warn. |
14 | ||
77766669 MS |
15 | * jv-lang.c (evaluate_subexp_java): Conditional can't be true. |
16 | ||
62d5b8da MS |
17 | * dwarf2read.c (dwarf2_compute_name): NAME cannot be null here. |
18 | ||
5e9e105f MS |
19 | * cli/cli-dump.c (restore_binary_file): Validate ftell return value. |
20 | ||
dc19db01 MS |
21 | * ada-lang.c (ada_make_symbol_completion_list): Replace malloc |
22 | with xmalloc. | |
23 | ||
5ce64950 MS |
24 | * ada-lang.c (aggregate_assign_others): Rename inner scope variable |
25 | which shadows function parameter. | |
26 | ||
a0aa2878 MS |
27 | * tracepoint.c (create_tsv_from_upload): Superfluous call |
28 | to xstrdup. Callee already calls xstrdup. | |
29 | ||
e325fb69 MS |
30 | * linespec.c (decode_line_1): Remove unnecessary null check. |
31 | ||
21cbba77 MS |
32 | * tracepoint.c (scope_info): Fix mem leak, remove underused |
33 | variable. | |
34 | ||
63360adc MS |
35 | * python/py-prettyprint.c (apply_val_pretty_printer): Remove |
36 | superfluous null check. | |
37 | ||
18ea20ac | 38 | * std-regs.c (value_of_builtin_frame_pc_reg): Frame can't be null. |
23ce9890 | 39 | (value_of_builtin_frame_fp_reg): Ditto. |
18ea20ac | 40 | |
d014929c MS |
41 | * event-top.c (display_gdb_prompt): Remove superfluous null check. |
42 | ||
6e9130cf MS |
43 | * python/py-prettyprint.c (apply_val_pretty_printer): VAL may |
44 | be null. | |
45 | ||
5f01dbc0 MS |
46 | * linespec.c (decode_line_1): Check for null before dereference. |
47 | ||
d684ab85 MS |
48 | * reverse.c (record_restore): Move null-check to before pointer |
49 | dereference. | |
50 | ||
bfffb7e3 MS |
51 | * python/py-utils.c (gdbpy_obj_to_string): Delete unused variable. |
52 | ||
a9dc8dcc MS |
53 | * objc-lang.c (selectors_info): Add explanitory comment. |
54 | (classes_info): Ditto. | |
55 | ||
478fd957 UW |
56 | 2011-03-01 Ulrich Weigand <ulrich.weigand@linaro.org> |
57 | ||
58 | * arm-linux-tdep.c (ARM_LDR_PC_SP_4): Add define. | |
59 | (arm_linux_restart_syscall_init): Handle both on-stack and in-kernel | |
60 | versions of the trampoline. Handle Thumb vs. ARM addresses. | |
61 | (arm_kernel_linux_restart_syscall_tramp_frame): New global. | |
62 | (arm_linux_init_abi): Install it. | |
63 | * arm-tdep.c (arm_psr_thumb_bit): Make global. | |
64 | * arm-tdep.c (arm_psr_thumb_bit): Add prototype. | |
65 | ||
0480cefa MS |
66 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
67 | ||
ac50ab3b MS |
68 | * ui-out.c (ui_out_field_core_addr): Make local char buffer |
69 | a little bigger, to avoid possibility of an overflow. | |
70 | ||
f63fbe86 MS |
71 | * breakpoint.c (breakpoint_adjustment_warning): Make local char |
72 | buffers a little bigger, to avoid possibility of an overflow. | |
73 | ||
9e91a352 MS |
74 | * coffread.c (coff_getfilename): Add check to avoid overflow. |
75 | ||
28288541 MS |
76 | * objc-lang.c (selectors_info): Add a small safety margin to |
77 | avoid overflow. | |
78 | (classes_info): Error out on too long REGEXP. | |
79 | ||
098ab512 MS |
80 | * infrun.c (handle_inferior_event): Remove unused function call. |
81 | ||
bcbd1de9 MS |
82 | * fork-child.c (fork_inferior): Remove ifdef'd code and |
83 | unused variable. | |
84 | ||
2e456570 MS |
85 | * linux-thread-db.c (attach_thread): Discard unused value. |
86 | ||
14571dad MS |
87 | * linux-nat.c (linux_handle_extended_wait): Delete unused variable. |
88 | ||
a9cbf802 MS |
89 | * remote.c (remote_get_noisy_reply): Discard unused value. |
90 | (remote_vcont_resume): Ditto. | |
91 | (remote_stop_ns): Ditto. | |
92 | ||
5715d26e MS |
93 | * linespec.c (decode_objc): Delete unused variable. |
94 | ||
4a9bca80 MS |
95 | * tui/tui-regs.c (tui_register_format): Delete unused variable. |
96 | ||
f47fb265 MS |
97 | * dwarf2read.c (add_partial_symbol): Discard unused values. |
98 | (read_base_type): Delete unused variable. | |
99 | ||
e81cff30 MS |
100 | * dbxread.c (read_dbx_symtab): Discard unused value. |
101 | ||
262acaeb MS |
102 | * eval.c (evaluate_subexp_standard): Delete unused variable, |
103 | and discard unused values. | |
104 | ||
df983543 MS |
105 | * infcmd.c (_initialize_infcmd): Discard unused values. |
106 | ||
89acf84d MS |
107 | * stabsread.c (rs6000_builtin_type): Missing break statement. |
108 | ||
ab8b8aca MS |
109 | * dbxread.c (process_one_symbol): Discard unused value. |
110 | ||
6b4511ab MS |
111 | * coffread.c (coff_end_symtab): Delete unused variable. |
112 | ||
e8e80198 MS |
113 | * dwarf2read.c (dw2_get_file_names): Discard unused value. |
114 | (dwarf2_add_typedef): Delete unused variable. | |
115 | (read_namespace): Ditto. | |
116 | (dwarf_decode_macros): Ditto. | |
117 | ||
976aa66e MS |
118 | * m2-lang.c (evaluate_subexp_modula2): Discard unused variable. |
119 | ||
5b92b49f MS |
120 | * opencl-lang.c (evaluate_subexp_opencl): Discard unused value. |
121 | ||
91e8df85 MS |
122 | * p-valprint.c (pascal_val_print): Discard unused value. |
123 | ||
899500d6 MS |
124 | * utils.c (nquery): Call va_end before return; |
125 | (yquery): Ditto. | |
126 | (query): Ditto. | |
127 | ||
0480cefa MS |
128 | * proc-service.c (ps_plog): Call va_end before return. |
129 | ||
fb6a3ed3 TT |
130 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
131 | ||
132 | * python/python.c (gdbpy_value_cst): New global. | |
133 | (_initialize_python): Initialize it. | |
134 | * python/python-internal.h (gdbpy_value_cst): Declare. | |
135 | * python/py-value.c (convert_value_from_python): Use | |
136 | gdbpy_value_cst. | |
137 | ||
c05202a1 MS |
138 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
139 | ||
e463f587 MS |
140 | * python/py-cmd.c (cmdpy_init): Fix memory leak. |
141 | ||
c38eea1a MS |
142 | * breakpoint.c (catch_syscall_completer): Free malloced list. |
143 | ||
3ef09ab5 MS |
144 | * jv-lang.c (java_primitive_type_from_name): Add missing break. |
145 | ||
8f9a01ee MS |
146 | * opencl-lang.c (lval_func_check_validity): Rename inner variables. |
147 | (lval_func_check_synthetic_pointer): Ditto. | |
148 | (lval_func_free_closure): Fix use-after-free. | |
c05202a1 | 149 | |
477d0d57 TT |
150 | 2011-02-28 Tom Tromey <tromey@redhat.com> |
151 | ||
152 | * psymtab.c (expand_partial_symbol_tables): Use | |
153 | ALL_OBJFILE_PSYMTABS. | |
154 | ||
20937029 JK |
155 | 2011-02-28 Jan Kratochvil <jan.kratochvil@redhat.com> |
156 | ||
157 | * objc-lang.c (selectors_info): Error on too long REGEXP. | |
158 | ||
907b7f4f MS |
159 | 2011-02-28 Michael Snyder <msnyder@vmware.com> |
160 | ||
92e96192 MS |
161 | * python/py-param.c (set_parameter_value): Add missing |
162 | break statement. | |
163 | ||
907b7f4f MS |
164 | * linux-record.c (record_linux_system_call): Add missing |
165 | break statement. | |
166 | ||
12c5a436 UW |
167 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
168 | ||
169 | * breakpoint.c (print_one_breakpoint_location): Remove unused | |
170 | argument PRINT_ADDRESS_BITS. Update callers. | |
171 | (print_one_breakpoint): Likewise. | |
172 | ||
170b53b2 UW |
173 | 2011-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
174 | ||
175 | * breakpoint.c (wrap_indent_at_field): New function. | |
176 | (print_breakpoint_location): Use it instead of WRAP_INDENT argument. | |
177 | Allocate ui_stream locally instead of using STB argument. | |
178 | (print_one_breakpoint_location): Update call. | |
179 | * ui-out.c (ui_out_query_field): New function. | |
180 | * ui-out.h (ui_out_query_field): Add prototype. | |
181 | ||
8ab1f94d JB |
182 | 2011-02-28 Joel Brobecker <brobecker@adacore.com> |
183 | ||
184 | From Michael Snyder <msnyder@vmware.com> | |
185 | * ada-exp.y (write_object_renaming): Add FALLTHROUGH comment. | |
186 | ||
7d488639 MS |
187 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
188 | ||
ae179fba MS |
189 | * objc-lang.c (selectors_info): Prevent string overrun. |
190 | ||
086dbf66 MS |
191 | * tui/tui-stack.c (tui_get_function_from_frame): Fix off by one |
192 | error in strncpy. | |
193 | ||
9c1e305a MS |
194 | * symtab.c (rbreak_command): Move variable 'file_name' to |
195 | outer scope. | |
196 | ||
7d488639 MS |
197 | * d-valprint.c (dynamic_array_type): Avoid shadowing a function |
198 | param with a local variable of the same name. | |
199 | ||
3bd0f5ef MS |
200 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
201 | ||
202 | * value.c (value_from_history_ref): New function. | |
203 | * value.h (value_from_history_ref): Export. | |
204 | * cli/cli-utils.c (get_number_trailer): Use value_from_history_ref | |
205 | to parse value history references. | |
206 | * cli/cli-utils.h (get_number_trailer): Update comment. | |
207 | ||
208 | 2011-02-27 Michael Snyder <msnyder@vmware.com> | |
209 | ||
210 | * inferior.c (detach_inferior_command): Use get_number_or_range. | |
211 | (kill_inferior_command): Ditto. | |
212 | (remove_inferior_command): Ditto. | |
213 | (initialize_inferiors): Make command names plural. | |
214 | Update help strings. | |
215 | ||
766062f6 MS |
216 | 2011-02-27 Michael Snyder <msnyder@vmware.com> |
217 | ||
218 | * darwin-nat-info.c: Fix comment typo. | |
219 | * dwarf2expr.h: Ditto. | |
220 | * fbsd-nat.c: Ditto. | |
221 | * fbsd-nat.h: Ditto. | |
222 | * frame-unwind.h: Ditto. | |
223 | * frame.h: Ditto. | |
224 | * hppa-hpux-tdep.c: Ditto. | |
225 | * i386-linux-nat.c: Ditto. | |
226 | * linux-nat.c: Ditto. | |
227 | * nbsd-nat.c: Ditto. | |
228 | * nbsd-nat.h: Ditto. | |
229 | * ppc-linux-tdep.c: Ditto. | |
230 | * serial.c: Ditto. | |
231 | * ui-file.h: Ditto. | |
232 | * tui/tui-winsource.c: Ditto. | |
233 | ||
f2c4ead5 MS |
234 | 2011-02-26 Michael Snyder <msnyder@vmware.com> |
235 | ||
86b887df MS |
236 | * breakpoint.c (reattach_breakpoints): Avoid resource leak (ui_file). |
237 | ||
66fd3b1e MS |
238 | * maint.c (maintenance_do_deprecate): Plug a memory leak. |
239 | ||
8c814cdd MS |
240 | * dwarf2loc.c (insert_bits): Avoid shadowing a function param |
241 | with a local variable of the same name. | |
242 | ||
6d5e094a | 243 | * i387-tdep.c (i387_supply_fxsave): Avoid shadowing a function |
e5b3d7d6 | 244 | param with a local variable of the same name. |
6d5e094a | 245 | (i387_supply_xsave): Ditto. |
e5b3d7d6 | 246 | |
5eee517d MS |
247 | * linux-low.c (linux_nat_xfer_osdata): Rename local variable so |
248 | that it does not shadow a function parameter. | |
249 | ||
8fbf6b93 MS |
250 | * i386-nat.c (i386_length_and_rw_bits): Document that case |
251 | statement is meant to fall through. | |
252 | ||
cb969d61 MS |
253 | * expprint.c (dump_subexp_body_standard): Document that case |
254 | statement is meant to fall through. | |
255 | ||
f2c4ead5 MS |
256 | * amd64-linux-tdep.c (amd64_linux_syscall_record): Delete |
257 | dead if statement. Condition can't be false. | |
258 | ||
b021a221 MS |
259 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
260 | ||
261 | * arm-tdep.c: Fix typos in comments. | |
262 | * bsd-uthread.c: Ditto. | |
263 | * completer.c: Ditto. | |
264 | * corelow.c: Ditto. | |
265 | * cp-namespace.c: Ditto. | |
266 | * cp-support.c: Ditto. | |
267 | * cris-tdep.c: Ditto. | |
268 | * dbxread.c: Ditto. | |
269 | * dwarf2read.c: Ditto. | |
270 | * frame.h: Ditto. | |
271 | * gdbtypes.h: Ditto. | |
272 | * inferior.h: Ditto. | |
273 | * mdebugread.c: Ditto. | |
274 | * mips-tdep.c: Ditto. | |
275 | * ppc-linux-nat.c: Ditto. | |
276 | * ppc-linux-tdep.c: Ditto. | |
277 | * printcmd.c: Ditto. | |
278 | * sol-thread.c: Ditto. | |
279 | * solib-frv.c: Ditto. | |
280 | * solist.h: Ditto. | |
281 | * sparc64-tdep.c: Ditto. | |
282 | * spu-tdep.c: Ditto. | |
283 | * stabsread.c: Ditto. | |
284 | * symfile.c: Ditto. | |
285 | * valops.c: Ditto. | |
286 | * varobj.c: Ditto. | |
287 | * vax-nat.c: Ditto. | |
288 | * python/py-block.c: Ditto. | |
289 | * python/py-symbol.c: Ditto. | |
290 | * python/py-symtab.c: Ditto. | |
291 | * python/py-value.c: Ditto. | |
292 | * tui/tui-win.c: Ditto. | |
293 | ||
c82c0b55 MS |
294 | 2011-02-25 Michael Snyder <msnyder@vmware.com> |
295 | ||
296 | * inferior.c (print_inferior): Accept a string instead of an int | |
297 | for requested_inferiors, and use get_number_or_range to parse it. | |
298 | (info_inferiors_command): Pass args string to print_inferior. | |
299 | (initialize_inferiors): Change help string for info inferiors. | |
300 | * inferior.h (print_inferior): Export prototype change. | |
301 | ||
ee00cd23 TT |
302 | 2011-02-25 Tom Tromey <tromey@redhat.com> |
303 | ||
304 | * common/ax.def (invalid2): Set to 0x31. | |
305 | ||
0502ed8c JK |
306 | 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
307 | ||
308 | * dwarf2loc.c (disassemble_dwarf_expression) <DW_OP_breg[0-9]+>: Use | |
309 | L and plongest. | |
310 | (disassemble_dwarf_expression) <DW_OP_bregx>: Drop variable offset, | |
311 | use L and plongest. | |
312 | (disassemble_dwarf_expression) <DW_OP_fbreg>: Use L and plongest. | |
313 | ||
2c9de912 MS |
314 | 2011-02-24 Michael Snyder <msnyder@vmware.com> |
315 | ||
316 | * Makefile.in (clean): Make clean should remove generated files | |
317 | observer.h and observer.inc. | |
318 | ||
a04b0428 JB |
319 | 2011-02-24 Joel Brobecker <brobecker@adacore.com> |
320 | ||
321 | Revert the following patch (not approved yet): | |
322 | 2011-02-21 Hui Zhu <teawater@gmail.com> | |
323 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
324 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
325 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
326 | * ax-general.c (ax_memcpy): New function. | |
327 | (ax_print): Handle "printf". | |
328 | (ax_reqs): Ditto. | |
329 | * ax.h (ax_memcpy): Forward declare. | |
330 | * common/ax.def (invalid2): Removed. | |
331 | (printf): New entry. | |
332 | * printcmd.c (printcmd.h): New include. | |
333 | (string_printf): New function. | |
334 | (ui_printf): Removed. | |
335 | (printf_command): Remove static. Call string_printf. | |
336 | (eval_command): Call string_printf. | |
337 | * printcmd.h: New file. | |
338 | * tracepoint.c (validate_actionline, | |
339 | encode_actions_1): handle printf_command. | |
340 | ||
2b52013f TT |
341 | 2011-02-23 Tom Tromey <tromey@redhat.com> |
342 | ||
343 | * ax-general.c (ax_pick): Add missing newline. | |
344 | ||
e5a67952 MS |
345 | 2011-02-23 Michael Snyder <msnyder@vmware.com> |
346 | ||
347 | * breakpoint.c (breakpoint_1): Change first argument from an int | |
348 | to a char pointer, so that the function now accepts a list of | |
349 | breakpoints rather than just one. Use new function | |
350 | 'number_is_in_list' to implement. | |
351 | (breakpoints_info): Pass char * instead of int to breakpoint_1. | |
352 | (watchpoints_info): Ditto. | |
353 | (tracepoints_info): Ditto. | |
354 | (maintenance_info_breakpoints): Ditto. | |
355 | (_initialize_breakpoint): Update help strings to reflect the fact | |
356 | that these functions can now take more than one argument. | |
357 | * cli/cli-utils.c (number_is_in_list): New function. | |
358 | * cli/cli-utils.h (number_is_in_list): Export. | |
359 | ||
360 | 2011-02-23 Michael Snyder <msnyder@vmware.com> | |
fbcb778d MS |
361 | |
362 | * memattr.c (mem_enable_command): Use get_number_or_range. | |
363 | (mem_disable_command): Ditto. | |
364 | (mem_delete_command): Ditto. | |
365 | (_initialize_mem): Tweak usage message to reflect multiple | |
366 | arguments. | |
367 | ||
6e6fbe60 DE |
368 | 2011-02-22 Doug Evans <dje@google.com> |
369 | ||
370 | Add gdb.lookup_global_symbol python function. | |
371 | * NEWS: Add entry. | |
372 | * python/py-symbol.c (gdbpy_lookup_global_symbol): New function. | |
373 | * python/python-internal.h (gdbpy_lookup_global_symbol): Declare it. | |
374 | * python/python.c (GdbMethods): Add entry for lookup_global_symbol. | |
375 | ||
79b97fa8 TT |
376 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
377 | ||
378 | * language.c (language_class_name_from_physname): Rename | |
379 | 'curr_language' argument to 'lang'; use in body. | |
380 | ||
298f437a MS |
381 | 2011-02-22 Michael Snyder <msnyder@vmware.com> |
382 | ||
383 | * cli/cli-utils.c (number_is_in_list): Check for zero return. | |
384 | ||
b7ea3126 PA |
385 | 2011-02-22 Pedro Alves <pedro@codesourcery.com> |
386 | ||
387 | * frame-unwind.h: Fix comment to mention the this frame, not the | |
388 | next. | |
389 | ||
58ee6d60 TT |
390 | 2011-02-22 Tom Tromey <tromey@redhat.com> |
391 | ||
392 | * symfile.c (auto_solib_limit): Remove. | |
393 | * symfile.h (auto_solib_limit): Remove. | |
394 | ||
36238dbc JB |
395 | 2011-02-22 Joel Brobecker <brobecker@adacore.com> |
396 | ||
397 | * Makefile.in (INSTALLED_LIBS): Delete. Update comment. | |
398 | ||
aea5b279 MS |
399 | 2011-02-21 Michael Snyder <msnyder@vmware.com> |
400 | ||
401 | * gdbthread.h (print_thread_info): Change prototype. | |
402 | * thread.c (print_thread_info): Accept char* instead of int for | |
403 | requested_threads argument. Use new function number_is_in_list | |
404 | to determine which threads to list. | |
405 | (info_threads_command): Pass char* to print_thread_info. | |
406 | * cli/cli-utils.c (number_is_in_list): New function. | |
407 | * cli/cli-utils.h (number_is_in_list): Export. | |
408 | * mi/mi-main.c (mi_cmd_thread_info): Pass char* to | |
409 | print_thread_info. | |
410 | (print_one_inferior): Ditto. | |
411 | (mi_cmd_list_thread_groups): Ditto. | |
412 | ||
8caa75ee JK |
413 | 2011-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
414 | ||
415 | * common/Makefile.in (CFLAGS): New. | |
416 | (COMPILE): Add $(CFLAGS). | |
417 | ||
ea666128 TT |
418 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
419 | ||
420 | * breakpoint.c (catch_syscall_command_1): Fix typo. | |
421 | ||
e9cafbcc TT |
422 | 2011-02-21 Tom Tromey <tromey@redhat.com> |
423 | ||
424 | * reverse.c: Include cli-utils.h. | |
425 | * printcmd.c: Include cli-utils.h. | |
426 | (string_printf): Use skip_spaces. | |
427 | * cli/cli-utils.h: New file. | |
428 | * cli/cli-utils.c: New file. | |
429 | * cli/cli-dump.h (skip_spaces): Move to cli-utils.h. | |
430 | * cli/cli-dump.c (skip_spaces): Move to cli-utils.c. | |
431 | * breakpoint.h (get_number, get_number_or_range): Move to | |
432 | cli-utils.h. | |
433 | * breakpoint.c: Include cli-utils.h. | |
434 | (get_number_trailer, get_number, get_number_or_range) | |
435 | (ep_skip_leading_whitespace): Move to cli-utils.c. | |
436 | (create_breakpoint_sal, find_condition_and_thread) | |
437 | (decode_static_tracepoint_spec, watch_command_1) | |
438 | (watch_maybe_just_location, ep_parse_optional_if_clause) | |
439 | (catch_fork_command_1, catch_exec_command_1) | |
440 | (catch_syscall_command_1): Use skip_spaces, skip_to_space. | |
441 | * Makefile.in (SUBDIR_CLI_OBS): Add cli-utils.o. | |
442 | (SUBDIR_CLI_SRCS): Add cli-utils.c. | |
443 | (HFILES_NO_SRCDIR): Add cli-utils.h. | |
444 | (cli-utils.o): New target. | |
445 | ||
f67fd822 PM |
446 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
447 | ||
448 | * remote.c (remote_close): Reset INFERIOR_PTID to NULL_PTID | |
449 | before calling discard_all_inferiors. | |
450 | ||
c9def01d UW |
451 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
452 | ||
453 | * opencl-lang.c (STRUCT_OCL_TYPE): Remove. | |
454 | (struct builtin_opencl_type): Remove. | |
455 | (builtin_opencl_type): Change return type to "struct type **". | |
456 | (lookup_opencl_vector_type): Update caller. | |
457 | (opencl_language_arch_info): Copy primitive type vector from gdbarch. | |
458 | (build_opencl_types): Install plain array of "struct type *" | |
459 | instead of "struct builtin_opencl_type". | |
460 | ||
e3039479 UW |
461 | 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com> |
462 | Ulrich Weigand <uweigand@de.ibm.com> | |
463 | ||
464 | * arm-linux-nat.c: Include "observer.h" and "gdbthread.h". | |
465 | (PTRACE_GETHBPREGS, PTRACE_SETHBPREGS): Define. | |
466 | (struct arm_linux_hwbp_cap): New type. | |
467 | (arm_linux_get_hwbp_cap): New function. | |
468 | (arm_linux_get_hw_breakpoint_count): Likewise. | |
469 | (arm_linux_get_hw_watchpoint_count): Likewise. | |
470 | (arm_linux_can_use_hw_breakpoint): Likewise. | |
471 | (arm_hwbp_type): New type. | |
472 | (arm_hwbp_control_t): Likewise. | |
473 | (struct arm_linux_hw_breakpoint): Likewise. | |
474 | (struct arm_linux_thread_points): Likewise. | |
475 | (arm_threads): New global variable. | |
476 | (arm_linux_find_breakpoints_by_tid): New function. | |
477 | (arm_hwbp_control_initialize): Likewise. | |
478 | (arm_hwbp_control_is_enabled): Likewise. | |
479 | (arm_hwbp_control_disable): Likewise. | |
480 | (arm_linux_hw_breakpoint_initialize): Likewise. | |
481 | (arm_linux_get_hwbp_type): Likewise. | |
482 | (arm_linux_hw_watchpoint_initialize): Likewise. | |
483 | (arm_linux_hw_breakpoint_equal): Likewise. | |
484 | (arm_linux_insert_hw_breakpoint1): Likewise. | |
485 | (arm_linux_remove_hw_breakpoint1): Likewise. | |
486 | (arm_linux_insert_hw_breakpoint): Likewise. | |
487 | (arm_linux_remove_hw_breakpoint): Likewise. | |
488 | (arm_linux_region_ok_for_hw_watchpoint): Likewise. | |
489 | (arm_linux_insert_watchpoint): Likewise. | |
490 | (arm_linux_remove_watchpoint): Likewise. | |
491 | (arm_linux_stopped_data_address): Likewise. | |
492 | (arm_linux_stopped_by_watchpoint): Likewise. | |
493 | (arm_linux_watchpoint_addr_within_range): Likewise. | |
494 | (arm_linux_new_thread): Likewise. | |
495 | (arm_linux_thread_exit): Likewise. | |
496 | (_initialize_arm_linux_nat): Install hardware breakpoint/watchpoint | |
497 | related target callbacks. Register arm_linux_new_thread and | |
498 | arm_linux_thread_exit. | |
499 | * arm-tdep.h (arm_pc_is_thumb): Add prototype. | |
500 | * arm-tdep.c (arm_pc_is_thumb): Make global. | |
501 | (arm_gdbarch_init): Call set_gdbarch_have_nonsteppable_watchpoint. | |
502 | ||
b5db5dfc UW |
503 | 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
504 | ||
505 | * breakpoint.c (update_watchpoint): Do not attempt to recreate | |
506 | per-frame locations while within a function epilogue. | |
507 | ||
e25b2cfa PM |
508 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
509 | ||
510 | * ser-mingw.c (ser_windows_close): Reformat comment to better conform | |
511 | to GNU coding standards. | |
512 | ||
4af53f97 PM |
513 | 2011-02-21 Pierre Muller <muller@ics.u-strasbg.fr> |
514 | ||
515 | Allow use of mingw native on Windows 95 OS. | |
e25b2cfa | 516 | * ser-mingw.c (CancelIo): New macro for dynamically loaded DLL entry. |
4af53f97 PM |
517 | (ser_windows_close): Only call CancelIo if function exists. |
518 | (_initialize_ser_windows): Use LoadLirary/GetProcAddress | |
519 | to check for existence of CancelIo function in kernel32 DLL. | |
520 | ||
d0e92d82 HZ |
521 | 2011-02-21 Hui Zhu <teawater@gmail.com> |
522 | ||
523 | * Makefile.in (HFILES_NO_SRCDIR): Add printcmd.h. | |
524 | * ax-gdb.c (gen_printf_expr_callback): New function. | |
525 | * ax-gdb.h (gen_printf_expr_callback): Forward declare. | |
526 | * ax-general.c (ax_memcpy): New function. | |
527 | (ax_print): Handle "printf". | |
528 | (ax_reqs): Ditto. | |
529 | * ax.h (ax_memcpy): Forward declare. | |
530 | * common/ax.def (invalid2): Removed. | |
531 | (printf): New entry. | |
532 | * printcmd.c (printcmd.h): New include. | |
533 | (string_printf): New function. | |
534 | (ui_printf): Removed. | |
535 | (printf_command): Remove static. Call string_printf. | |
536 | (eval_command): Call string_printf. | |
537 | * printcmd.h: New file. | |
538 | * tracepoint.c (validate_actionline, | |
539 | encode_actions_1): handle printf_command. | |
540 | ||
7d357efd MS |
541 | 2011-02-19 Michael Snyder <msnyder@vmware.com> |
542 | ||
543 | * reverse.c (delete_one_bookmark): Argument is now bookmark | |
544 | id rather than pointer to bookmark struct. | |
545 | (delete_bookmark_command): Use get_number_or_range. | |
546 | (goto_bookmark_command): Parse with get_number instead of strtoul. | |
547 | (bookmark_1): New function. Print info for one bookmark. | |
548 | (bookmarks_info): Use get_number_or_range and bookmark_1. | |
549 | ||
7a45ebd7 MS |
550 | 2011-02-18 Michael Snyder <msnyder@vmware.com> |
551 | ||
552 | * thread.c (info_threads_command): Re-implement using | |
553 | get_number_or_range. | |
65ebfb52 | 554 | (thread_apply_command): Ditto. |
7a45ebd7 | 555 | |
94d5e490 TT |
556 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
557 | ||
558 | * common/ax.def: New file. | |
559 | * ax.h (enum agent_op): Use ax.def. | |
560 | * ax-general.c (aop_map): Use ax.def. | |
561 | ||
c7f96d2b TT |
562 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
563 | ||
564 | * ax-general.c (aop_map): Add pick and rot. | |
565 | * dwarf2loc.c (compile_dwarf_to_ax) <DW_OP_over>: Reimplement. | |
566 | <DW_OP_rot>: Implement. | |
567 | * ax.h (enum agent_op) <aop_pick, aop_rot>: New constants. | |
568 | (ax_pick): Declare. | |
569 | * ax-general.c (ax_pick): New function. | |
570 | ||
66694b75 TT |
571 | 2011-02-18 Tom Tromey <tromey@redhat.com> |
572 | ||
573 | * Makefile.in (HFILES_NO_SRCDIR): Don't mention ada-operator.inc. | |
574 | ||
eeaafae2 JK |
575 | 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
576 | Tom Tromey <tromey@redhat.com> | |
577 | ||
578 | * cp-support.c (make_symbol_overload_list_namespace): Do not call | |
579 | make_symbol_overload_list_block with NULL BLOCK. | |
580 | * valarith.c (unop_user_defined_p): Resolve also TYPE_CODE_TYPEDEF. | |
581 | ||
3c3fe74c PA |
582 | 2011-02-18 Pedro Alves <pedro@codesourcery.com> |
583 | ||
584 | * breakpoint.c (get_number_trailer): No longer accept a NULL PP. | |
585 | * breakpoint.h (get_number_or_range): Declare. | |
586 | * printcmd.c (ALL_DISPLAYS): Declare. | |
587 | (delete_display): Reimplement taking a display pointer. | |
588 | (undisplay_command): Accept a range of displays to delete, using | |
589 | get_number_or_range. | |
590 | ||
13163d80 PM |
591 | 2011-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
592 | ||
593 | * c-valprint.c (c_val_print): Add embedded_offset to address | |
594 | for arrays of unspecified length. | |
595 | * p-valprint.c (pascal_val_print): Likewise. | |
596 | ||
b434a28f YQ |
597 | 2011-02-18 Yao Qi <yao@codesourcery.com> |
598 | ||
599 | * gdb/arm-tdep.c (arm_displaced_step_copy_insn): Move code to ... | |
600 | (arm_process_displaced_insn): .. here. Remove parameter INSN. | |
601 | (thumb_process_displaced_insn): New. | |
602 | * gdb/arm-linux-tdep.c (arm_linux_displaced_step_copy_insn): Update | |
603 | call to arm_process_displaced_insn. | |
604 | * gdb/arm-tdep.h : Update declaration of arm_process_displaced_insn. | |
605 | ||
9f6f94ff TT |
606 | 2011-02-17 Tom Tromey <tromey@redhat.com> |
607 | ||
608 | * dwarf2loc.h (dwarf2_compile_expr_to_ax): Declare. | |
609 | * dwarf2loc.c (dwarf2_compile_expr_to_ax): Rename from | |
610 | compile_dwarf_to_ax. No longer static. Call | |
611 | dwarf2_compile_cfa_to_ax. | |
612 | (locexpr_tracepoint_var_ref): Update. | |
613 | (loclist_tracepoint_var_ref): Update. | |
614 | * dwarf2-frame.h (dwarf2_compile_cfa_to_ax): Declare. | |
615 | * dwarf2-frame.c (execute_cfa_program): Remove 'this_frame' | |
616 | argument; add 'gdbarch' and 'pc'. | |
617 | (dwarf2_compile_cfa_to_ax): New function. | |
618 | (dwarf2_frame_cache): Update. | |
619 | ||
e67ad678 JB |
620 | 2011-02-17 Joel Brobecker <brobecker@adacore.com> |
621 | ||
622 | * ada-lang.c (ada_type_of_array): Fix the size of the array | |
623 | in the case of an unconstrained packed array. | |
624 | ||
946ebb0d YQ |
625 | 2011-02-17 Yao Qi <yao@codesourcery.com> |
626 | ||
627 | * common/Makefile.in: Add more targets for make. | |
628 | ||
1ba1b353 TT |
629 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
630 | ||
631 | * dwarf2loc.c (unimplemented): Fix typo. | |
632 | ||
b1bfef65 TT |
633 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
634 | ||
635 | * dwarf2loc.c (unimplemented): Handle unnamed opcodes. | |
636 | (compile_dwarf_to_ax) <default>: Use unimplemented. | |
637 | <DW_OP_deref>: Update. | |
638 | (disassemble_dwarf_expression): Update. | |
639 | * dwarf2read.c (dwarf_stack_op_name): Remove 'def' argument. | |
640 | (decode_locdesc): Update. | |
641 | * dwarf2expr.h (dwarf_stack_op_name): Update. | |
642 | ||
5f1e6f19 TT |
643 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
644 | ||
645 | * ax.h (struct aop_map) <name>: Now const. | |
646 | ||
a0c78a73 PA |
647 | 2011-02-16 Tom Tromey <tromey@redhat.com> |
648 | ||
649 | * ax-gdb.c.c (gen_expr) <UNOP_MEMVAL>: Handle value kinds other | |
650 | than axs_rvalue. | |
651 | ||
946ebb0d | 652 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
a42244db YQ |
653 | |
654 | * infrun.c (get_displaced_step_closure_by_addr): New. | |
655 | * inferior.h: Declare it. | |
656 | * arm-tdep.c: (arm_pc_is_thumb): Call | |
657 | get_displaced_step_closure_by_addr. Adjust MEMADDR if it | |
658 | returns non-NULL. | |
659 | ||
08807d5a PA |
660 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
661 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
662 | ||
663 | gdb/ | |
664 | * tracepoint.c (memrange_sortmerge): Fix list A's end calculation. | |
665 | ||
29976f3f PA |
666 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
667 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
668 | ||
669 | * value.c (value_contents_copy_raw): Extend describing comment. | |
670 | Assert that the destination contents we're overwriting are wholly | |
671 | available. | |
fb68ae73 | 672 | (value_contents_copy): Extend describing comment. |
29976f3f | 673 | |
cd24cfaa PA |
674 | 2011-02-16 Pedro Alves <pedro@codesourcery.com> |
675 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
676 | ||
677 | * value.c (value_available_contents_eq): Remove redundant local | |
678 | variables. Fix available contents comparision. | |
679 | * value.h (value_available_contents_eq): Extend describing | |
680 | comment. | |
681 | ||
60bbf338 YQ |
682 | 2011-02-16 Yao Qi <yao@codesourcery.com> |
683 | ||
684 | * thread.c (info_threads_command): Add missing i18n markup and remove | |
685 | trailing newline. | |
686 | ||
17450429 PP |
687 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
688 | ||
689 | * breakpoint.c (longjmp_names): New variable. | |
690 | (struct breakpoint_objfile_data): New type. | |
691 | (breakpoint_objfile_key): New variable. | |
692 | (msym_not_found): New variable. | |
693 | (msym_not_found_p): New predicate. | |
694 | (get_breakpoint_objfile_data): New function. | |
695 | (create_overlay_event_breakpoint): Check per-objfile cache for | |
696 | symbols first. | |
697 | (create_longjmp_master_breakpoint): Likewise. | |
698 | (create_std_terminate_master_breakpoint): Likewise. | |
699 | (create_exception_master_breakpoint): Likewise. | |
700 | (_initialize_breakpoint): Register per-objfile data key. | |
701 | ||
af02033e PP |
702 | 2011-02-15 Paul Pluzhnikov <ppluzhnikov@google.com> |
703 | ||
704 | * breakpoint.c ((create_overlay_event_breakpoint): Const-propagate | |
705 | parameter value. | |
706 | (create_longjmp_master_breakpoint): Loop over longjmp names. | |
707 | (create_std_terminate_master_breakpoint): Const-propagate parameter | |
708 | value. | |
709 | (update_breakpoints_after_exec): Adjust. | |
710 | (breakpoint_re_set): Adjust. | |
711 | ||
60f98dde MS |
712 | 2011-02-15 Michael Snyder <msnyder@vmware.com> |
713 | ||
cdf99611 MS |
714 | * thread.c (info_threads_command): Process arg as thread id, |
715 | or list of thread ids. | |
716 | (thread_find_command): New command. | |
717 | (_initialize_thread): Document argument for info threads. | |
718 | Document 'thread find' command. | |
719 | * NEWS: Document new command "thread find". | |
60f98dde | 720 | |
0feedb2c JK |
721 | 2011-02-15 Jan Kratochvil <jan.kratochvil@redhat.com> |
722 | ||
723 | * Makefile.in (ACLOCAL_AMFLAGS): Add `-I ../config'. | |
724 | * aclocal.m4: Regenerated with aclocal-1.11.1. | |
725 | * common/configure: Regenerate with autoconf-2.64. | |
726 | ||
648cd113 KW |
727 | 2011-02-15 Ken Werner <ken.werner@de.ibm.com> |
728 | ||
729 | * opencl-lang.c (build_opencl_types): Set the size of the built-in | |
730 | bool data type to a size of one byte. | |
731 | ||
5657161f PA |
732 | 2011-02-15 Pedro Alves <pedro@codesourcery.com> |
733 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
734 | ||
735 | * target.c (memory_xfer_live_readonly_partial): Document where to | |
736 | look for interface description. | |
737 | ||
494e194e YQ |
738 | 2011-02-15 Yao Qi <yao@codesourcery.com> |
739 | ||
740 | PR tdep/12352 | |
741 | * arm-tdep.c (copy_ldr_str_ldrb_strb): Replace PC with SP in | |
742 | order to store PC value on stack instead of text section. | |
743 | ||
d9492458 TJB |
744 | 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
745 | ||
746 | * rs6000-tdep.c (IS_EFP_PSEUDOREG): Use correct constant for | |
747 | the EFP register set size. | |
748 | (efpr_pseudo_register_read): Use regcache_raw_read_part to read | |
749 | data from the VMX register. | |
750 | (efpr_pseudo_register_write): Use regcache_raw_write_part to read | |
751 | and write data from/to the VMX register. | |
752 | ||
cdf99611 MS |
753 | 2011-02-14 Michael Snyder <msnyder@vmware.com> |
754 | ||
755 | * command.h (enum command_class): New class 'no_set_class', for | |
756 | "show" commands without a corresponding "set" command. | |
757 | * value.c (_initialize_values): Use 'no_set_class' for "show values". | |
758 | * copying.c (_initialize_copying): Ditto for "show copying" and | |
759 | "show warranty". | |
760 | * cli/cli-cmds.c (init_cli_cmds): Ditto for "show commands" and | |
761 | "show version". | |
762 | * cli/cli-setshow.c (cmd_show_list): Skip "show" commands for | |
763 | which there is no corresponding "set" command (eg. "show copying"). | |
764 | ||
424447ee PA |
765 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
766 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
767 | ||
768 | * exec.c (section_table_available_memory): Change `len' parameter | |
769 | type to ULONGEST. | |
770 | * exec.h (section_table_available_memory): Ditto. | |
771 | * value.h (read_value_memory): Rename the `offset' parameter to | |
772 | `embedded_offset'. | |
773 | ||
c0f61f9c | 774 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
e0ccc0c7 | 775 | Jan Kratochvil <jan.kratochvil@redhat.com> |
c0f61f9c PA |
776 | |
777 | * memrange.c (compare_mem_ranges): Mention sort order in | |
778 | describing comment. | |
779 | (normalize_mem_ranges): Add comment. Fix ra->length calculation. | |
780 | * tracepoint.c (traceframe_available_memory): Extend comment to | |
781 | mention what happens to RESULT when the target does not support | |
782 | the query. | |
783 | ||
6bfc80c7 PA |
784 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
785 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
786 | ||
787 | * value.c (mark_value_bytes_unavailable): Fix indexing the `bef' | |
788 | range. | |
789 | ||
e7303042 PA |
790 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
791 | ||
792 | * value.c (value_bits_valid, value_bits_synthetic_pointer): | |
793 | No longer handle NULL values. | |
794 | ||
8af8e3bc PA |
795 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
796 | ||
797 | * exceptions.h (NOT_AVAILABLE_ERROR): New error. | |
798 | * value.c: Include "exceptions.h". | |
799 | (require_available): Throw NOT_AVAILABLE_ERROR instead of a | |
800 | generic error. | |
801 | * cp-abi.c: Include gdb_assert.h. | |
802 | (baseclass_offset): Add `embedded_offset' and `val' parameters. | |
803 | Assert the method is implemented. Wrap NOT_AVAILABLE_ERROR | |
804 | errors. | |
805 | * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val' | |
806 | parameters. No longer returns -1 on error. | |
807 | (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and | |
808 | `val' parameters. | |
809 | * cp-valprint.c: Include exceptions.h. | |
810 | (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching | |
811 | the baseclass_offset. Handle unavailable base classes. Use | |
812 | val_print_invalid_address. | |
813 | * p-valprint.c: Include exceptions.h. | |
814 | (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors | |
815 | when fetching the baseclass_offset. No longer expect | |
816 | baseclass_offset returning -1. Handle unavailable base classes. | |
817 | Use val_print_invalid_address. | |
818 | * valops.c (dynamic_cast_check_1): Rename `contents' parameter to | |
819 | `valaddr' parameter, and change its type to gdb_byte pointer. Add | |
820 | `embedded_offset' and `val' parameters. Adjust. | |
821 | (dynamic_cast_check_2): Rename `contents' parameter to `valaddr' | |
822 | parameter, and change its type to gdb_byte pointer. Add | |
823 | `embedded_offset' and `val' parameters. Adjust. No longer expect | |
824 | baseclass_offset returning -1. | |
825 | (value_dynamic_cast): Use value_contents_for_printing rather than | |
826 | value_contents. Adjust. | |
827 | (search_struct_field): No longer expect baseclass_offset returning | |
828 | -1. | |
829 | (search_struct_method): If reading memory from the target is | |
830 | necessary, wrap it in a new value to pass to baseclass_offset. No | |
831 | longer expect baseclass_offset returning -1. | |
832 | (find_method_list): No longer expect baseclass_offset returning | |
833 | -1. Use value_contents_for_printing rather than value_contents. | |
834 | * valprint.c (val_print_invalid_address): New function. | |
835 | * valprint.h (val_print_invalid_address): Declare. | |
836 | * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset' | |
837 | and `val' parameters. No longer expect baseclass_offset returning | |
838 | -1. Adjust. | |
839 | * gnu-v2-abi.c: Include "exceptions.h". | |
840 | (gnuv2_baseclass_offset): Add `embedded_offset' and `val' | |
841 | parameters. Handle unavailable memory. Recurse through | |
842 | gnuv2_baseclass_offset directly, rather than through | |
843 | baseclass_offset. No longer returns -1 on not found, instead | |
844 | throw an error. | |
845 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and | |
846 | `val' parameters. Adjust. | |
847 | ||
1b28d0b3 PA |
848 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
849 | ||
850 | * tracepoint.c (memrange_sortmerge): Don't merge ranges that are | |
851 | almost but not quite adjacent. | |
852 | ||
ec0a52e1 PA |
853 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
854 | ||
855 | * value.h (value_entirely_available): Declare. | |
856 | * value.c (value_entirely_available): New function. | |
857 | * c-valprint.c (c_value_print): Don't try fetching the pointer's | |
858 | real type if the pointer is unavailable. | |
859 | ||
24e6bcee PA |
860 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
861 | ||
862 | * valops.c (value_repeat): Use read_value_memory instead of | |
863 | read_memory. | |
864 | ||
39d37385 PA |
865 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
866 | ||
867 | * value.h (value_contents_copy, value_contents_copy_raw): Declare. | |
868 | * value.c (value_contents_copy_raw, value_contents_copy): New | |
869 | functions. | |
870 | (value_primitive_field): Use value_contents_copy_raw instead of | |
871 | memcpy. | |
872 | * valops.c (value_fetch_lazy): Use value_contents_copy instead of | |
873 | memcpy. | |
874 | (value_array, value_slice): Ditto. | |
875 | * valarith.c (value_subscripted_rvalue): Use | |
876 | value_contents_copy_raw instead of memcpy. | |
877 | ||
a3d34bf4 PA |
878 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
879 | ||
880 | <unavailable> references. | |
881 | ||
882 | * valops.c (get_value_at): Use value_from_contents_and_address, | |
883 | avoiding read_memory. | |
884 | ||
9fc6d940 PA |
885 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
886 | ||
887 | * c-valprint.c (c_val_print): Print a string with unavailable | |
888 | contents as an array. | |
889 | ||
5467c6c8 PA |
890 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
891 | ||
892 | * value.h (unpack_bits_as_long): Delete declaration. | |
893 | (unpack_value_bits_as_long): Declare. | |
894 | (unpack_value_field_as_long): Declare. | |
895 | (value_field_bitfield): Declare. | |
896 | * value.c (unpack_bits_as_long): Rename to... | |
897 | (unpack_value_bits_as_long_1): ... this. Add embedded_offset and | |
898 | value parameters. Return the extracted result in a new output | |
899 | parameter. If the value contents are unavailable, return false, | |
900 | otherwise return true. | |
901 | (unpack_value_bits_as_long): New. | |
902 | (unpack_field_as_long): Rename to... | |
903 | (unpack_value_field_as_long_1): ... this. Add embedded_offset and | |
904 | Add embedded_offset and value parameters. Return the extracted | |
905 | result in a new output parameter. If the value contents are | |
906 | unavailable, return false, otherwise return true. | |
907 | (unpack_value_field_as_long): New. | |
908 | (unpack_field_as_long_1): New. | |
909 | (unpack_field_as_long): Reimplement as wrapper around | |
910 | unpack_value_field_as_long_1. | |
911 | (value_field_bitfield): New function. | |
912 | * valops.c (value_fetch_lazy): When fetching a bitfield, use | |
913 | unpack_value_bits_as_long. Mark the value as unavailable, if it | |
914 | is unavailable. | |
915 | * jv-valprint.c (java_print_value_fields): Use | |
916 | value_field_bitfield. | |
917 | * p-valprint.c (pascal_object_print_value_fields): Use | |
918 | value_field_bitfield. | |
919 | * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield. | |
920 | ||
3158c6ed PA |
921 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
922 | ||
923 | * value.c (get_internalvar_integer): Also return the int value of | |
924 | TYPE_CODE_INT INTERNALVAR_VALUE values. | |
925 | (set_internalvar): Don't special case TYPE_CODE_INT. | |
926 | ||
9fbdca0d PA |
927 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
928 | ||
929 | * value.c (struct internalvar) <enum internalvar_kind>: Remove | |
930 | INTERNALVAR_POINTER. | |
931 | <pointer>: Delete. | |
932 | (value_of_internalvar): Remove INTERNALVAR_POINTER handling. | |
933 | (set_internalvar): Remove special TYPE_CODE_PTR handling. | |
934 | (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling. | |
935 | ||
c8c1c22f PA |
936 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
937 | ||
938 | * value.h (value_available_contents_eq): Declare. | |
939 | * value.c (find_first_range_overlap): New function. | |
940 | (value_available_contents_eq): New function. | |
941 | * valprint.c (val_print_array_elements): Use | |
942 | value_available_contents_eq. | |
943 | * ada-valprint.c (val_print_packed_array_elements): Use | |
944 | value_available_contents_eq. | |
945 | * jv-valprint.c (java_value_print): Use | |
946 | value_available_contents_eq. | |
947 | ||
e6e4e701 PA |
948 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
949 | ||
950 | * target.c (target_read_live_memory): New function. | |
951 | (memory_xfer_live_readonly_partial): New. | |
952 | (memory_xfer_partial): If reading from a traceframe, fallback to | |
953 | reading unavailable read-only memory from read-only regions of | |
954 | live target memory. | |
955 | * tracepoint.c (disconnect_tracing): Adjust. | |
956 | (set_current_traceframe): New, factored out from | |
957 | set_traceframe_number. | |
958 | (set_traceframe_number): Reimplement to only change the traceframe | |
959 | number on the GDB side. | |
960 | (do_restore_current_traceframe_cleanup): Adjust. | |
961 | (make_cleanup_restore_traceframe_number): New. | |
962 | (cur_traceframe_number): New global. | |
963 | (tfile_open): Set cur_traceframe_number to no traceframe. | |
964 | (set_tfile_traceframe): New function. | |
965 | (tfile_trace_find): If looking up a traceframe using any method | |
966 | other than by number, make sure the current tfile traceframe | |
967 | matches gdb's current traceframe. Update the current tfile | |
968 | traceframe if the lookup succeeded. | |
969 | (tfile_fetch_registers, tfile_xfer_partial) | |
970 | (tfile_get_trace_state_variable_value): Make sure the remote | |
971 | traceframe matches gdb's current traceframe. | |
972 | * remote.c (remote_traceframe_number): New global. | |
973 | (remote_open_1): Set it to -1. | |
974 | (set_remote_traceframe): New function. | |
975 | (remote_fetch_registers, remote_store_registers) | |
976 | (remote_xfer_memory, remote_xfer_partial) | |
977 | (remote_get_trace_state_variable_value): Make sure the remote | |
978 | traceframe matches gdb's current traceframe. | |
979 | (remote_trace_find): If looking up a traceframe using any method | |
980 | other than by number, make sure the current remote traceframe | |
981 | matches gdb's current traceframe. Update the current remote | |
982 | traceframe if the lookup succeeded. | |
983 | * infrun.c (fetch_inferior_event): Adjust. | |
984 | * tracepoint.h (set_current_traceframe): Declare. | |
985 | (get_traceframe_number, set_traceframe_number): Add describing | |
986 | comments. | |
987 | ||
e6ca34fc PA |
988 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
989 | ||
990 | Mark pieces of values as unavailable if the corresponding memory | |
991 | is unavailable. | |
992 | ||
993 | * valops.c: Include tracepoint.h. | |
994 | (value_fetch_lazy): Use read_value_memory. | |
995 | (read_value_memory): New. | |
996 | * value.h (read_value_memory): Declare. | |
997 | * dwarf2loc.c (read_pieced_value): Use read_value_memory. | |
998 | * exec.c (section_table_available_memory): New function. | |
999 | * exec.h (section_table_available_memory): Declare. | |
1000 | ||
2a7498d8 PA |
1001 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
1002 | ||
1003 | * Makefile.in (SFILES): Add memrange.c. | |
1004 | (HFILES_NO_SRCDIR): Add memrange.h. | |
1005 | (COMMON_OBS): Add memrange.o. | |
1006 | * memrange.c: New file. | |
1007 | * memrange.h: New file. | |
1008 | * tracepoint.c: Include memrange.h. | |
1009 | (struct mem_range): Delete. | |
1010 | (mem_range_s): Delete. | |
1011 | (traceframe_available_memory): New function. | |
1012 | * tracepoint.h (traceframe_available_memory): Declare. | |
1013 | ||
b3b9301e PA |
1014 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
1015 | ||
1016 | * target.h (struct traceframe_info): Forward declare. | |
1017 | (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO. | |
1018 | (struct target_ops) <to_traceframe_info>: New field. | |
1019 | (target_traceframe_info): New. | |
1020 | * target.c (update_current_target): Inherit and default | |
1021 | to_traceframe_info. | |
1022 | * remote.c (PACKET_qXfer_traceframe_info): New. | |
1023 | (remote_protocol_features): Register qXfer:traceframe-info:read. | |
1024 | (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO. | |
1025 | (remote_traceframe_info): New. | |
1026 | (init_remote_ops): Install it. | |
1027 | (_initialize_remote): Install "set/show remote traceframe-info" | |
1028 | commands. | |
1029 | * tracepoint.h (parse_traceframe_info): Declare. | |
1030 | * tracepoint.c (struct mem_range): New. | |
1031 | (mem_range_s): New typedef. | |
1032 | (struct traceframe_info): New. | |
1033 | (traceframe_info): New global. | |
1034 | (free_traceframe_info): New function. | |
1035 | (clear_traceframe_info): New function. | |
1036 | (start_tracing, tfind_1, set_traceframe_number): Clear traceframe | |
1037 | info. | |
1038 | (build_traceframe_info): New function. | |
1039 | (tfile_traceframe_info): New function. | |
1040 | (init_tfile_ops): Install tfile_traceframe_info. | |
1041 | (traceframe_info_start_memory, free_result): New functions. | |
1042 | (memory_attributes, traceframe_info_elements): New globals. | |
1043 | (parse_traceframe_info, get_traceframe_info): New functions. | |
1044 | * features/traceframe-info.dtd: New file. | |
1045 | * Makefile.in (XMLFILES): Add traceframe-info.dtd. | |
1046 | ||
4e07d55f PA |
1047 | 2011-02-14 Pedro Alves <pedro@codesourcery.com> |
1048 | ||
1049 | Base support for <unavailable> value contents. | |
1050 | ||
4e07d55f PA |
1051 | * value.h (value_bytes_available): Declare. |
1052 | (mark_value_bytes_unavailable): Declare. | |
1053 | * value.c (struct range): New struct. | |
1054 | (range_s): New typedef. | |
1055 | (ranges_overlap): New function. | |
1056 | (range_lessthan): New function. | |
1057 | (ranges_contain_p): New function. | |
1058 | (struct value) <unavailable>: New field. | |
1059 | (value_bytes_available): New function. | |
1060 | (mark_value_bytes_unavailable): New function. | |
1061 | (require_not_optimized_out): Constify parameter. | |
1062 | (require_available): New function. | |
1063 | (value_contents_all, value_contents): Require all bytes be | |
1064 | available. | |
1065 | (value_free): Free `unavailable'. | |
1066 | (value_copy): Copy `unavailable'. | |
1067 | * valprint.h (val_print_unavailable): Declare. | |
1068 | * valprint.c (valprint_check_validity): Rename `offset' parameter | |
1069 | to `embedded_offset'. If printing a scalar, check whether the | |
1070 | value chunk is available. | |
1071 | (val_print_unavailable): New. | |
1072 | (val_print_scalar_formatted): Check whether the value is | |
1073 | available. | |
1074 | * python/py-prettyprint.c (apply_val_pretty_printer): Refuse | |
1075 | pretty-printing unavailable values. | |
1076 | ||
bc9a5551 JK |
1077 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1078 | ||
1079 | Fix const/volatile qualifiers of C++ types, PR c++/12328. | |
1080 | * c-typeprint.c (c_type_print_args): Update the function comment. New | |
1081 | variable param_type, initialize it. Remove const/volatile qualifiers | |
1082 | for language_cplus and !show_artificial. Use param_type. | |
1083 | ||
93b55aa1 JK |
1084 | 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1085 | ||
1086 | * symtab.c (find_pc_sect_line): New variable objfile, initialize it | |
1087 | from S. Iterate S using ALL_OBJFILE_SYMTABS. Verify BV for each S. | |
1088 | * symtab.h (struct symtab) <next>: Comment extension. | |
1089 | ||
181d9476 YQ |
1090 | 2011-02-12 Yao Qi <yao@codesourcery.com> |
1091 | ||
1092 | * Makefile.in (CLEANDIRS): Remove duplicated common dir. | |
1093 | ||
b708a5c7 JK |
1094 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
1095 | ||
1096 | * common/Makefile.in: Add copyright header. | |
1097 | ||
c5187ac6 PA |
1098 | 2011-02-11 Pedro Alves <pedro@codesourcery.com> |
1099 | ||
1100 | * infrun.c (proceed): Move switching out and in of tfind mode from | |
1101 | here ... | |
1102 | (fetch_inferior_event): ... to here. | |
1103 | ||
4f3e6fb7 YQ |
1104 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
1105 | ||
1106 | * Makefile.in: Remove signals.o from COMMON_OBS. Link | |
1107 | libcommon.a. | |
1108 | * configure.ac: Add common to sub dir. | |
1109 | * configure: Regenerate. | |
1110 | ||
b708a5c7 JK |
1111 | 2011-02-11 Yao Qi <yao@codesourcery.com> |
1112 | ||
1113 | Build libcommon.a. | |
1114 | ||
1115 | * common/Makefile.in: New. | |
1116 | * common/configure.ac: New. | |
1117 | * common/aclocal.m4: New. | |
1118 | * common/configure: Generate. | |
1119 | ||
2287cc7e PA |
1120 | 2011-02-10 Pedro Alves <pedro@codesourcery.com> |
1121 | ||
1122 | * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right | |
1123 | side of the parenthesis. | |
1124 | ||
1125 | Merge from GCC: | |
1126 | 2010-07-13 Jakub Jelinek <jakub@redhat.com> | |
fc013618 | 1127 | * vec.h (VEC_block_remove): Fix comment. |
2287cc7e | 1128 | |
fd62cb89 MS |
1129 | 2011-02-08 Michael Snyder <msnyder@vmware.com> |
1130 | ||
1131 | * linux-nat.c (linux_nat_filter_event): Fix typo in comment. | |
1132 | ||
56d2815c JK |
1133 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
1134 | ||
1135 | * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes | |
1136 | in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd, | |
1137 | psubd and paddd. | |
1138 | ||
4f7d61a8 JK |
1139 | 2011-02-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
1140 | ||
1141 | PR 12361. | |
1142 | * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to | |
1143 | phsubsw. | |
1144 | (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0. | |
1145 | (i386_process_record) <0x0f3807>: Fix the comment to phsubsw. | |
1146 | ||
54fcddd0 UW |
1147 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
1148 | ||
1149 | * dwarf2read.c (read_subroutine_type): Set special calling | |
1150 | convention flag for functions compiled by IBM XL C for OpenCL. | |
1151 | * ppc-sysv-tdep.c: Include "dwarf2.h" | |
1152 | (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types | |
1153 | calling convention. | |
1154 | (do_ppc_sysv_return_value): Add FUNC_TYPE argument. Implement | |
1155 | IBM OpenCL vector types calling convention. | |
1156 | (ppc_sysv_abi_return_value): Pass through FUNC_TYPE. | |
1157 | (ppc_sysv_abi_broken_return_value): Likewise. | |
1158 | (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector | |
1159 | types calling convention. | |
1160 | (ppc64_sysv_abi_return_value): Likewise. | |
1161 | * spu-tdep.c: Include "dwarf2.h" | |
1162 | (spu_return_value): Implement IBM OpenCL vector types calling | |
1163 | convention. | |
1164 | ||
d6dafb7c UW |
1165 | 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
1166 | ||
1167 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement | |
1168 | correct ABI for AltiVec vector arguments. | |
1169 | ||
32b72a42 PA |
1170 | 2011-02-07 Pedro Alves <pedro@codesourcery.com> |
1171 | ||
1172 | * valprint.c (val_print): Extend comment. | |
1173 | * ada-valprint.c (ada_valprint): Rewrite comment deferring | |
1174 | interface explanation to val_print. | |
1175 | (ada_val_print_array): Adjust comment to current interface. | |
1176 | (print_field_values): Adjust comment to current interface. | |
1177 | * c-valprint.c (c_val_print): Rewrite comment deferring interface | |
1178 | explanation to val_print. | |
1179 | * f-valprint.c (f_val_print): Ditto. | |
1180 | * jv-valprint.c (java_val_print): Ditto. | |
1181 | * m2-valprint.c (m2_val_print): Ditto. | |
1182 | * p-valprint.c (pascal_val_print): Ditto. | |
1183 | ||
9998af43 TJB |
1184 | 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1185 | ||
1186 | * breakpoint.c (parse_breakpoint_sals): Fix description. | |
1187 | ||
505500db | 1188 | 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com> |
9998af43 | 1189 | Oguz Kayral <oguzkayral@gmail.com> |
505500db SW |
1190 | |
1191 | * python/py-inferior.c (python_on_normal_stop): New function. | |
1192 | (python_on_resume): New function. | |
1193 | (python_inferior_exit): New function. | |
1194 | (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and | |
1195 | inferior_exit observers. | |
1196 | * python/py-evtregistry.c: New file. | |
1197 | * python/py-threadevent.c : New file. | |
1198 | * python/py-event.c: New file. | |
1199 | * python/py-evts.c: New file. | |
1200 | * python/py-continueevent.c: New file. | |
1201 | * python/py-bpevent.c: New file. | |
1202 | * python/py-signalevent.c: New file. | |
1203 | * python/py-exetiedevent.c: New file. | |
1204 | * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function. | |
1205 | Move struct breakpoint_object from here... | |
1206 | * python/python-internal.h: ... to here. | |
1207 | * python/py-event.h: New file. | |
1208 | * python/py-events.h: New file. | |
1209 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o, | |
1210 | py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o, | |
1211 | py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o. | |
1212 | (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c, | |
1213 | py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c, | |
1214 | py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c. | |
1215 | Add build rules for all the above. | |
1216 | ||
9e0ac564 TT |
1217 | 2011-02-04 Tom Tromey <tromey@redhat.com> |
1218 | ||
1219 | * dwarf2read.c (dwarf2_section_empty_p): New function. | |
1220 | (dwarf2_read_section): Use dwarf2_section_empty_p. | |
1221 | (dwarf2_section_size): New function. | |
1222 | (dwarf2_get_section_info): Unconditionally read section. | |
1223 | (dwarf2_read_index): Use dwarf2_section_empty_p. | |
1224 | (partial_read_comp_unit_head): Use dwarf2_section_size. | |
1225 | (dwarf2_symbol_mark_computed): Likewise. | |
1226 | ||
eee5b35e DD |
1227 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
1228 | ||
1229 | * NEWS: Add item for "catch syscall" on mips*-linux* targets. | |
1230 | ||
385203ed DD |
1231 | 2011-02-04 David Daney <ddaney@caviumnetworks.com> |
1232 | ||
1233 | * mips-linux-tdep.c: Include xml-syscall.h. | |
1234 | (mips_linux_get_syscall_number): New function. | |
1235 | (mips_linux_init_abi): Add calls to | |
1236 | mips_linux_get_syscall_number() and set_xml_syscall_file_name(). | |
1237 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
1238 | mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml | |
1239 | * syscalls/mips-n32-linux.xml: New file. | |
1240 | * syscalls/mips-n64-linux.xml: New file. | |
1241 | * syscalls/mips-o32-linux.xml: New file. | |
1242 | ||
9277c30c UW |
1243 | 2011-02-04 Ulrich Weigand <ulrich.weigand@linaro.org> |
1244 | ||
1245 | * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries. | |
1246 | Complain about inverted range entries. | |
1247 | (dwarf2_record_block_ranges): Likewise. | |
1248 | ||
a3be7890 TJB |
1249 | 2011-02-04 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1250 | ||
1251 | Fix some typos. | |
1252 | * breakpoint.c (update_watchpoint): Fix name of the | |
1253 | update_global_location_list function. | |
1254 | (print_one_breakpoint): Fix typo. | |
1255 | (_initialize_breakpoint): Remove extra space in hbreak help | |
1256 | string. | |
1257 | * breakpoint.h (struct bp_location) <length>: Fix field | |
1258 | description. | |
1259 | ||
041274d8 PA |
1260 | 2011-02-04 Pedro Alves <pedro@codesourcery.com> |
1261 | ||
1262 | * regcache.c (registers_changed_ptid): Don't explictly always | |
1263 | clear `current_regcache'. Only clear current_thread_ptid and | |
1264 | current_thread_arch when PTID matches. Only reinit the frame | |
1265 | cache if PTID matches the current inferior_ptid. Move alloca(0) | |
1266 | call to ... | |
1267 | (registers_changed): ... here. | |
1268 | ||
c1c2ab58 UW |
1269 | 2011-02-03 Ulrich Weigand <ulrich.weigand@linaro.org> |
1270 | ||
1271 | * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that | |
1272 | starts with __stack_chk_guard as stack guard symbol. | |
1273 | ||
9011945e AB |
1274 | 2011-02-03 Andrew Burgess <aburgess@broadcom.com> |
1275 | ||
1276 | * disasm.c (compare_lines): Handle the end of sequence markers | |
1277 | within the line table to better support disassembling over | |
1278 | compilation unit boundaries. | |
1279 | ||
e0634ccf UW |
1280 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
1281 | ||
1282 | * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB | |
1283 | arguments. Skip in-prologue calls to glibc __aeabi_read_tp | |
1284 | implementation even if no symbols are available. | |
1285 | (thumb_analyze_prologue): Update call to skip_prologue_function. | |
1286 | (arm_analyze_prologue): Likewise. | |
1287 | ||
0e9e9abd UW |
1288 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
1289 | ||
1290 | * arm-tdep.c: Include "observer.h". | |
1291 | (arm_prologue_this_id): Use frame PC if get_frame_func returns 0. | |
1292 | (arm_exidx_data_key): New static variable. | |
1293 | (struct arm_exidx_entry, arm_exidx_entry_s): New data types. | |
1294 | (struct arm_exidx_data): Likewise. | |
1295 | (arm_exidx_data_free): New function. | |
1296 | (arm_compare_exidx_entries): Likewise. | |
1297 | (arm_obj_section_from_vma): Likewise. | |
1298 | (arm_exidx_new_objfile): Likewise. | |
1299 | (arm_find_exidx_entry): Likewise. | |
1300 | (arm_exidx_fill_cache): Likewise. | |
1301 | (arm_exidx_unwind_sniffer): Likewise. | |
1302 | (arm_exidx_unwind): New global variable. | |
1303 | (arm_gdbarch_init): Append unwinder arm_exidx_unwind. | |
1304 | (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile | |
1305 | observer. Register arm_exidx_data_key as objfile data. | |
1306 | ||
2e9e421f UW |
1307 | 2011-02-02 Ulrich Weigand <ulrich.weigand@linaro.org> |
1308 | ||
1309 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break | |
1310 | due to accessing uninitialized variable. Fix indentation. | |
1311 | ||
580688f3 PA |
1312 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
1313 | ||
1314 | * c-valprint.c (c_value_print): When doing virtual base pointer | |
1315 | adjustment, create a new value with adjusted contents rather than | |
1316 | changing the contents of the value being printed (and getting it | |
1317 | wrong). | |
1318 | ||
3d2c1d41 PA |
1319 | 2011-02-02 Pedro Alves <pedro@codesourcery.com> |
1320 | ||
1321 | * xml-support.c (xml_find_attribute): New. | |
1322 | (xinclude_start_include): Use it. | |
1323 | * xml-support.h (xml_find_attribute): Declare. | |
1324 | * memory-map.c (memory_map_start_memory) | |
1325 | (memory_map_start_property): Use xml_find_attribute. | |
1326 | * osdata.c (osdata_start_osdata, osdata_start_column): Use | |
1327 | xml_find_attribute. | |
1328 | * remote.c (start_thread): Use xml_find_attribute. | |
1329 | * solib-target.c (library_list_start_segment) | |
1330 | (library_list_start_section, library_list_start_library) | |
1331 | (library_list_start_list): Use xml_find_attribute. | |
1332 | * xml-tdesc.c (tdesc_start_target, tdesc_start_feature) | |
1333 | (tdesc_start_union, tdesc_start_struct, tdesc_start_flags) | |
1334 | (tdesc_start_field): Use xml_find_attribute. | |
1335 | ||
0af3e2db UW |
1336 | 2011-02-02 Ulrich Weigand <uweigand@de.ibm.com> |
1337 | ||
1338 | * opencl-lang.c (STRINGIFY): Rename to OCL_STRING. | |
1339 | (BUILD_OCL_VTYPES): Update. | |
1340 | ||
c1039e3c JB |
1341 | 2011-02-02 Joel Brobecker <brobecker@adacore.com> |
1342 | ||
1343 | * configure.ac: Work around non-GNU sed limitation when computing | |
1344 | python version number. | |
1345 | * configure: Regenerate. | |
1346 | ||
600ea1be JK |
1347 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1348 | ||
1349 | Fix debug printing of TYPE_INSTANCE. | |
1350 | * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New. | |
1351 | (dump_subexp_body_standard) <TYPE_INSTANCE>: New. | |
1352 | ||
56c12414 JK |
1353 | 2011-02-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1354 | ||
1355 | Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL, | |
1356 | OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME, | |
1357 | OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT. | |
1358 | * ada-operator.inc: Rename the file to ... | |
1359 | * ada-operator.def: ... here, wrap all the entries by macro OP. | |
1360 | * expprint.c (op_name_standard): Remove all the entries. Include | |
1361 | "std-operator.def" instead. | |
1362 | * expression.h (enum exp_opcode): Include "std-operator.def" and | |
1363 | "ada-operator.def". Move all the entries ... | |
1364 | * std-operator.def: ... here, wrap all the entries by macro OP. | |
1365 | ||
c52b559d PP |
1366 | 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com> |
1367 | ||
1368 | * breakpoint.h (remove_jit_event_breakpoints): New prototype. | |
1369 | * breakpoint.c (remove_jit_event_breakpoints): New function. | |
1370 | * jit.c (jit_descriptor_addr): Delete. | |
1371 | (registering_code): Delete. | |
1372 | (clear_int): Delete. | |
1373 | (jit_inferior_data): New variable. | |
1374 | (struct jit_inferior_data): New type. | |
1375 | (get_jit_inferior_data): New function. | |
1376 | (jit_inferior_data_cleanup): New function. | |
1377 | (jit_read_descriptor): Adjust. | |
1378 | (jit_register_code): Adjust. | |
1379 | (jit_breakpoint_re_set_internal): New function; move code here ... | |
1380 | (jit_inferior_init): ... from here. | |
1381 | (jit_breakpoint_re_set): Adjust. | |
1382 | (jit_reset_inferior_data_and_breakpoints): New function. | |
1383 | (jit_inferior_created_observer): Adjust. | |
1384 | (jit_inferior_exit_hook): Adjust. | |
1385 | (jit_executable_changed_observer): New function. | |
1386 | (jit_event_handler): Adjust. | |
1387 | (_initialize_jit): Adjust. | |
1388 | ||
e839132d MS |
1389 | 2011-01-31 Michael Snyder <msnyder@vmware.com> |
1390 | ||
1391 | * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted | |
1392 | line. | |
1393 | ||
47a80e90 TT |
1394 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
1395 | ||
1396 | PR python/12216: | |
1397 | * python/python.c (execute_gdb_command): Call | |
1398 | prevent_dont_repeat. | |
1399 | * top.c (suppress_dont_repeat): New global. | |
1400 | (dont_repeat): Use it. | |
1401 | (prevent_dont_repeat): New function. | |
1402 | * command.h (prevent_dont_repeat): Declare. | |
1403 | ||
45a43567 TT |
1404 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
1405 | ||
1406 | * infcmd.c (finish_backward): Use breakpoint_set_silent. | |
1407 | * python/py-breakpoint.c (bppy_set_silent): Use | |
1408 | breakpoint_set_silent. | |
1409 | (bppy_set_thread): Use breakpoint_set_thread. | |
1410 | (bppy_set_task): Use breakpoint_set_task. | |
1411 | * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread) | |
1412 | (breakpoint_set_task): Declare. | |
1413 | (make_breakpoint_silent): Remove. | |
1414 | * breakpoint.c (breakpoint_set_silent): New function. | |
1415 | (breakpoint_set_thread): Likewise. | |
1416 | (breakpoint_set_task): Likewise. | |
1417 | (make_breakpoint_silent): Remove. | |
1418 | ||
09d682a4 TT |
1419 | 2011-01-31 Tom Tromey <tromey@redhat.com> |
1420 | ||
1421 | * breakpoint.h (user_breakpoint_p): Declare. | |
1422 | * breakpoint.c (user_breakpoint_p): New function. | |
1423 | (breakpoint_1): Use it. | |
1424 | (save_breakpoints): Likewise. | |
1425 | ||
9c4ea6c5 JB |
1426 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
1427 | ||
1428 | * configure.ac: Add handling of Python distribution on Windows. | |
1429 | * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED | |
1430 | sysconfig variables are not defined, then do not use them. | |
1431 | On Windows, if LIBPL is not defined, then use prefix + '/libs' | |
1432 | instead. On Windows, return all paths using forward-slashes | |
1433 | rather than backslashes. | |
1434 | ||
ac534cba JB |
1435 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
1436 | ||
1437 | * configure.ac: Remove fallback behavior for building | |
1438 | against Python. Remove tweaking of Python include path. | |
1439 | Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution. | |
1440 | (AC_TRY_LIBPYTHON): Adjust program used in linking test. | |
1441 | If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS. | |
1442 | Always restore CPPFLAGS and LIBS after linking test. | |
1443 | * configure: Regenerated. | |
1444 | * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@. | |
1445 | (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@. | |
1446 | * python/python-internal.h: Adjust includes of Python .h files. | |
1447 | ||
c2f0d045 JB |
1448 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
1449 | ||
1450 | * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup | |
1451 | in error message. | |
1452 | ||
6b0c4c1f JB |
1453 | 2011-01-31 Joel Brobecker <brobecker@adacore.com> |
1454 | ||
1455 | * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode | |
1456 | value test. | |
1457 | ||
672c9795 YQ |
1458 | 2011-01-31 Yao Qi <yao@codesourcery.com> |
1459 | ||
1460 | * arm-linux-nat.c: Update calls to regcache_register_status | |
1461 | instead of regcache_valid_p. | |
1462 | * aix-thread.c: Likewise. | |
1463 | * i386gnu-nat.c: Likewise. | |
1464 | ||
80b23b6a JK |
1465 | 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
1466 | ||
1467 | Fix crash. | |
1468 | * valops.c (compare_parameters): Verify TYPE_NFIELDS before | |
1469 | touching TYPE_FIELD_ARTIFICIAL. | |
1470 | ||
4cd712bd RE |
1471 | 2011-01-28 Richard Earnshaw <rearnsha@arm.com> |
1472 | ||
1473 | * MAINTAINERS: Move myself from Responsible Maintainers to Authorized | |
1474 | Committers. | |
1475 | ||
ffd5ec24 PA |
1476 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
1477 | ||
1478 | * tracepoint.c (tfile_xfer_partial): If there's no traceframe | |
1479 | selected, don't try iterating over the traceframe's blocks. | |
1480 | (tfile_has_stack): If there's no traceframe selected, then there's | |
1481 | no stack. | |
1482 | (tfile_has_registers): If there's no traceframe selected, then | |
1483 | there's no registers. | |
1484 | ||
e8c9e0a1 PA |
1485 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
1486 | ||
1487 | * target.c (memory_xfer_partial): No need to restore shadows if we | |
1488 | haven't read anything. | |
1489 | ||
de15c4ab PA |
1490 | 2011-01-28 Pedro Alves <pedro@codesourcery.com> |
1491 | ||
1492 | * mips-tdep.c (mips_print_register): Use get_frame_register_value | |
1493 | and val_print_scalar_formatted. | |
1494 | ||
9f41c731 PA |
1495 | 2011-01-27 Pedro Alves <pedro@codesourcery.com> |
1496 | ||
1497 | * tracepoint.c (tfile_read): New. | |
1498 | (tfile_open): Use it. | |
1499 | (tfile_get_traceframe_address): Use it. | |
1500 | (tfile_trace_find): Use it. | |
1501 | (walk_blocks_callback_func): New typedef. | |
1502 | (match_blocktype): New function. | |
1503 | (traceframe_walk_blocks): New function. | |
1504 | (traceframe_find_block_type): New function. | |
1505 | (tfile_fetch_registers, tfile_xfer_partial) | |
1506 | (tfile_get_trace_state_variable_value): Use | |
1507 | traceframe_find_block_type and tfile_read. | |
1508 | ||
cdefc55d KB |
1509 | 2011-01-26 Kevin Buettner <kevinb@redhat.com> |
1510 | ||
1511 | * remote-mips.c: Add internationalization mark ups. Remove | |
1512 | trailing \n from already marked up strings. | |
1513 | ||
a81766d8 TT |
1514 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
1515 | ||
1516 | * python/py-prettyprint.c (print_string_repr): Clear | |
1517 | 'addressprint' option when calling val_print_string. | |
1518 | (print_children): Handle Val_pretty_default. Clear 'addressprint' | |
1519 | option when calling val_print_string. | |
1520 | ||
74aedc46 TT |
1521 | 2011-01-26 Tom Tromey <tromey@redhat.com> |
1522 | ||
1523 | * python/python.c (gdbpy_solib_name): Use gdb_py_longest and | |
1524 | GDB_PY_LL_ARG. | |
1525 | * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New | |
1526 | macros. | |
1527 | (gdb_py_longest, gdb_py_ulongest): New typedefs. | |
1528 | (gdb_py_long_from_longest, gdb_py_long_from_ulongest) | |
1529 | (gdb_py_long_as_ulongest): New defines. | |
1530 | (gdb_py_object_from_longest, gdb_py_object_from_ulongest) | |
1531 | (gdb_py_int_as_long): Declare. | |
1532 | * python/py-value.c (valpy_lazy_string): Use gdb_py_longest, | |
1533 | GDB_PY_LL_ARG, gdb_py_object_from_longest. | |
1534 | (valpy_long): Add comment. | |
1535 | * python/py-utils.c (get_addr_from_python): Use | |
1536 | gdb_py_long_as_ulongest. Handle overflow properly. | |
1537 | (gdb_py_object_from_longest): New function. | |
1538 | (gdb_py_object_from_ulongest): Likewise. | |
1539 | (gdb_py_int_as_long): Likewise. | |
1540 | * python/py-type.c (typy_array): Use gdb_py_int_as_long. | |
1541 | * python/py-symtab.c (salpy_get_pc): Use | |
1542 | gdb_py_long_from_ulongest. | |
1543 | (salpy_get_line): Use PyInt_FromLong. | |
1544 | * python/py-param.c (set_parameter_value): Use | |
1545 | gdb_py_int_as_long. | |
1546 | * python/py-lazy-string.c (stpy_get_address): Use | |
1547 | gdb_py_long_from_ulongest. | |
1548 | * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest. | |
1549 | * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long. | |
1550 | * python/py-breakpoint.c (bppy_set_thread): Use | |
1551 | gdb_py_int_as_long. | |
1552 | (bppy_set_task): Likewise. | |
1553 | (bppy_set_ignore_count): Likewise. | |
1554 | (bppy_set_hit_count): Likewise. | |
1555 | * python/py-block.c (blpy_get_start): Use | |
1556 | gdb_py_object_from_ulongest. | |
1557 | (blpy_get_end): Likewise. | |
1558 | (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG. | |
1559 | ||
e4f6d2ec TJB |
1560 | 2011-01-25 Mathieu Lacage <mathieu.lacage@inria.fr> |
1561 | ||
1562 | PR/symtab 11766: | |
1563 | * gdb/objfiles.h (struct objfile) <addr_low>: New field. | |
1564 | * gdb/solib.c (solib_read_symbols): Check for addr_low in | |
1565 | equality test for objfile, initialize addr_low if needed. | |
1566 | ||
b30aa278 PA |
1567 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1568 | ||
1569 | * tui/tui-regs.c (tui_register_format): Remove dead code. | |
1570 | ||
ab2188aa PA |
1571 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1572 | ||
1573 | * printcmd.c (print_formatted): Use val_print_scalar_formatted | |
1574 | instead of print_scalar_formatted. | |
1575 | (print_scalar_formatted): Don't handle 's' format strings here, | |
1576 | and add an assertion that we never see such format here. | |
1577 | * valprint.h (val_print_scalar_formatted): Declare. | |
1578 | * valprint.c (val_print_scalar_formatted): New. | |
1579 | * c-valprint.c (c_val_print): Use val_print_scalar_formatted | |
1580 | instead of print_scalar_formatted. | |
1581 | * jv-valprint.c (java_val_print): Ditto. | |
1582 | * p-valprint.c (pascal_val_print): Ditto. | |
1583 | * ada-valprint.c (ada_val_print_1): Ditto. | |
1584 | * f-valprint.c (f_val_print): Ditto. | |
1585 | * infcmd.c (registers_info): Ditto. | |
1586 | * m2-valprint.c (m2_val_print): Ditto. | |
1587 | ||
66d61a4c PA |
1588 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1589 | ||
1590 | * m2-valprint.c (print_unbounded_array): Pass | |
1591 | value_contents_for_printing rather than value_contents, to | |
1592 | m2_print_array_contents. Also pass in the value. | |
1593 | ||
831adc1f JK |
1594 | 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
1595 | ||
1596 | * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index) | |
1597 | (save_gdb_index_command): Switch to .gdb_index version 4. | |
1598 | ||
20622269 PA |
1599 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1600 | ||
1601 | * mi/mi-main.c (get_register): Use get_frame_register_value rather | |
1602 | than frame_register, and always pass a valid value to val_print. | |
1603 | ||
585fdaa1 PA |
1604 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1605 | ||
1606 | Centralize printing "<optimized out>". | |
1607 | ||
1608 | * valprint.h (val_print_optimized_out): Declare. | |
1609 | * cp-valprint.c (cp_print_value_fields): Use | |
1610 | val_print_optimized_out. | |
1611 | * jv-valprint.c (java_print_value_fields): Ditto. | |
1612 | * p-valprint.c (pascal_object_print_value_fields): Ditto. | |
1613 | * printcmd.c (print_formatted): Ditto. | |
1614 | * valprint.c (valprint_check_validity): Ditto. | |
1615 | (value_check_printable): Ditto. | |
1616 | (val_print_optimized_out): New. | |
1617 | ||
29ec5263 PA |
1618 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1619 | ||
1620 | * infcmd.c (default_print_registers_info): Allocate values so to | |
1621 | never pass a NULL value to val_print. | |
1622 | ||
de4127a3 PA |
1623 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1624 | ||
1625 | * cp-valprint.c (cp_print_value): Treat the 'skip' local as | |
1626 | boolean. Make sure to always pass a value that matches the | |
1627 | contents buffer to callees. Preserve `address' for following | |
1628 | iterations. | |
1629 | * value.c (value_contents_for_printing_const): New. | |
1630 | (value_address): Constify value argument. | |
1631 | * value.h (value_contents_for_printing_const): Declare. | |
1632 | (value_address): Constify value argument. | |
1633 | ||
ee99023e PA |
1634 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1635 | ||
1636 | * regcache.c (struct regcache_descr): Rename | |
1637 | sizeof_raw_register_valid_p field to sizeof_raw_register_status, | |
1638 | and sizeof_cooked_register_valid_p to | |
1639 | sizeof_cooked_register_status. | |
1640 | (init_regcache_descr): Adjust. | |
1641 | (struct regcache): Rename register_valid_p field to | |
1642 | register_status. | |
1643 | (regcache_xmalloc_1, regcache_xfree, regcache_save) | |
1644 | (do_cooked_read): Adjust. | |
1645 | (regcache_valid_p): Rename to ... | |
1646 | (regcache_register_status): ... this. Adjust. | |
1647 | (regcache_invalidate): Adjust. | |
1648 | (regcache_raw_read, regcache_cooked_read, regcache_raw_write): | |
1649 | Adjust. | |
1650 | (regcache_raw_supply): Adjust. If buf i NULL, mark the register | |
1651 | as unavailable, not valid. | |
1652 | (regcache_dump): Adjust. | |
1653 | * regcache.h (enum register_status): New. | |
1654 | (regcache_register_status): Declare. | |
1655 | (regcache_invalidate): Delete declaration. | |
1656 | * corelow.c (get_core_registers): Adjust. | |
1657 | * tracepoint.c (tfile_fetch_registers): Adjust. | |
1658 | * trad-frame.c (REG_VALUE): Rename to ... | |
1659 | (TF_REG_VALUE): ... this. | |
1660 | (REG_UNKNOWN): Rename to ... | |
1661 | (TF_REG_UNKNOWN): ... this. | |
1662 | (trad_frame_set_value, trad_frame_set_unknown): Adjust. | |
1663 | * mi/mi-main.c (register_changed_p): Adjust. | |
1664 | ||
99e42fd8 PA |
1665 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1666 | ||
1667 | * regcache.c (struct regcache_descr): Remove outdated comment. | |
1668 | (init_regcache_descr): Remove sizeof_raw_register_valid_p | |
1669 | overallocate hack. | |
1670 | (regcache_xmalloc): Rename to ... | |
1671 | (regcache_xmalloc_1): ... this. Add `readonly_p' parameter. | |
1672 | Allocate the regcache type accordingly. | |
1673 | (regcache_xmalloc): New as wrapper around regcache_xmalloc_1. | |
1674 | (regcache_xfree): Asser the source is also readonly. Copy sizeof | |
1675 | cooked registers, not raw. | |
1676 | (regcache_dup_no_passthrough): Delete. | |
1677 | (get_thread_arch_regcache): Use regcache_xmalloc_1. | |
1678 | * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not | |
1679 | mention obsolete write_register_bytes. | |
1680 | * regcache.h (regcache_dup_no_passthrough): Delete declaration. | |
1681 | ||
f7605bc2 PA |
1682 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1683 | ||
1684 | Stop remote_read_bytes from handling partial reads itself. | |
1685 | ||
1686 | * remote-fileio.c: Include target.h. | |
1687 | (remote_fileio_write_bytes): Delete. | |
1688 | (remote_fileio_func_open, remote_fileio_func_write) | |
1689 | (remote_fileio_func_rename, remote_fileio_func_unlink): Use | |
1690 | target_read_memory. | |
1691 | (remote_fileio_func_stat): Use target_read_memory and | |
1692 | target_write_memory. | |
1693 | (remote_fileio_func_gettimeofday): Use target_write_memory. | |
1694 | (remote_fileio_func_system): Use target_read_memory. | |
1695 | * remote.c (remote_write_bytes): Make it static. | |
1696 | (remote_read_bytes): Don't handle partial reads here. | |
1697 | * remote.h (remote_read_bytes): Delete declaration. | |
1698 | ||
efc0eabd PA |
1699 | 2011-01-25 Pedro Alves <pedro@codesourcery.com> |
1700 | ||
1701 | Simplify XML parsing a bit. | |
1702 | ||
1703 | * xml-support.h (gdb_xml_parse_quick): Declare. | |
1704 | * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed | |
1705 | from gdb_xml_create_parser_and_cleanup, and added `old_chain' | |
1706 | parameter. | |
1707 | (gdb_xml_create_parser_and_cleanup): Reimplement on top of | |
1708 | gdb_xml_create_parser_and_cleanup_1. | |
1709 | (gdb_xml_parse_quick): New. | |
1710 | * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick. | |
1711 | * osdata.c (osdata_parse): Ditto. | |
1712 | * remote.c (remote_threads_info): Ditto. | |
1713 | * solib-target.c (solib_target_parse_libraries): Ditto. | |
1714 | * xml-syscall.c (syscall_parse_xml): Ditto. | |
1715 | * xml-tdesc.c (tdesc_parse_xml): Ditto. | |
1716 | ||
314d366a KB |
1717 | 2011-01-24 Kevin Buettner <kevinb@redhat.com> |
1718 | ||
1719 | * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but | |
1720 | with remote-mips.o added to gdb_target_obs. | |
1721 | * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o. | |
1722 | ||
a491d753 PA |
1723 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
1724 | ||
1725 | * ada-valprint.c (val_print_packed_array_elements): Pass the | |
1726 | correct struct value to val_print. | |
1727 | (ada_val_print_1): Ditto. | |
1728 | ||
490f124f PA |
1729 | 2011-01-24 Pedro Alves <pedro@codesourcery.com> |
1730 | ||
1731 | Don't lose embedded_offset in printing routines throughout. | |
1732 | ||
1733 | * valprint.h (val_print_array_elements): Change prototype. | |
1734 | * valprint.c (val_print_array_elements): Add `embedded_offset' | |
1735 | parameter, and adjust to pass it down to val_print, while passing | |
1736 | `valaddr' or `address' unmodified. Take embedded_offset into | |
1737 | account when checking repetitions. | |
1738 | * c-valprint.c (c_val_print): Pass embedded_offset to | |
1739 | val_print_array_elements instead of adjusting `valaddr' and | |
1740 | `address'. | |
1741 | * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass | |
1742 | embedded_offset to val_print_array_elements instead of adjusting | |
1743 | `valaddr'. | |
1744 | * p-lang.h (pascal_object_print_value_fields): Adjust prototype. | |
1745 | * p-valprint.c (pascal_val_print): Pass embedded_offset to | |
1746 | val_print_array_elements and pascal_object_print_value_fields | |
1747 | instead of adjusting `valaddr'. | |
1748 | (pascal_object_print_value_fields): Add `offset' parameter, and | |
1749 | adjust to use it. | |
1750 | (pascal_object_print_value): Add `offset' parameter, and adjust to | |
1751 | use it. | |
1752 | (pascal_object_print_static_field): Use | |
1753 | value_contents_for_printing/value_embedded_offset, rather than | |
1754 | value_contents. | |
1755 | * ada-valprint.c (val_print_packed_array_elements): Add `offset' | |
1756 | parameter, and adjust to use it. Use | |
1757 | value_contents_for_printing/value_embedded_offset, rather than | |
1758 | value_contents. | |
1759 | (ada_val_print): Rename `valaddr0' parameter to `valaddr'. | |
1760 | (ada_val_print_array): Add `offset' parameter, and adjust to use | |
1761 | it. | |
1762 | (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and | |
1763 | `embedded_offset' to `offset'. Don't re-adjust `valaddr'. | |
1764 | Instead work with offsets. Use | |
1765 | value_contents_for_printing/value_embedded_offset, rather than | |
1766 | value_contents. Change `defer_val_int' local type to CORE_ADDR, | |
1767 | and use value_from_pointer to extract a target pointer, rather | |
1768 | than value_from_longest. | |
1769 | (print_variant_part): Add `offset' parameter. Replace | |
1770 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
1771 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
1772 | (ada_value_print): Use | |
1773 | value_contents_for_printing/value_embedded_offset, rather than | |
1774 | value_contents. | |
1775 | (print_record): Add `offset' parameter, and adjust to pass it | |
1776 | down. | |
1777 | (print_field_values): Add `offset' parameter. Replace | |
1778 | `outer_valaddr' parameter by a new `outer_offset' parameter. | |
1779 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
1780 | Use value_contents_for_printing/value_embedded_offset, rather than | |
1781 | value_contents. | |
1782 | * d-valprint.c (dynamic_array_type): Use | |
1783 | value_contents_for_printing/value_embedded_offset, rather than | |
1784 | value_contents. | |
1785 | * jv-valprint.c (java_print_value_fields): Add `offset' parameter. | |
1786 | Don't re-adjust `valaddr'. Instead pass down adjusted offsets. | |
1787 | (java_print_value_fields): Take `offset' into account. Don't | |
1788 | re-adjust `valaddr'. Instead pass down adjusted offsets. | |
1789 | (java_val_print): Take `embedded_offset' into account. Pass it to | |
1790 | java_print_value_fields. | |
1791 | * f-valprint.c (f77_print_array_1): Add `embedded_offset' | |
1792 | parameter. Don't re-adjust `valaddr' or `address'. Instead pass | |
1793 | down adjusted offsets. | |
1794 | (f77_print_array): Add `embedded_offset' parameter. Pass it down. | |
1795 | (f_val_print): Take `embedded_offset' into account. | |
1796 | ||
7bfc9434 JB |
1797 | 2011-01-21 Joel Brobecker <brobecker@adacore.com> |
1798 | ||
1799 | * inflow.c: Include "gdbcmd.h". | |
1800 | (interactive_mode): New static global, moved here from top.c. | |
1801 | (show_interactive_mode): New function, moved here from top.c. | |
1802 | use gdb_has_a_terminal instead of input_from_terminal_p to | |
1803 | determine the current mode. | |
1804 | (gdb_has_a_terminal): Add handling of the "iteractive-mode" | |
1805 | setting. | |
1806 | (_initialize_inflow): Add the "set/show interactive-mode" | |
1807 | commands. Moved here from top.c, after having adjusted slightly | |
1808 | the help text. | |
1809 | * top.c (interactive_mode, show_interactive_mode): Delete, moved | |
1810 | to inflow.c. | |
1811 | (input_from_terminal_p): Remove handling of "interactive-mode" | |
1812 | setting, moved to infow.c. | |
1813 | (init_main): Remove creation of the "set/show interactive-mode" | |
1814 | commands, moved to inflow.c. | |
1815 | ||
44603653 JB |
1816 | 2011-01-19 Joel Brobecker <brobecker@adacore.com> |
1817 | ||
1818 | * NEWS: Add entry for native ia64-hpux support. | |
1819 | ||
4694da01 TT |
1820 | 2011-01-19 Tom Tromey <tromey@redhat.com> |
1821 | ||
1822 | PR mi/8618: | |
1823 | * thread.c (free_thread): Free 'name'. | |
1824 | (print_thread_info): Emit thread name. Change CLI output. | |
1825 | (thread_name_command): New function. | |
1826 | (do_captured_thread_select): Emit newline. | |
1827 | (_initialize_thread): Register 'thread name' command. | |
1828 | * target.h (struct target_ops) <to_thread_name>: New field. | |
1829 | (target_thread_name): New macro. | |
1830 | * target.c (update_current_target): Handle to_thread_name. | |
1831 | * python/py-infthread.c (thpy_get_name): New function. | |
1832 | (thpy_set_name): Likewise. | |
1833 | (thread_object_getset): Add "name". | |
1834 | * linux-nat.c (linux_nat_thread_name): New function. | |
1835 | (linux_nat_add_target): Set to_thread_name. | |
1836 | * gdbthread.h (struct thread_info) <name>: New field. | |
1837 | ||
10d44370 JB |
1838 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
1839 | ||
1840 | * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast. | |
1841 | (ada_val_print_1): Likewise. | |
1842 | ||
e3acb115 JB |
1843 | 2011-01-18 Joel Brobecker <brobecker@adacore.com> |
1844 | ||
1845 | * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue | |
1846 | upper limit address is not greater than the function end address | |
1847 | when the upper limit could not be computed using the debugging | |
1848 | info. | |
1849 | ||
dc92e161 TT |
1850 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
1851 | ||
1852 | * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use | |
1853 | get_regcomp_error. | |
1854 | * utils.c: Include gdb_regex.h. | |
1855 | (do_regfree_cleanup): New function. | |
1856 | (make_regfree_cleanup): Likewise. | |
1857 | (get_regcomp_error): Likewise. | |
1858 | * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare. | |
1859 | ||
f55af66d TT |
1860 | 2011-01-17 Tom Tromey <tromey@redhat.com> |
1861 | ||
1862 | * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call | |
1863 | re_compile_fastmap. | |
1864 | ||
a5a44b53 PM |
1865 | 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr> |
1866 | ||
1867 | * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE | |
1868 | for internal variables. | |
1869 | (last_was_structop): New static variable. | |
1870 | (COMPLETE): New token. | |
1871 | (field_exp): New rule to group all '.' suffix handling. | |
1872 | Add mark_struct_expression calls when approriate to be able | |
1873 | to correctly find fields for completion. | |
1874 | (yylex): Adapt to handle field completion and set INTVAR when | |
1875 | required. | |
1876 | ||
2c291032 YQ |
1877 | 2011-01-14 Yao Qi <yao@codesourcery.com> |
1878 | ||
1879 | * arm-tdep.c (arm_register_reggroup_p): FPS register is in | |
1880 | save_reggroup, restore_reggroup and all_reggroup. | |
1881 | ||
447b483c JB |
1882 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
1883 | ||
1884 | * ada-valprint. (ada_printchar): Use the correct type length | |
1885 | in call to ada_emit_char. | |
1886 | * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR. | |
1887 | ||
7b64a93b PM |
1888 | 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr> |
1889 | ||
1890 | * solib-som.h (hpux_major_release): Declare variable here. | |
1891 | * solib-som.c: Remove <sys/utsname.h> header. | |
1892 | (DEFAULT_HPUX_MAJOR_RELEASE): New macro. | |
1893 | (hpux_major_release): Make global, change default value to | |
1894 | DEFAULT_HPUX_MAJOR_RELEASE. | |
1895 | (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. | |
1896 | * hppa-hpux-nat.c: Add <sys/utsname.h> include. | |
1897 | Add "solib-som.h" header. | |
1898 | (set_hpux_major_release): New function. | |
1899 | (_initialize_hppa_hpux_nat): Call set_hpux_major_release. | |
1900 | ||
4e18c053 MF |
1901 | 2011-01-14 Mike Frysinger <vapier@gentoo.org> |
1902 | ||
1903 | * configure.tgt (*-*-uclinux*): Match more Linux os targets | |
1904 | ||
a9df6b22 JB |
1905 | 2011-01-14 Joel Brobecker <brobecker@adacore.com> |
1906 | ||
1907 | * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing | |
1908 | new-line at end of warning message. | |
1909 | (ia64_hpux_store_register): Remove trailing new-line at end of | |
1910 | error message. | |
1911 | * ia64-hpux-tdep.c: Rephrase comment. | |
1912 | * solib-ia64-hpux.c (struct dld_info): Change type of field | |
1913 | dld_flags from "long long" to ULONGEST. | |
1914 | ||
ecb956dd PA |
1915 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
1916 | ||
1917 | * target.h (deprecated_child_ops): Delete declaration. | |
1918 | * target.c (deprecated_child_ops): Delete definition. | |
1919 | ||
76adfcae PA |
1920 | 2011-01-14 Pedro Alves <pedro@codesourcery.com> |
1921 | ||
1922 | * Makefile.in (hpux-thread.o): Delete rule. | |
1923 | * configure.ac: Don't check for HPUX DCE threads support. | |
1924 | * configure, config.in: Regenerate. | |
1925 | * hppa-hpux-nat.c (child_suppress_run): Delete. | |
1926 | (hppa_hpux_child_can_run): Delete. | |
1927 | (_initialize_hppa_hpux_nat): Don't override to_can_run. | |
1928 | * hpux-thread.c: Delete. | |
1929 | ||
042e866e JB |
1930 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1931 | ||
1932 | * hpux-thread.c (hpux_pid_to_str): Delete. | |
1933 | ||
4ffa5a33 JB |
1934 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1935 | ||
1936 | * ada-valprint.c (ada_emit_char): Remove strange code. | |
1937 | Check that c is <= UCHAR_MAX before passing it to isascii. | |
1938 | (char_at): Do not assume that TYPE_LEN is either 1 or 2. | |
1939 | ||
de8fa76c JB |
1940 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1941 | ||
1942 | * top.c (input_from_terminal_p): Restrict the use of interactive_mode | |
1943 | to the case where instream is stdin. | |
1944 | ||
c4de7027 JB |
1945 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1946 | ||
1947 | * ia64-tdep.h (struct regcache): Forward declare. | |
1948 | (struct ia64_infcall_ops): New struct type. | |
1949 | (struct gdbarch_tdep): New fields "find_global_pointer_from_solib" | |
1950 | and "infcall_ops". | |
1951 | * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section): | |
1952 | Renames ia64_find_global_pointer. | |
1953 | (ia64_find_global_pointer, ia64_allocate_new_rse_frame) | |
1954 | (ia64_store_argument_in_slot, ia64_set_function_addr: New function. | |
1955 | (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops | |
1956 | methods. | |
1957 | (ia64_infcall_ops): New static global constant. | |
1958 | (ia64_gdbarch_init): Set tdep->infcall_ops. | |
1959 | * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function. | |
1960 | (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing. | |
1961 | * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h". | |
1962 | (ia64_hpux_dummy_code): New static global constant. | |
1963 | (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame) | |
1964 | (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr) | |
1965 | (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib): | |
1966 | New function. | |
1967 | (ia64_hpux_infcall_ops): New static global constant. | |
1968 | (ia64_hpux_init_abi): Install gdbarch and tdep methods needed | |
1969 | for inferior function calls to work properly on ia64-hpux. | |
1970 | ||
77ca787b JB |
1971 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1972 | ||
1973 | * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS. | |
1974 | * ia64-tdep.h (struct frame_info): forward declaration. | |
1975 | (struct gdbarch_tdep): Add field size_of_register_frame. | |
1976 | * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame | |
1977 | to determine the size of the register frame. | |
1978 | (ia64_size_of_register_frame): New function. | |
1979 | (ia64_gdbarch_init): Set tdep->size_of_register_frame. | |
1980 | * ia64-hpux-tdep.c: Include "target.h" and "frame.h". | |
1981 | (IA64_HPUX_UREG_REASON): New macro. | |
1982 | (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame): | |
1983 | New functions. | |
1984 | (ia64_hpux_init_abi): Set tdep->size_of_register_frame. | |
1985 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function. | |
1986 | (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS | |
1987 | objects. | |
1988 | ||
92c9a463 JB |
1989 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
1990 | ||
1991 | Add support for ia64-hpux. | |
1992 | * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c, | |
1993 | ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files. | |
1994 | ||
1995 | * configure.host: Add handling for ia64-hpux hosts. Add associated | |
1996 | floatformats. | |
1997 | * configure.tgt: Add handling for ia64-hpux targets. | |
1998 | * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o. | |
1999 | (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h. | |
2000 | (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c. | |
2001 | ||
f688d93f JB |
2002 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
2003 | ||
2004 | [ttrace] Compute thread list immediately after attach. | |
2005 | * inf_ttrace_attach (inf_ttrace_create_threads_after_attach): | |
2006 | New subprogram. | |
2007 | (inf_ttrace_attach): Use it. | |
2008 | ||
1b89e62f JB |
2009 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
2010 | ||
2011 | * libunwind-frame.c (libunwind_frame_cache): Do not return NULL | |
2012 | if we could not determine the frame's function address. Instead, | |
2013 | use the frame's PC, and then continue. | |
2014 | ||
3e5e6e2a JB |
2015 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
2016 | ||
2017 | * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if | |
2018 | not already defined. | |
2019 | ||
825d6d8a JB |
2020 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
2021 | ||
2022 | * ia64-tdep.c (ia64_struct_type_p): New function. | |
2023 | (ia64_extract_return_value): Handle integral values that are | |
2024 | less than 8 bytes long. | |
2025 | (ia64_push_dummy_call): Likewise. | |
2026 | ||
7458e667 JB |
2027 | 2011-01-13 Joel Brobecker <brobecker@adacore.com> |
2028 | ||
2029 | * ia64-tdep.c (floatformat_ia64_ext_little): Renames | |
2030 | floatformat_ia64_ext. | |
2031 | (floatformat_ia64_ext_big): New static const. | |
2032 | (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big. | |
2033 | ||
1b05df00 TT |
2034 | 2011-01-12 Tom Tromey <tromey@redhat.com> |
2035 | ||
2036 | * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error | |
2037 | messages. | |
2038 | * mi/mi-main.c (mi_cmd_thread_select): Fix error messages. | |
2039 | (mi_cmd_thread_list_ids): Likewise. | |
2040 | (mi_cmd_data_list_changed_registers): Likewise. | |
2041 | (mi_cmd_data_list_register_values): Likewise. | |
2042 | (mi_cmd_data_write_register_values): Likewise. | |
2043 | (mi_cmd_data_evaluate_expression): Likewise. | |
2044 | (mi_cmd_data_read_memory): Likewise. | |
2045 | (mi_cmd_data_read_memory_bytes): Likewise. | |
2046 | (mi_cmd_data_write_memory): Likewise. | |
2047 | (mi_cmd_enable_timings): Likewise. | |
2048 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages. | |
2049 | * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages. | |
2050 | (mi_cmd_var_delete): Likewise. | |
2051 | (mi_cmd_var_set_format): Likewise. | |
2052 | (mi_cmd_var_show_format): Likewise. | |
2053 | (mi_cmd_var_info_num_children): Likewise. | |
2054 | (mi_cmd_var_list_children): Likewise. | |
2055 | (mi_cmd_var_info_type): Likewise. | |
2056 | (mi_cmd_var_info_expression): Likewise. | |
2057 | (mi_cmd_var_show_attributes): Likewise. | |
2058 | (mi_cmd_var_assign): Likewise. | |
2059 | (mi_cmd_var_update): Likewise. | |
2060 | (mi_cmd_enable_pretty_printing): Likewise. | |
2061 | (mi_cmd_var_set_update_range): Likewise. | |
2062 | * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error | |
2063 | messages. | |
2064 | (mi_cmd_target_file_put): Likewise. | |
2065 | (mi_cmd_target_file_delete): Likewise. | |
2066 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error | |
2067 | messages. | |
2068 | (mi_cmd_stack_info_depth): Likewise. | |
2069 | (mi_cmd_stack_list_locals): Likewise. | |
2070 | (mi_cmd_stack_list_args): Likewise. | |
2071 | (mi_cmd_stack_select_frame): Likewise. | |
2072 | (mi_cmd_stack_select_frame): Likewise. | |
2073 | (mi_cmd_stack_info_frame): Likewise. | |
2074 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error | |
2075 | messages. | |
2076 | (mi_cmd_file_list_exec_source_files): Likewise. | |
2077 | * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages. | |
2078 | (mi_cmd_env_cd): Likewise. | |
2079 | (mi_cmd_env_path): Likewise. | |
2080 | (mi_cmd_env_dir): Likewise. | |
2081 | (mi_cmd_inferior_tty_show): Likewise. | |
2082 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages. | |
2083 | * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages. | |
2084 | (mi_cmd_break_watch): Likewise. | |
2085 | ||
ad422571 TJB |
2086 | 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2087 | ||
2088 | * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace. | |
2089 | (ppc_linux_insert_hw_breakpoint): Likewise. | |
2090 | (ppc_linux_remove_hw_breakpoint): Likewise. | |
2091 | (ppc_linux_insert_watchpoint): Likewise. | |
2092 | ||
c2ff108b JK |
2093 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
2094 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2095 | ||
2096 | PR fortran/11104 and DWARF unbound arrays detection. | |
2097 | * dwarf2read.c (read_subrange_type): Set zero length on unspecified | |
2098 | upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on | |
2099 | unspecified upper bound. | |
2100 | * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove | |
2101 | variables array_size_array, tmp_type and offset_item. New variable | |
2102 | array. Remove call to f77_get_upperbound. New variables array_type | |
2103 | and index. Call value_subscripted_rvalue for each dimenasion. Remove | |
2104 | the final call to deprecated_set_value_type. | |
2105 | ||
41e8491f JK |
2106 | 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
2107 | ||
2108 | Make value allocations more lazy. | |
2109 | * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy | |
2110 | instead of allocate_value and set_value_lazy when possible. | |
2111 | * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy | |
2112 | instead of allocate_value and set_value_lazy. | |
2113 | * findvar.c (value_of_register_lazy): Likewise. | |
2114 | (read_var_value): Remove V preallocation, call just check_typedef in | |
2115 | advance. Move allocate_value to LOC_CONST, LOC_LABEL, | |
2116 | LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG, | |
2117 | LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of | |
2118 | set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and | |
2119 | remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy | |
2120 | in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at | |
2121 | the end, remove set_value_lazy there. | |
2122 | * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy | |
2123 | instead of allocate_value and set_value_lazy when possible. | |
2124 | * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL. | |
2125 | * value.c (allocate_computed_value): Use allocate_value_lazy instead | |
2126 | of allocate_value and set_value_lazy. | |
2127 | (value_from_contents_and_address): Use allocate_value_lazy instead of | |
2128 | allocate_value and set_value_lazy when possible. | |
2129 | ||
b716877b AB |
2130 | 2011-01-12 Andrew Burgess <aburgess@broadcom.com> |
2131 | ||
2132 | * disasm.c (dump_insns): Support dumping opcodes for MI. | |
2133 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control | |
2134 | dumping of instruction opcodes. | |
2135 | ||
d5ae309f JB |
2136 | 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch) |
2137 | ||
2138 | * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi' | |
2139 | appropiately. | |
2140 | ||
98871305 TT |
2141 | 2011-01-11 Tom Tromey <tromey@redhat.com> |
2142 | ||
2143 | * thread.c (do_captured_thread_select): Emit newline before | |
2144 | printing frame. | |
2145 | ||
c378eb4e MS |
2146 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
2147 | ||
2148 | * s390-tdep.c: Comment cleanup, mostly periods and spaces. | |
2149 | * score-tdep.c: Ditto. | |
2150 | * score-tdep.h: Ditto. | |
2151 | * ser-base.c: Ditto. | |
2152 | * ser-go32.c: Ditto. | |
2153 | * serial.c: Ditto. | |
2154 | * serial.h: Ditto. | |
2155 | * ser-mingw.c: Ditto. | |
2156 | * ser-pipe.c: Ditto. | |
2157 | * ser-tcp.c: Ditto. | |
2158 | * ser-unix.c: Ditto. | |
2159 | * sh64-tdep.c: Ditto. | |
2160 | * shnbsd-nat.c: Ditto. | |
2161 | * sh-tdep.c: Ditto. | |
2162 | * sh-tdep.h: Ditto. | |
2163 | * solib.c: Ditto. | |
2164 | * solib-darwin.c: Ditto. | |
2165 | * solib-frv.c: Ditto. | |
2166 | * solib.h: Ditto. | |
2167 | * solib-irix.c: Ditto. | |
2168 | * solib-osf.c: Ditto. | |
2169 | * solib-pa64.c: Ditto. | |
2170 | * solib-som.c: Ditto. | |
2171 | * solib-spu.c: Ditto. | |
2172 | * solib-sunos.c: Ditto. | |
2173 | * solib-svr4.c: Ditto. | |
2174 | * solist.h: Ditto. | |
2175 | * sol-thread.c: Ditto. | |
2176 | * somread.c: Ditto. | |
2177 | * source.c: Ditto. | |
2178 | * source.h: Ditto. | |
2179 | * sparc64-linux-tdep.c: Ditto. | |
2180 | * sparc64-tdep.c: Ditto. | |
2181 | * sparc-linux-nat.c: Ditto. | |
2182 | * sparc-linux-tdep.c: Ditto. | |
2183 | * sparc-sol2-nat.c: Ditto. | |
2184 | * sparc-sol2-tdep.c: Ditto. | |
2185 | * sparc-tdep.c: Ditto. | |
2186 | * sparc-tdep.h: Ditto. | |
2187 | * spu-tdep.c: Ditto. | |
2188 | * stabsread.c: Ditto. | |
2189 | * stabsread.h: Ditto. | |
2190 | * stack.c: Ditto. | |
2191 | * symfile.c: Ditto. | |
2192 | * symfile.h: Ditto. | |
2193 | * symmisc.c: Ditto. | |
2194 | * symtab.c: Ditto. | |
2195 | * symtab.h: Ditto. | |
2196 | * target.c: Ditto. | |
2197 | * target-descriptions.c: Ditto. | |
2198 | * target-descriptions.h: Ditto. | |
2199 | * target.h: Ditto. | |
2200 | * target-memory.c: Ditto. | |
2201 | * terminal.h: Ditto. | |
2202 | * thread.c: Ditto. | |
2203 | * top.c: Ditto. | |
2204 | * tracepoint.c: Ditto. | |
2205 | * tracepoint.h: Ditto. | |
2206 | * trad-frame.h: Ditto. | |
2207 | * typeprint.c: Ditto. | |
2208 | ||
581e13c1 MS |
2209 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
2210 | ||
2211 | * ui-file.c: Comment cleanup, mostly periods and spaces. | |
2212 | * ui-file.h: Ditto. | |
2213 | * ui-out.c: Ditto. | |
2214 | * ui-out.h: Ditto. | |
2215 | * utils.c: Ditto. | |
2216 | * v850-tdep.c: Ditto. | |
2217 | * valarith.c: Ditto. | |
2218 | * valops.c: Ditto. | |
2219 | * valprint.c: Ditto. | |
2220 | * valprint.h: Ditto. | |
2221 | * value.c: Ditto. | |
2222 | * value.h: Ditto. | |
2223 | * varobj.c: Ditto. | |
2224 | * varobj.h: Ditto. | |
2225 | * vax-tdep.c: Ditto. | |
2226 | * vec.c: Ditto. | |
2227 | * vec.h: Ditto. | |
2228 | * version.h: Ditto. | |
2229 | * windows-nat.c: Ditto. | |
2230 | * windows-tdep.c: Ditto. | |
2231 | * xcoffread.c: Ditto. | |
2232 | * xcoffsolib.c: Ditto. | |
2233 | * xml-support.c: Ditto. | |
2234 | * xstormy16-tdep.c: Ditto. | |
2235 | * xtensa-tdep.c: Ditto. | |
2236 | * xtensa-tdep.h: Ditto. | |
2237 | ||
90e4670f TJB |
2238 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2239 | ||
2240 | * breakpoint.c (resources_needed_watchpoint): Fix indentation. | |
2241 | * gdbtypes.c (is_scalar_type_recursive): Fix formatting. | |
2242 | ||
e09342b5 TJB |
2243 | 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com> |
2244 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
2245 | ||
2246 | Implement support for PowerPC BookE ranged watchpoints. | |
2247 | * breakpoint.h | |
2248 | (struct breakpoint_ops) <resources_needed>: New method. | |
2249 | Initialize to NULL in all existing breakpoint_ops instances. | |
2250 | (struct breakpoint) <exact>: New field. | |
2251 | (target_exact_watchpoints): Declare external global. | |
2252 | * breakpoint.c (target_exact_watchpoints): New global flag. | |
2253 | (update_watchpoint): Set b->type to bp_hardware_watchpoint and | |
2254 | b->enable_state to bp_enabled before calling | |
2255 | hw_watchpoint_used_count. | |
2256 | (hw_watchpoint_used_count): Iterate over all bp_locations in a | |
2257 | watchpoint. Call breakpoint's breakpoint_ops.resources_needed | |
2258 | if available. | |
2259 | (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte | |
2260 | if the watchpoint is exact. | |
2261 | (resources_needed_watchpoint): New function. | |
2262 | (watchpoint_breakpoint_ops): Add resources_needed_watchpoint. | |
2263 | (watch_command_1): Set b->exact if the user asked for an exact | |
2264 | watchpoint and one can be set. | |
2265 | (can_use_hardware_watchpoint): Add exact_watchpoints argument. | |
2266 | Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if | |
2267 | the user asks for an exact watchpoint and one can be set. Return | |
2268 | number of needed debug registers to watch the expression. | |
2269 | * gdbtypes.c (is_scalar_type): New function, based on | |
2270 | valprint.c:scalar_type_p. | |
2271 | (is_scalar_type_recursive): New function. | |
2272 | * gdbtypes.h (is_scalar_type_recursive): Declare. | |
2273 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always | |
2274 | handle regions when ranged watchpoints are available. | |
2275 | (create_watchpoint_request): New function. | |
2276 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
2277 | create_watchpoint_request. | |
2278 | * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function. | |
2279 | (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the | |
2280 | `set powerpc' and `show powerpc' commands. | |
2281 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
2282 | Mention documentation comment in the target macro. | |
2283 | (target_region_ok_for_hw_watchpoint): Document return value. | |
2284 | ||
9fa40276 TJB |
2285 | 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2286 | ||
2287 | * breakpoint.c (update_watchpoint): Decide on using a software or | |
2288 | hardware watchpoint after the bp_locations are created. | |
2289 | ||
77b06cd7 TJB |
2290 | 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2291 | ||
2292 | Convert hardware watchpoints to use breakpoint_ops. | |
2293 | * breakpoint.h (breakpoint_ops) <insert>: Rename to... | |
2294 | <insert_location>: ... this. Return int instead of void. | |
2295 | Accept pointer to struct bp_location instead of pointer to | |
2296 | struct breakpoint. Adapt all implementations. | |
2297 | (breakpoint_ops) <remove>: Rename to... | |
2298 | <remove_location>: ... this. Accept pointer to struct bp_location | |
2299 | instead of pointer to struct breakpoint. Adapt all implementations. | |
2300 | * breakpoint.c (insert_catchpoint): Delete function. | |
2301 | (insert_bp_location): Call the watchpoint or catchpoint's | |
2302 | breakpoint_ops.insert method. | |
2303 | (remove_breakpoint_1): Call the watchpoint or catchpoint's | |
2304 | breakpoint_ops.remove method. | |
2305 | (insert_watchpoint, remove_watchpoint): New functions. | |
2306 | (watchpoint_breakpoint_ops): New structure. | |
2307 | (watch_command_1): Initialize the OPS field. | |
2308 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
2309 | (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint) | |
2310 | (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint) | |
2311 | (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint): | |
2312 | Delete functions. | |
2313 | (inf_child_target): Remove initialization of to_insert_fork_catchpoint, | |
2314 | to_remove_fork_catchpoint, to_insert_vfork_catchpoint, | |
2315 | to_remove_vfork_catchpoint, to_insert_exec_catchpoint, | |
2316 | to_remove_exec_catchpoint and to_set_syscall_catchpoint. | |
2317 | * target.c (update_current_target): Change default implementation of | |
2318 | to_insert_fork_catchpoint, to_remove_fork_catchpoint, | |
2319 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
2320 | to_insert_exec_catchpoint, to_remove_exec_catchpoint and | |
2321 | to_set_syscall_catchpoint to return_one. | |
2322 | (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint) | |
2323 | (debug_to_insert_exec_catchpoint): Report return value. | |
2324 | * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint) | |
2325 | (to_insert_exec_catchpoint): Change declaration to return int instead | |
2326 | of void. | |
2327 | ||
9b20d036 MS |
2328 | 2011-01-11 Michael Snyder <msnyder@vmware.com> |
2329 | ||
2330 | * arm-tdep.c: Internationalization. | |
2331 | * c-lang.c: Ditto. | |
2332 | * charset.c: Ditto. | |
2333 | * fork-child.c: Ditto. | |
2334 | * nto-procfs.c: Ditto. | |
2335 | * ppc-sysv-tdep.c: Ditto. | |
2336 | * procfs.c: Ditto. | |
2337 | * remote-mips.c: Ditto. | |
2338 | * remote.c: Ditto. | |
2339 | * rs6000-nat.c: Ditto. | |
2340 | * rs6000-tdep.c: Ditto. | |
2341 | * target.c: Ditto. | |
2342 | * valops.c: Ditto. | |
2343 | * value.c: Ditto. | |
2344 | * xml-support.c: Ditto. | |
2345 | * mi/mi-cmd-break.c: Ditto. | |
2346 | * mi/mi-cmd-var.c: Ditto. | |
2347 | * mi/mi-interp.c: Ditto. | |
2348 | * mi/mi-main.c: Ditto. | |
2349 | ||
dae477fe AB |
2350 | 2011-01-11 Andrew Burgess <aburgess@broadcom.com> |
2351 | ||
2352 | * remote-sim.c (gdbsim_store_register): Update API to | |
2353 | sim_store_register to check more error conditions. | |
2354 | ||
0df8b418 MS |
2355 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
2356 | ||
2357 | * nto-procfs.c: Comment cleanup, mostly periods and spaces. | |
2358 | * nto-tdep.c: Ditto. | |
2359 | * nto-tdep.h: Ditto. | |
2360 | * objc-exp.y: Ditto. | |
2361 | * objc-lang.c: Ditto. | |
2362 | * objfiles.c: Ditto. | |
2363 | * objfiles.h: Ditto. | |
2364 | * observer.c: Ditto. | |
2365 | * opencl-lang.c: Ditto. | |
2366 | * osabi.c: Ditto. | |
2367 | * parse.c: Ditto. | |
2368 | * parser-defs.h: Ditto. | |
2369 | * p-exp.y: Ditto. | |
2370 | * p-lang.c: Ditto. | |
2371 | * posix-hdep.c: Ditto. | |
2372 | * ppcbug-rom.c: Ditto. | |
2373 | * ppc-linux-nat.c: Ditto. | |
2374 | * ppc-linux-tdep.c: Ditto. | |
2375 | * ppc-linux-tdep.h: Ditto. | |
2376 | * ppcnbsd-tdep.c: Ditto. | |
2377 | * ppcobsd-tdep.c: Ditto. | |
2378 | * ppcobsd-tdep.h: Ditto. | |
2379 | * ppc-sysv-tdep.c: Ditto. | |
2380 | * ppc-tdep.h: Ditto. | |
2381 | * printcmd.c: Ditto. | |
2382 | * proc-abi.c: Ditto. | |
2383 | * proc-flags.c: Ditto. | |
2384 | * procfs.c: Ditto. | |
2385 | * proc-utils.h: Ditto. | |
2386 | * progspace.h: Ditto. | |
2387 | * prologue-value.c: Ditto. | |
2388 | * prologue-value.h: Ditto. | |
2389 | * psympriv.h: Ditto. | |
2390 | * psymtab.c: Ditto. | |
2391 | * p-typeprint.c: Ditto. | |
2392 | * p-valprint.c: Ditto. | |
2393 | * ravenscar-sparc-thread.c: Ditto. | |
2394 | * ravenscar-thread.c: Ditto. | |
2395 | * ravenscar-thread.h: Ditto. | |
2396 | * record.c: Ditto. | |
2397 | * regcache.c: Ditto. | |
2398 | * regcache.h: Ditto. | |
2399 | * remote.c: Ditto. | |
2400 | * remote-fileio.c: Ditto. | |
2401 | * remote-fileio.h: Ditto. | |
2402 | * remote.h: Ditto. | |
2403 | * remote-m32r-sdi.c: Ditto. | |
2404 | * remote-mips.c: Ditto. | |
2405 | * remote-sim.c: Ditto. | |
2406 | * rs6000-aix-tdep.c: Ditto. | |
2407 | * rs6000-nat.c: Ditto. | |
2408 | * rs6000-tdep.c: Ditto. | |
2409 | ||
0d7a18f7 MS |
2410 | 2011-01-10 Michael Snyder <msnyder@vmware.com> |
2411 | ||
2412 | * charset.c (validate): Internationalization. | |
2413 | * coffread.c (read_one_sym): Ditto. | |
2414 | * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto. | |
2415 | * h8300-tdep.c (H8300_extract_return_value): Ditto. | |
2416 | * inflow.c (new_tty): Ditto. | |
2417 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto. | |
2418 | * m32c-tdep.c (m32c_return_value): Ditto. | |
2419 | * mep-tdep.c (mep_store_return_value): Ditto. | |
2420 | * score-tdep.c (score7_fetch_insn): Ditto. | |
2421 | * ser-mingw.c (pipe_windows_open): Ditto. | |
2422 | * sh64-tdep.c (sh64_extract_return_value): Ditto. | |
2423 | * spu-tdep.c (spu_register_type): Ditto. | |
2424 | * tracepoint.c (trace_find_command): Ditto. | |
2425 | * valarith.c (value_pos): Ditto. | |
2426 | ||
9a153e0b JB |
2427 | 2011-01-10 Joel Brobecker <brobecker@adacore.com> |
2428 | ||
2429 | * ada-valprint.c (printstr): Minor comment reformatting. | |
2430 | ||
35ecd2d6 MS |
2431 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
2432 | ||
2433 | * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _ | |
2434 | markup. | |
2435 | ||
1777feb0 MS |
2436 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
2437 | ||
2438 | * h8300-tdep.c: Comment cleanup, mostly periods and spaces. | |
2439 | * hppa-hpux-tdep.c: Ditto. | |
2440 | * hppa-linux-nat.c: Ditto. | |
2441 | * hppa-linux-tdep.c: Ditto. | |
2442 | * hppanbsd-tdep.c: Ditto. | |
2443 | * hppa-tdep.c: Ditto. | |
2444 | * hppa-tdep.h: Ditto. | |
2445 | * hpux-thread.c: Ditto. | |
2446 | * i386-cygwin-tdep.c: Ditto. | |
2447 | * i386-darwin-nat.c: Ditto. | |
2448 | * i386gnu-nat.c: Ditto. | |
2449 | * i386-linux-nat.c: Ditto. | |
2450 | * i386-linux-tdep.c: Ditto. | |
2451 | * i386-nat.c: Ditto. | |
2452 | * i386-nat.h: Ditto. | |
2453 | * i386nbsd-tdep.c: Ditto. | |
2454 | * i386-sol2-nat.c: Ditto. | |
2455 | * i386-stub.c: Ditto. | |
2456 | * i386-tdep.c: Ditto. | |
2457 | * i386-tdep.h: Ditto. | |
2458 | * i387-tdep.c: Ditto. | |
2459 | * ia64-linux-nat.c: Ditto. | |
2460 | * ia64-linux-tdep.c: Ditto. | |
2461 | * ia64-tdep.c: Ditto. | |
2462 | * infcall.c: Ditto. | |
2463 | * infcall.h: Ditto. | |
2464 | * infcmd.c: Ditto. | |
2465 | * inferior.c: Ditto. | |
2466 | * inferior.h: Ditto. | |
2467 | * infloop.c: Ditto. | |
2468 | * inflow.c: Ditto. | |
2469 | * infrun.c: Ditto. | |
2470 | * interps.c: Ditto. | |
2471 | * interps.h: Ditto. | |
2472 | * iq2000-tdep.c: Ditto. | |
2473 | * irix5-nat.c: Ditto. | |
2474 | * jit.c: Ditto. | |
2475 | * jit.h: Ditto. | |
2476 | * jv-exp.y: Ditto. | |
2477 | * jv-lang.c: Ditto. | |
2478 | * jv-lang.h: Ditto. | |
2479 | * jv-typeprint.c: Ditto. | |
2480 | * jv-valprint.c: Ditto. | |
2481 | * language.c: Ditto. | |
2482 | * language.h: Ditto. | |
2483 | * linespec.c: Ditto. | |
2484 | * linux-fork.c: Ditto. | |
2485 | * linux-nat.c: Ditto. | |
2486 | * linux-thread-db.c: Ditto. | |
2487 | * lm32-tdep.c: Ditto. | |
2488 | ||
025bb325 MS |
2489 | 2011-01-08 Michael Snyder <msnyder@vmware.com> |
2490 | ||
2491 | * m2-exp.y: Comment cleanup, mostly periods and spaces. | |
2492 | * m2-lang.c: Ditto. | |
2493 | * m2-typeprint.c: Ditto. | |
2494 | * m2-valprint.c: Ditto. | |
2495 | * m32c-tdep.c: Ditto. | |
2496 | * m32r-linux-nat.c: Ditto. | |
2497 | * m32r-rom.c: Ditto. | |
2498 | * m32r-tdep.c: Ditto. | |
2499 | * m32r-tdep.h: Ditto. | |
2500 | * m68hc11-tdep.c: Ditto. | |
2501 | * m58klinux-nat.c: Ditto. | |
2502 | * m68k-tdep.c: Ditto. | |
2503 | * m88k-tdep.c: Ditto. | |
2504 | * m88k-tdep.h: Ditto. | |
2505 | * machoread.c: Ditto. | |
2506 | * macrocmd.c: Ditto. | |
2507 | * macroexp.c: Ditto. | |
2508 | * macrotab.c: Ditto. | |
2509 | * main.c: Ditto. | |
2510 | * maint.c: Ditto. | |
2511 | * mdebugread.c: Ditto. | |
2512 | * mdebugread.h: Ditto. | |
2513 | * memattr.c: Ditto. | |
2514 | * memattr.h: Ditto. | |
2515 | * memory-map.h: Ditto. | |
2516 | * mep-tdep.c: Ditto. | |
2517 | * microblaze-rom.c: Ditto. | |
2518 | * microblaze-tdep.c: Ditto. | |
2519 | * minsyms.c: Ditto. | |
2520 | * mips-irix-tdep.c: Ditto. | |
2521 | * mips-linux-nat.c: Ditto. | |
2522 | * mips-linux-tdep.c: Ditto. | |
2523 | * mips-linux-tdep.h: Ditto. | |
2524 | * mipsnbsd-nat.c: Ditto. | |
2525 | * mipsnbsd-tdep.c: Ditto. | |
2526 | * mipsread.c: Ditto. | |
2527 | * mips-tdep.c: Ditto. | |
2528 | * mips-tdep.h: Ditto. | |
2529 | * mn10300-linux-tdep.c: Ditto. | |
2530 | * mn10300-tdep.c: Ditto. | |
2531 | * mn10300-tdep.h: Ditto. | |
2532 | * monitor.c: Ditto. | |
2533 | * monitor.h: Ditto. | |
2534 | * moxie-tdep.c: Ditto. | |
2535 | * moxie-tdep.h: Ditto. | |
2536 | * mt-tdep.c: Ditto. | |
2537 | ||
1642781b MF |
2538 | 2011-01-08 Mike Frysinger <vapier@gentoo.org> |
2539 | ||
2540 | * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name. | |
2541 | ||
394b0adb JB |
2542 | 2011-01-08 Robert Millan <rmh@gnu.org> |
2543 | ||
2544 | * fbsd-nat.c (fbsd_find_memory_regions): Fix typo. | |
2545 | ||
b670013c MS |
2546 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
2547 | ||
2548 | * charset.c (_initialize_charset): Fix typo in string. | |
2549 | ||
a743e542 MS |
2550 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
2551 | ||
2552 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message | |
2553 | for i18n. | |
2554 | * tui/tui-layout.c (tui_set_layout_for_display_command): | |
2555 | Split line so that operator goes to beginning of line. | |
2556 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Move | |
2557 | assignment out of if statement. | |
2558 | ||
0963b4bd MS |
2559 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
2560 | ||
2561 | * ada-lang.c: Comment cleanup, mostly periods and spaces. | |
2562 | * ada-lang.h: Ditto. | |
2563 | * ada-tasks.c: Ditto. | |
2564 | * ada-valprint.c: Ditto. | |
2565 | * aix-threads.c: Ditto. | |
2566 | * alpha-linux-nat.c: Ditto. | |
2567 | * alpha-linux-tdep.c: Ditto. | |
2568 | * alpha-mdebug-tdep.c: Ditto. | |
2569 | * alpha-nat.c: Ditto. | |
2570 | * alpha-osf1-tdep.c: Ditto. | |
2571 | * alpha-tdep.c: Ditto. | |
2572 | * alphabsd-nat.c: Ditto. | |
2573 | * alphabsd-tdep.c: Ditto. | |
2574 | * amd64-darwin-tdep.c: Ditto. | |
2575 | * amd64-linux-nat.c: Ditto. | |
2576 | * amd64-linux-tdep.c: Ditto. | |
2577 | * amd64-sol2-tdep.c: Ditto. | |
2578 | * amd64-tdep.c: Ditto. | |
2579 | * amd64-fbsd-tdep.c: Ditto. | |
2580 | * amd64-nbsd-tdep.c: Ditto. | |
2581 | * amd64-obsd-tdep.c: Ditto. | |
2582 | * amd64-linux-nat.c: Ditto. | |
2583 | * amd64-linux-tdep.c: Ditto. | |
2584 | * arm-tdep.c: Ditto. | |
2585 | * arm-tdep.h: Ditto. | |
2586 | * armnbsd-nat.c: Ditto. | |
2587 | * avr-tdep.c: Ditto. | |
2588 | * bfin-tdep.c: Ditto. | |
2589 | * bsd-kvm.c: Ditto. | |
2590 | * c-typeprintc: Ditto. | |
2591 | * c-valprint.c: Ditto. | |
2592 | * coff-pe-read.h: Ditto. | |
2593 | * coffreead.c: Ditto. | |
2594 | * cris-tdep.c: Ditto. | |
2595 | * d-lang.c: Ditto. | |
2596 | * darwin-nat-info.c: Ditto. | |
2597 | * darwin-nat.c: Ditto. | |
2598 | * dbug-rom.c: Ditto. | |
2599 | * dbxread.c: Ditto. | |
2600 | * dcache.c: Ditto. | |
2601 | * dcache.h: Ditto. | |
2602 | * dec-thread.c: Ditto. | |
2603 | * defs.h: Ditto. | |
2604 | * demangle.c: Ditto. | |
2605 | * dicos-tdep.c: Ditto. | |
2606 | * dictionary.c: Ditto. | |
2607 | * dictionary.h: Ditto. | |
2608 | * dink32-rom.c: Ditto. | |
2609 | * disasm.c: Ditto. | |
2610 | * doublest.c: Ditto. | |
2611 | * dsrec.c: Ditto. | |
2612 | * dummy-frame.c: Ditto. | |
2613 | * dwarf2-frame.c: Ditto. | |
2614 | * dwarf2expr.c: Ditto. | |
2615 | * dwarf2loc.c: Ditto. | |
2616 | * dwarf2read.c: Ditto. | |
2617 | * elfread.c: Ditto. | |
2618 | * environ.c: Ditto. | |
2619 | * eval.c: Ditto. | |
2620 | * event-top.h: Ditto. | |
2621 | * exceptions.c: Ditto. | |
2622 | * exceptions.h: Ditto. | |
2623 | * exec.c: Ditto. | |
2624 | * expprint.c: Ditto. | |
2625 | * expression.h: Ditto. | |
2626 | * f-exp.y: Ditto. | |
2627 | * f-lang.c: Ditto. | |
2628 | * f-lang.h: Ditto. | |
2629 | * f-typeprint.c: Ditto. | |
2630 | * f-valprint.c: Ditto. | |
2631 | * fbsd-nat.c: Ditto. | |
2632 | * findvar.c: Ditto. | |
2633 | * fork-child.c: Ditto. | |
2634 | * frame.c: Ditto. | |
2635 | * frame.h: Ditto. | |
2636 | * frv-linux-tdep.c: Ditto. | |
2637 | * frv-tdep.c: Ditto. | |
2638 | * gcore.c: Ditto. | |
2639 | * gdb-stabs.h: Ditto. | |
2640 | * gdb_assert.h: Ditto. | |
2641 | * gdb_string.h: Ditto. | |
2642 | * gdb_thread_db.h: Ditto. | |
2643 | * gdb_wait.h: Ditto. | |
2644 | * gdbarch.sh: Ditto. | |
2645 | * gdbcore.h: Ditto. | |
2646 | * gdbthread.h: Ditto. | |
2647 | * gdbtypes.c: Ditto. | |
2648 | * gdbtypes.h: Ditto. | |
2649 | * gnu-nat.c: Ditto. | |
2650 | * gnu-nat.h: Ditto. | |
2651 | * gnu-v2-abi.c: Ditto. | |
2652 | * gnu-v3-abi.c: Ditto. | |
2653 | * go32-nat.c: Ditto. | |
2654 | * gdbarch.c: Regenerate. | |
2655 | * gdbarch.h: Regenerate. | |
2656 | ||
ac74f770 MS |
2657 | 2011-01-07 Michael Snyder <msnyder@vmware.com> |
2658 | ||
2659 | * ax-gdb.c: Adjust some long output strings. | |
2660 | * breakpoint.c: Ditto. | |
2661 | * charset.c: Ditto. | |
2662 | * cp-abi.c: Ditto. | |
2663 | * infcall.c: Ditto. | |
2664 | * infrun.c: Ditto. | |
2665 | * linux-nat.c: Ditto. | |
2666 | * solib-pa64.c: Ditto. | |
2667 | * solib-som.c: Ditto. | |
2668 | ||
d8e22779 TT |
2669 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
2670 | ||
2671 | PR python/12367: | |
2672 | * NEWS: Add item. | |
2673 | * python/python.c (GdbMethods): Add "newest_frame" method. | |
2674 | * python/python-internal.h (gdbpy_newest_frame): Declare. | |
2675 | * python/py-frame.c (gdbpy_newest_frame): New function. | |
2676 | ||
a255712f PP |
2677 | 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com> |
2678 | ||
2679 | * jit.h (struct jit_code_entry): use ULONGEST for symfile_size. | |
2680 | * jit.c (jit_debug): New variable. | |
2681 | (show_jit_debug): New function. | |
2682 | (struct target_buffer): Use ULONGEST. | |
2683 | (bfd_open_from_target_memory): Likewise. | |
2684 | (jit_register_code, jit_inferior_init): Add debug output. | |
2685 | (_initialize_jit): Register "debug jit" command. | |
2686 | ||
ccfc3d6e TT |
2687 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
2688 | ||
2689 | * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment. | |
2690 | * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME | |
2691 | and ARCH_FRAME. | |
2692 | ||
57126e4a TT |
2693 | 2011-01-06 Tom Tromey <tromey@redhat.com> |
2694 | ||
2695 | * python/py-frame.c (frapy_block): Use get_frame_block. | |
2696 | ||
16dfc9ce JB |
2697 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
2698 | ||
2699 | Do not stop on SIGPRIO signals by default | |
2700 | * infrun.c (_initialize_infrun): Unset signal_stop and | |
2701 | signal_print for TARGET_SIGNAL_PRIO. | |
2702 | ||
b1ce2347 JB |
2703 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
2704 | ||
2705 | * ada-tasks.c: Fix style violation in comment. | |
2706 | ||
8f7e195f JB |
2707 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
2708 | ||
2709 | * linespec.c (decode_compound, find_method): Remove trailing \n | |
2710 | at end of error string. | |
2711 | * solib-irix.c (irix_current_sos): Likewise. | |
2712 | * varobj.c (uninstall_variable): Likewise. | |
2713 | ||
e9bdf92c JB |
2714 | 2011-01-06 Joel Brobecker <brobecker@adacore.com> |
2715 | ||
2716 | * copyright.py: New script. | |
2717 | * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc. | |
2718 | Launch emacs without exec'ing. Call copyright.py afterwards. | |
2719 | ||
3e43a32a MS |
2720 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
2721 | ||
2722 | * addrmap.c: Shorten lines of >= 80 columns. | |
2723 | * arch-utils.c: Ditto. | |
2724 | * arch-utils.h: Ditto. | |
2725 | * ax-gdb.c: Ditto. | |
2726 | * ax-general.c: Ditto. | |
2727 | * bcache.c: Ditto. | |
2728 | * blockframe.c: Ditto. | |
2729 | * breakpoint.c: Ditto. | |
2730 | * buildsym.c: Ditto. | |
2731 | * c-lang.c: Ditto. | |
2732 | * c-typeprint.c: Ditto. | |
2733 | * charset.c: Ditto. | |
2734 | * coffread.c: Ditto. | |
2735 | * command.h: Ditto. | |
2736 | * corelow.c: Ditto. | |
2737 | * cp-abi.c: Ditto. | |
2738 | * cp-namespace.c: Ditto. | |
2739 | * cp-support.c: Ditto. | |
2740 | * dbug-rom.c: Ditto. | |
2741 | * dbxread.c: Ditto. | |
2742 | * defs.h: Ditto. | |
2743 | * dfp.c: Ditto. | |
2744 | * dfp.h: Ditto. | |
2745 | * dictionary.c: Ditto. | |
2746 | * disasm.c: Ditto. | |
2747 | * doublest.c: Ditto. | |
2748 | * dwarf2-frame.c: Ditto. | |
2749 | * dwarf2expr.c: Ditto. | |
2750 | * dwarf2loc.c: Ditto. | |
2751 | * dwarf2read.c: Ditto. | |
2752 | * elfread.c: Ditto. | |
2753 | * eval.c: Ditto. | |
2754 | * event-loop.c: Ditto. | |
2755 | * event-loop.h: Ditto. | |
2756 | * exceptions.h: Ditto. | |
2757 | * exec.c: Ditto. | |
2758 | * expprint.c: Ditto. | |
2759 | * expression.h: Ditto. | |
2760 | * f-lang.c: Ditto. | |
2761 | * f-valprint.c: Ditto. | |
2762 | * findcmd.c: Ditto. | |
2763 | * frame-base.c: Ditto. | |
2764 | * frame-unwind.c: Ditto. | |
2765 | * frame-unwind.h: Ditto. | |
2766 | * frame.c: Ditto. | |
2767 | * frame.h: Ditto. | |
2768 | * gcore.c: Ditto. | |
2769 | * gdb-stabs.h: Ditto. | |
2770 | * gdb_assert.h: Ditto. | |
2771 | * gdb_dirent.h: Ditto. | |
2772 | * gdb_obstack.h: Ditto. | |
2773 | * gdbcore.h: Ditto. | |
2774 | * gdbtypes.c: Ditto. | |
2775 | * gdbtypes.h: Ditto. | |
2776 | * inf-ttrace.c: Ditto. | |
2777 | * infcall.c: Ditto. | |
2778 | * infcmd.c: Ditto. | |
2779 | * inflow.c: Ditto. | |
2780 | * infrun.c: Ditto. | |
2781 | * inline-frame.h: Ditto. | |
2782 | * language.c: Ditto. | |
2783 | * language.h: Ditto. | |
2784 | * libunwind-frame.c: Ditto. | |
2785 | * libunwind-frame.h: Ditto. | |
2786 | * linespec.c: Ditto. | |
2787 | * linux-nat.c: Ditto. | |
2788 | * linux-nat.h: Ditto. | |
2789 | * linux-thread-db.c: Ditto. | |
2790 | * machoread.c: Ditto. | |
2791 | * macroexp.c: Ditto. | |
2792 | * macrotab.c: Ditto. | |
2793 | * main.c: Ditto. | |
2794 | * maint.c: Ditto. | |
2795 | * mdebugread.c: Ditto. | |
2796 | * memattr.c: Ditto. | |
2797 | * minsyms.c: Ditto. | |
2798 | * monitor.c: Ditto. | |
2799 | * monitor.h: Ditto. | |
2800 | * objfiles.c: Ditto. | |
2801 | * objfiles.h: Ditto. | |
2802 | * osabi.c: Ditto. | |
2803 | * p-typeprint.c: Ditto. | |
2804 | * p-valprint.c: Ditto. | |
2805 | * parse.c: Ditto. | |
2806 | * printcmd.c: Ditto. | |
2807 | * proc-events.c: Ditto. | |
2808 | * procfs.c: Ditto. | |
2809 | * progspace.c: Ditto. | |
2810 | * progspace.h: Ditto. | |
2811 | * psympriv.h: Ditto. | |
2812 | * psymtab.c: Ditto. | |
2813 | * record.c: Ditto. | |
2814 | * regcache.c: Ditto. | |
2815 | * regcache.h: Ditto. | |
2816 | * remote-fileio.c: Ditto. | |
2817 | * remote.c: Ditto. | |
2818 | * ser-mingw.c: Ditto. | |
2819 | * ser-tcp.c: Ditto. | |
2820 | * ser-unix.c: Ditto. | |
2821 | * serial.c: Ditto. | |
2822 | * serial.h: Ditto. | |
2823 | * solib-frv.c: Ditto. | |
2824 | * solib-irix.c: Ditto. | |
2825 | * solib-osf.c: Ditto. | |
2826 | * solib-pa64.c: Ditto. | |
2827 | * solib-som.c: Ditto. | |
2828 | * solib-sunos.c: Ditto. | |
2829 | * solib-svr4.c: Ditto. | |
2830 | * solib-target.c: Ditto. | |
2831 | * solib.c: Ditto. | |
2832 | * somread.c: Ditto. | |
2833 | * source.c: Ditto. | |
2834 | * stabsread.c: Ditto. | |
2835 | * stabsread.c: Ditto. | |
2836 | * stack.c: Ditto. | |
2837 | * stack.h: Ditto. | |
2838 | * symfile-mem.c: Ditto. | |
2839 | * symfile.c: Ditto. | |
2840 | * symfile.h: Ditto. | |
2841 | * symmisc.c: Ditto. | |
2842 | * symtab.c: Ditto. | |
2843 | * symtab.h: Ditto. | |
2844 | * target-descriptions.c: Ditto. | |
2845 | * target-memory.c: Ditto. | |
2846 | * target.c: Ditto. | |
2847 | * target.h: Ditto. | |
2848 | * terminal.h: Ditto. | |
2849 | * thread.c: Ditto. | |
2850 | * top.c: Ditto. | |
2851 | * tracepoint.c: Ditto. | |
2852 | * tracepoint.h: Ditto. | |
2853 | * ui-file.c: Ditto. | |
2854 | * ui-file.h: Ditto. | |
2855 | * ui-out.h: Ditto. | |
2856 | * user-regs.c: Ditto. | |
2857 | * user-regs.h: Ditto. | |
2858 | * utils.c: Ditto. | |
2859 | * valarith.c: Ditto. | |
2860 | * valops.c: Ditto. | |
2861 | * valprint.c: Ditto. | |
2862 | * valprint.h: Ditto. | |
2863 | * value.c: Ditto. | |
2864 | * varobj.c: Ditto. | |
2865 | * varobj.h: Ditto. | |
2866 | * vec.h: Ditto. | |
2867 | * xcoffread.c: Ditto. | |
2868 | * xcoffsolib.c: Ditto. | |
2869 | * xcoffsolib.h: Ditto. | |
2870 | * xml-syscall.c: Ditto. | |
2871 | * xml-tdesc.c: Ditto. | |
2872 | ||
9a2b4c1b MS |
2873 | 2011-01-05 Michael Snyder <msnyder@vmware.com> |
2874 | ||
2875 | * cli/cli-cmds.c: Shorten lines of >= 80 columns. | |
2876 | * cli/cli-decode.c: Ditto. | |
2877 | * cli/cli-dump.c: Ditto. | |
2878 | * cli/cli-logging.c: Ditto. | |
2879 | * cli/cli-script.c: Ditto. | |
2880 | * cli/cli-setshow.c: Ditto. | |
2881 | * common/signals.c: Ditto. | |
2882 | * mi/mi-cmd-break.c: Ditto. | |
2883 | * mi/mi-cmd-disas.c: Ditto. | |
2884 | * mi/mi-cmd-stack.c: Ditto. | |
2885 | * mi/mi-cmd-var.c: Ditto. | |
2886 | * mi/mi-cmds.c: Ditto. | |
2887 | * mi/mi-common.h: Ditto. | |
2888 | * mi/mi-console.c: Ditto. | |
2889 | * mi/mi-interp.c: Ditto. | |
2890 | * mi/mi-main.c: Ditto. | |
2891 | * osf-share/cma_attr.c: Ditto. | |
2892 | * osf-share/cma_deb_core.h: Ditto. | |
2893 | * osf-share/cma_debug_client.h: Ditto. | |
2894 | * osf-share/cma_handle.h: Ditto. | |
2895 | * osf-share/cma_mutex.h: Ditto. | |
2896 | * osf-share/cma_stack_int.h: Ditto. | |
2897 | * osf-share/cma_tcb_defs.h: Ditto. | |
2898 | * python/py-auto-load.c: Ditto. | |
2899 | * python/py-breakpoint.c: Ditto. | |
2900 | * python/py-cmd.c: Ditto. | |
2901 | * python/py-frame.c: Ditto. | |
2902 | * python/py-objfile.c: Ditto. | |
2903 | * python/py-param.c: Ditto. | |
2904 | * python/py-progspace.c: Ditto. | |
2905 | * python/py-symbol.c: Ditto. | |
2906 | * python/py-value.c: Ditto. | |
2907 | * python/python-internal.h: Ditto. | |
2908 | * python/python.c: Ditto. | |
2909 | * tui/tui-data.c: Ditto. | |
2910 | * tui/tui-disasm.c: Ditto. | |
2911 | * tui/tui-hooks.c: Ditto. | |
2912 | * tui/tui-io.c: Ditto. | |
2913 | * tui/tui-layout.c: Ditto. | |
2914 | * tui/tui-regs.c: Ditto. | |
2915 | * tui/tui-source.c: Ditto. | |
2916 | * tui/tui-stack.c: Ditto. | |
2917 | * tui/tui-win.c: Ditto. | |
2918 | * tui/tui-windata.c: Ditto. | |
2919 | * tui/tui-winsource.c: Ditto. | |
2920 | ||
44944448 JB |
2921 | 2011-01-05 Joel Brobecker <brobecker@adacore.com> |
2922 | ||
2923 | * configure.ac, gdb.1: Copyright year update. | |
2924 | ||
ebedcab5 JK |
2925 | 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
2926 | ||
2927 | * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables | |
2928 | this_pc_in_block, morestack_msym and morestack_name. Check for | |
2929 | "__morestack" minimal symbol there. | |
2930 | ||
e5cc9f32 JB |
2931 | 2011-01-03 Joel Brobecker <brobecker@adacore.com> |
2932 | ||
2933 | * symfile.c (find_sym_fns): Add call to dont_repeat. | |
2934 | ||
7b6bb8da JB |
2935 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
2936 | ||
2937 | Copyright year update in most files (performed by copyright.sh). | |
2938 | ||
71ce852c JB |
2939 | 2011-01-01 Joel Brobecker <brobecker@adacore.com> |
2940 | ||
2941 | * top.c (print_gdb_version): Update copyright year in version output. | |
0e2de366 | 2942 | |
c3c1ebe8 | 2943 | For older changes see ChangeLog-2010. |
c906108c SS |
2944 | \f |
2945 | Local Variables: | |
2946 | mode: change-log | |
2947 | left-margin: 8 | |
2948 | fill-column: 74 | |
2949 | version-control: never | |
57da7796 | 2950 | coding: utf-8 |
c906108c | 2951 | End: |