gdb/
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2011-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
4 (save_gdb_index_command): Switch to .gdb_index version 4.
5
6 2011-01-25 Pedro Alves <pedro@codesourcery.com>
7
8 * mi/mi-main.c (get_register): Use get_frame_register_value rather
9 than frame_register, and always pass a valid value to val_print.
10
11 2011-01-25 Pedro Alves <pedro@codesourcery.com>
12
13 Centralize printing "<optimized out>".
14
15 * valprint.h (val_print_optimized_out): Declare.
16 * cp-valprint.c (cp_print_value_fields): Use
17 val_print_optimized_out.
18 * jv-valprint.c (java_print_value_fields): Ditto.
19 * p-valprint.c (pascal_object_print_value_fields): Ditto.
20 * printcmd.c (print_formatted): Ditto.
21 * valprint.c (valprint_check_validity): Ditto.
22 (value_check_printable): Ditto.
23 (val_print_optimized_out): New.
24
25 2011-01-25 Pedro Alves <pedro@codesourcery.com>
26
27 * infcmd.c (default_print_registers_info): Allocate values so to
28 never pass a NULL value to val_print.
29
30 2011-01-25 Pedro Alves <pedro@codesourcery.com>
31
32 * cp-valprint.c (cp_print_value): Treat the 'skip' local as
33 boolean. Make sure to always pass a value that matches the
34 contents buffer to callees. Preserve `address' for following
35 iterations.
36 * value.c (value_contents_for_printing_const): New.
37 (value_address): Constify value argument.
38 * value.h (value_contents_for_printing_const): Declare.
39 (value_address): Constify value argument.
40
41 2011-01-25 Pedro Alves <pedro@codesourcery.com>
42
43 * regcache.c (struct regcache_descr): Rename
44 sizeof_raw_register_valid_p field to sizeof_raw_register_status,
45 and sizeof_cooked_register_valid_p to
46 sizeof_cooked_register_status.
47 (init_regcache_descr): Adjust.
48 (struct regcache): Rename register_valid_p field to
49 register_status.
50 (regcache_xmalloc_1, regcache_xfree, regcache_save)
51 (do_cooked_read): Adjust.
52 (regcache_valid_p): Rename to ...
53 (regcache_register_status): ... this. Adjust.
54 (regcache_invalidate): Adjust.
55 (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
56 Adjust.
57 (regcache_raw_supply): Adjust. If buf i NULL, mark the register
58 as unavailable, not valid.
59 (regcache_dump): Adjust.
60 * regcache.h (enum register_status): New.
61 (regcache_register_status): Declare.
62 (regcache_invalidate): Delete declaration.
63 * corelow.c (get_core_registers): Adjust.
64 * tracepoint.c (tfile_fetch_registers): Adjust.
65 * trad-frame.c (REG_VALUE): Rename to ...
66 (TF_REG_VALUE): ... this.
67 (REG_UNKNOWN): Rename to ...
68 (TF_REG_UNKNOWN): ... this.
69 (trad_frame_set_value, trad_frame_set_unknown): Adjust.
70 * mi/mi-main.c (register_changed_p): Adjust.
71
72 2011-01-25 Pedro Alves <pedro@codesourcery.com>
73
74 * regcache.c (struct regcache_descr): Remove outdated comment.
75 (init_regcache_descr): Remove sizeof_raw_register_valid_p
76 overallocate hack.
77 (regcache_xmalloc): Rename to ...
78 (regcache_xmalloc_1): ... this. Add `readonly_p' parameter.
79 Allocate the regcache type accordingly.
80 (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
81 (regcache_xfree): Asser the source is also readonly. Copy sizeof
82 cooked registers, not raw.
83 (regcache_dup_no_passthrough): Delete.
84 (get_thread_arch_regcache): Use regcache_xmalloc_1.
85 * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
86 mention obsolete write_register_bytes.
87 * regcache.h (regcache_dup_no_passthrough): Delete declaration.
88
89 2011-01-25 Pedro Alves <pedro@codesourcery.com>
90
91 Stop remote_read_bytes from handling partial reads itself.
92
93 * remote-fileio.c: Include target.h.
94 (remote_fileio_write_bytes): Delete.
95 (remote_fileio_func_open, remote_fileio_func_write)
96 (remote_fileio_func_rename, remote_fileio_func_unlink): Use
97 target_read_memory.
98 (remote_fileio_func_stat): Use target_read_memory and
99 target_write_memory.
100 (remote_fileio_func_gettimeofday): Use target_write_memory.
101 (remote_fileio_func_system): Use target_read_memory.
102 * remote.c (remote_write_bytes): Make it static.
103 (remote_read_bytes): Don't handle partial reads here.
104 * remote.h (remote_read_bytes): Delete declaration.
105
106 2011-01-25 Pedro Alves <pedro@codesourcery.com>
107
108 Simplify XML parsing a bit.
109
110 * xml-support.h (gdb_xml_parse_quick): Declare.
111 * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
112 from gdb_xml_create_parser_and_cleanup, and added `old_chain'
113 parameter.
114 (gdb_xml_create_parser_and_cleanup): Reimplement on top of
115 gdb_xml_create_parser_and_cleanup_1.
116 (gdb_xml_parse_quick): New.
117 * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
118 * osdata.c (osdata_parse): Ditto.
119 * remote.c (remote_threads_info): Ditto.
120 * solib-target.c (solib_target_parse_libraries): Ditto.
121 * xml-syscall.c (syscall_parse_xml): Ditto.
122 * xml-tdesc.c (tdesc_parse_xml): Ditto.
123
124 2011-01-24 Kevin Buettner <kevinb@redhat.com>
125
126 * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
127 with remote-mips.o added to gdb_target_obs.
128 * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
129
130 2011-01-24 Pedro Alves <pedro@codesourcery.com>
131
132 * ada-valprint.c (val_print_packed_array_elements): Pass the
133 correct struct value to val_print.
134 (ada_val_print_1): Ditto.
135
136 2011-01-24 Pedro Alves <pedro@codesourcery.com>
137
138 Don't lose embedded_offset in printing routines throughout.
139
140 * valprint.h (val_print_array_elements): Change prototype.
141 * valprint.c (val_print_array_elements): Add `embedded_offset'
142 parameter, and adjust to pass it down to val_print, while passing
143 `valaddr' or `address' unmodified. Take embedded_offset into
144 account when checking repetitions.
145 * c-valprint.c (c_val_print): Pass embedded_offset to
146 val_print_array_elements instead of adjusting `valaddr' and
147 `address'.
148 * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
149 embedded_offset to val_print_array_elements instead of adjusting
150 `valaddr'.
151 * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
152 * p-valprint.c (pascal_val_print): Pass embedded_offset to
153 val_print_array_elements and pascal_object_print_value_fields
154 instead of adjusting `valaddr'.
155 (pascal_object_print_value_fields): Add `offset' parameter, and
156 adjust to use it.
157 (pascal_object_print_value): Add `offset' parameter, and adjust to
158 use it.
159 (pascal_object_print_static_field): Use
160 value_contents_for_printing/value_embedded_offset, rather than
161 value_contents.
162 * ada-valprint.c (val_print_packed_array_elements): Add `offset'
163 parameter, and adjust to use it. Use
164 value_contents_for_printing/value_embedded_offset, rather than
165 value_contents.
166 (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
167 (ada_val_print_array): Add `offset' parameter, and adjust to use
168 it.
169 (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
170 `embedded_offset' to `offset'. Don't re-adjust `valaddr'.
171 Instead work with offsets. Use
172 value_contents_for_printing/value_embedded_offset, rather than
173 value_contents. Change `defer_val_int' local type to CORE_ADDR,
174 and use value_from_pointer to extract a target pointer, rather
175 than value_from_longest.
176 (print_variant_part): Add `offset' parameter. Replace
177 `outer_valaddr' parameter by a new `outer_offset' parameter.
178 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
179 (ada_value_print): Use
180 value_contents_for_printing/value_embedded_offset, rather than
181 value_contents.
182 (print_record): Add `offset' parameter, and adjust to pass it
183 down.
184 (print_field_values): Add `offset' parameter. Replace
185 `outer_valaddr' parameter by a new `outer_offset' parameter.
186 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
187 Use value_contents_for_printing/value_embedded_offset, rather than
188 value_contents.
189 * d-valprint.c (dynamic_array_type): Use
190 value_contents_for_printing/value_embedded_offset, rather than
191 value_contents.
192 * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
193 Don't re-adjust `valaddr'. Instead pass down adjusted offsets.
194 (java_print_value_fields): Take `offset' into account. Don't
195 re-adjust `valaddr'. Instead pass down adjusted offsets.
196 (java_val_print): Take `embedded_offset' into account. Pass it to
197 java_print_value_fields.
198 * f-valprint.c (f77_print_array_1): Add `embedded_offset'
199 parameter. Don't re-adjust `valaddr' or `address'. Instead pass
200 down adjusted offsets.
201 (f77_print_array): Add `embedded_offset' parameter. Pass it down.
202 (f_val_print): Take `embedded_offset' into account.
203
204 2011-01-21 Joel Brobecker <brobecker@adacore.com>
205
206 * inflow.c: Include "gdbcmd.h".
207 (interactive_mode): New static global, moved here from top.c.
208 (show_interactive_mode): New function, moved here from top.c.
209 use gdb_has_a_terminal instead of input_from_terminal_p to
210 determine the current mode.
211 (gdb_has_a_terminal): Add handling of the "iteractive-mode"
212 setting.
213 (_initialize_inflow): Add the "set/show interactive-mode"
214 commands. Moved here from top.c, after having adjusted slightly
215 the help text.
216 * top.c (interactive_mode, show_interactive_mode): Delete, moved
217 to inflow.c.
218 (input_from_terminal_p): Remove handling of "interactive-mode"
219 setting, moved to infow.c.
220 (init_main): Remove creation of the "set/show interactive-mode"
221 commands, moved to inflow.c.
222
223 2011-01-19 Joel Brobecker <brobecker@adacore.com>
224
225 * NEWS: Add entry for native ia64-hpux support.
226
227 2011-01-19 Tom Tromey <tromey@redhat.com>
228
229 PR mi/8618:
230 * thread.c (free_thread): Free 'name'.
231 (print_thread_info): Emit thread name. Change CLI output.
232 (thread_name_command): New function.
233 (do_captured_thread_select): Emit newline.
234 (_initialize_thread): Register 'thread name' command.
235 * target.h (struct target_ops) <to_thread_name>: New field.
236 (target_thread_name): New macro.
237 * target.c (update_current_target): Handle to_thread_name.
238 * python/py-infthread.c (thpy_get_name): New function.
239 (thpy_set_name): Likewise.
240 (thread_object_getset): Add "name".
241 * linux-nat.c (linux_nat_thread_name): New function.
242 (linux_nat_add_target): Set to_thread_name.
243 * gdbthread.h (struct thread_info) <name>: New field.
244
245 2011-01-18 Joel Brobecker <brobecker@adacore.com>
246
247 * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
248 (ada_val_print_1): Likewise.
249
250 2011-01-18 Joel Brobecker <brobecker@adacore.com>
251
252 * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
253 upper limit address is not greater than the function end address
254 when the upper limit could not be computed using the debugging
255 info.
256
257 2011-01-17 Tom Tromey <tromey@redhat.com>
258
259 * cli/cli-cmds.c (apropos_command): Free the compiled regex. Use
260 get_regcomp_error.
261 * utils.c: Include gdb_regex.h.
262 (do_regfree_cleanup): New function.
263 (make_regfree_cleanup): Likewise.
264 (get_regcomp_error): Likewise.
265 * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
266
267 2011-01-17 Tom Tromey <tromey@redhat.com>
268
269 * cli/cli-cmds.c (apropos_command): Fix formatting. Don't call
270 re_compile_fastmap.
271
272 2011-01-17 Pierre Muller <muller@ics.u-strasbg.fr>
273
274 * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
275 for internal variables.
276 (last_was_structop): New static variable.
277 (COMPLETE): New token.
278 (field_exp): New rule to group all '.' suffix handling.
279 Add mark_struct_expression calls when approriate to be able
280 to correctly find fields for completion.
281 (yylex): Adapt to handle field completion and set INTVAR when
282 required.
283
284 2011-01-14 Yao Qi <yao@codesourcery.com>
285
286 * arm-tdep.c (arm_register_reggroup_p): FPS register is in
287 save_reggroup, restore_reggroup and all_reggroup.
288
289 2011-01-14 Joel Brobecker <brobecker@adacore.com>
290
291 * ada-valprint. (ada_printchar): Use the correct type length
292 in call to ada_emit_char.
293 * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
294
295 2011-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
296
297 * solib-som.h (hpux_major_release): Declare variable here.
298 * solib-som.c: Remove <sys/utsname.h> header.
299 (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
300 (hpux_major_release): Make global, change default value to
301 DEFAULT_HPUX_MAJOR_RELEASE.
302 (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE.
303 * hppa-hpux-nat.c: Add <sys/utsname.h> include.
304 Add "solib-som.h" header.
305 (set_hpux_major_release): New function.
306 (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
307
308 2011-01-14 Mike Frysinger <vapier@gentoo.org>
309
310 * configure.tgt (*-*-uclinux*): Match more Linux os targets
311
312 2011-01-14 Joel Brobecker <brobecker@adacore.com>
313
314 * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
315 new-line at end of warning message.
316 (ia64_hpux_store_register): Remove trailing new-line at end of
317 error message.
318 * ia64-hpux-tdep.c: Rephrase comment.
319 * solib-ia64-hpux.c (struct dld_info): Change type of field
320 dld_flags from "long long" to ULONGEST.
321
322 2011-01-14 Pedro Alves <pedro@codesourcery.com>
323
324 * target.h (deprecated_child_ops): Delete declaration.
325 * target.c (deprecated_child_ops): Delete definition.
326
327 2011-01-14 Pedro Alves <pedro@codesourcery.com>
328
329 * Makefile.in (hpux-thread.o): Delete rule.
330 * configure.ac: Don't check for HPUX DCE threads support.
331 * configure, config.in: Regenerate.
332 * hppa-hpux-nat.c (child_suppress_run): Delete.
333 (hppa_hpux_child_can_run): Delete.
334 (_initialize_hppa_hpux_nat): Don't override to_can_run.
335 * hpux-thread.c: Delete.
336
337 2011-01-13 Joel Brobecker <brobecker@adacore.com>
338
339 * hpux-thread.c (hpux_pid_to_str): Delete.
340
341 2011-01-13 Joel Brobecker <brobecker@adacore.com>
342
343 * ada-valprint.c (ada_emit_char): Remove strange code.
344 Check that c is <= UCHAR_MAX before passing it to isascii.
345 (char_at): Do not assume that TYPE_LEN is either 1 or 2.
346
347 2011-01-13 Joel Brobecker <brobecker@adacore.com>
348
349 * top.c (input_from_terminal_p): Restrict the use of interactive_mode
350 to the case where instream is stdin.
351
352 2011-01-13 Joel Brobecker <brobecker@adacore.com>
353
354 * ia64-tdep.h (struct regcache): Forward declare.
355 (struct ia64_infcall_ops): New struct type.
356 (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
357 and "infcall_ops".
358 * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
359 Renames ia64_find_global_pointer.
360 (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
361 (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
362 (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
363 methods.
364 (ia64_infcall_ops): New static global constant.
365 (ia64_gdbarch_init): Set tdep->infcall_ops.
366 * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
367 (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
368 * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
369 (ia64_hpux_dummy_code): New static global constant.
370 (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
371 (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
372 (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
373 New function.
374 (ia64_hpux_infcall_ops): New static global constant.
375 (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
376 for inferior function calls to work properly on ia64-hpux.
377
378 2011-01-13 Joel Brobecker <brobecker@adacore.com>
379
380 * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
381 * ia64-tdep.h (struct frame_info): forward declaration.
382 (struct gdbarch_tdep): Add field size_of_register_frame.
383 * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
384 to determine the size of the register frame.
385 (ia64_size_of_register_frame): New function.
386 (ia64_gdbarch_init): Set tdep->size_of_register_frame.
387 * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
388 (IA64_HPUX_UREG_REASON): New macro.
389 (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
390 New functions.
391 (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
392 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
393 (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
394 objects.
395
396 2011-01-13 Joel Brobecker <brobecker@adacore.com>
397
398 Add support for ia64-hpux.
399 * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
400 ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
401
402 * configure.host: Add handling for ia64-hpux hosts. Add associated
403 floatformats.
404 * configure.tgt: Add handling for ia64-hpux targets.
405 * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
406 (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
407 (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
408
409 2011-01-13 Joel Brobecker <brobecker@adacore.com>
410
411 [ttrace] Compute thread list immediately after attach.
412 * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
413 New subprogram.
414 (inf_ttrace_attach): Use it.
415
416 2011-01-13 Joel Brobecker <brobecker@adacore.com>
417
418 * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
419 if we could not determine the frame's function address. Instead,
420 use the frame's PC, and then continue.
421
422 2011-01-13 Joel Brobecker <brobecker@adacore.com>
423
424 * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
425 not already defined.
426
427 2011-01-13 Joel Brobecker <brobecker@adacore.com>
428
429 * ia64-tdep.c (ia64_struct_type_p): New function.
430 (ia64_extract_return_value): Handle integral values that are
431 less than 8 bytes long.
432 (ia64_push_dummy_call): Likewise.
433
434 2011-01-13 Joel Brobecker <brobecker@adacore.com>
435
436 * ia64-tdep.c (floatformat_ia64_ext_little): Renames
437 floatformat_ia64_ext.
438 (floatformat_ia64_ext_big): New static const.
439 (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
440
441 2011-01-12 Tom Tromey <tromey@redhat.com>
442
443 * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
444 messages.
445 * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
446 (mi_cmd_thread_list_ids): Likewise.
447 (mi_cmd_data_list_changed_registers): Likewise.
448 (mi_cmd_data_list_register_values): Likewise.
449 (mi_cmd_data_write_register_values): Likewise.
450 (mi_cmd_data_evaluate_expression): Likewise.
451 (mi_cmd_data_read_memory): Likewise.
452 (mi_cmd_data_read_memory_bytes): Likewise.
453 (mi_cmd_data_write_memory): Likewise.
454 (mi_cmd_enable_timings): Likewise.
455 * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
456 * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
457 (mi_cmd_var_delete): Likewise.
458 (mi_cmd_var_set_format): Likewise.
459 (mi_cmd_var_show_format): Likewise.
460 (mi_cmd_var_info_num_children): Likewise.
461 (mi_cmd_var_list_children): Likewise.
462 (mi_cmd_var_info_type): Likewise.
463 (mi_cmd_var_info_expression): Likewise.
464 (mi_cmd_var_show_attributes): Likewise.
465 (mi_cmd_var_assign): Likewise.
466 (mi_cmd_var_update): Likewise.
467 (mi_cmd_enable_pretty_printing): Likewise.
468 (mi_cmd_var_set_update_range): Likewise.
469 * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
470 messages.
471 (mi_cmd_target_file_put): Likewise.
472 (mi_cmd_target_file_delete): Likewise.
473 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
474 messages.
475 (mi_cmd_stack_info_depth): Likewise.
476 (mi_cmd_stack_list_locals): Likewise.
477 (mi_cmd_stack_list_args): Likewise.
478 (mi_cmd_stack_select_frame): Likewise.
479 (mi_cmd_stack_select_frame): Likewise.
480 (mi_cmd_stack_info_frame): Likewise.
481 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
482 messages.
483 (mi_cmd_file_list_exec_source_files): Likewise.
484 * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
485 (mi_cmd_env_cd): Likewise.
486 (mi_cmd_env_path): Likewise.
487 (mi_cmd_env_dir): Likewise.
488 (mi_cmd_inferior_tty_show): Likewise.
489 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
490 * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
491 (mi_cmd_break_watch): Likewise.
492
493 2011-01-12 Thiago Jung Bauermann <bauerman@br.ibm.com>
494
495 * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
496 (ppc_linux_insert_hw_breakpoint): Likewise.
497 (ppc_linux_remove_hw_breakpoint): Likewise.
498 (ppc_linux_insert_watchpoint): Likewise.
499
500 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
501 Jan Kratochvil <jan.kratochvil@redhat.com>
502
503 PR fortran/11104 and DWARF unbound arrays detection.
504 * dwarf2read.c (read_subrange_type): Set zero length on unspecified
505 upper bound. Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
506 unspecified upper bound.
507 * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
508 variables array_size_array, tmp_type and offset_item. New variable
509 array. Remove call to f77_get_upperbound. New variables array_type
510 and index. Call value_subscripted_rvalue for each dimenasion. Remove
511 the final call to deprecated_set_value_type.
512
513 2011-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
514
515 Make value allocations more lazy.
516 * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
517 instead of allocate_value and set_value_lazy when possible.
518 * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy
519 instead of allocate_value and set_value_lazy.
520 * findvar.c (value_of_register_lazy): Likewise.
521 (read_var_value): Remove V preallocation, call just check_typedef in
522 advance. Move allocate_value to LOC_CONST, LOC_LABEL,
523 LOC_CONST_BYTES. Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
524 LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK. Set ADDR instead of
525 set_value_address and break in LOC_BLOCK. Use allocate_value_lazy and
526 remove lval_memory set in LOC_REGPARM_ADDR. Use allocate_value_lazy
527 in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT. Add setting lval_memory at
528 the end, remove set_value_lazy there.
529 * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
530 instead of allocate_value and set_value_lazy when possible.
531 * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
532 * value.c (allocate_computed_value): Use allocate_value_lazy instead
533 of allocate_value and set_value_lazy.
534 (value_from_contents_and_address): Use allocate_value_lazy instead of
535 allocate_value and set_value_lazy when possible.
536
537 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
538
539 * disasm.c (dump_insns): Support dumping opcodes for MI.
540 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
541 dumping of instruction opcodes.
542
543 2011-01-09 Robert Millan <rmh@gnu.org> (tiny patch)
544
545 * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
546 appropiately.
547
548 2011-01-11 Tom Tromey <tromey@redhat.com>
549
550 * thread.c (do_captured_thread_select): Emit newline before
551 printing frame.
552
553 2011-01-11 Michael Snyder <msnyder@vmware.com>
554
555 * s390-tdep.c: Comment cleanup, mostly periods and spaces.
556 * score-tdep.c: Ditto.
557 * score-tdep.h: Ditto.
558 * ser-base.c: Ditto.
559 * ser-go32.c: Ditto.
560 * serial.c: Ditto.
561 * serial.h: Ditto.
562 * ser-mingw.c: Ditto.
563 * ser-pipe.c: Ditto.
564 * ser-tcp.c: Ditto.
565 * ser-unix.c: Ditto.
566 * sh64-tdep.c: Ditto.
567 * shnbsd-nat.c: Ditto.
568 * sh-tdep.c: Ditto.
569 * sh-tdep.h: Ditto.
570 * solib.c: Ditto.
571 * solib-darwin.c: Ditto.
572 * solib-frv.c: Ditto.
573 * solib.h: Ditto.
574 * solib-irix.c: Ditto.
575 * solib-osf.c: Ditto.
576 * solib-pa64.c: Ditto.
577 * solib-som.c: Ditto.
578 * solib-spu.c: Ditto.
579 * solib-sunos.c: Ditto.
580 * solib-svr4.c: Ditto.
581 * solist.h: Ditto.
582 * sol-thread.c: Ditto.
583 * somread.c: Ditto.
584 * source.c: Ditto.
585 * source.h: Ditto.
586 * sparc64-linux-tdep.c: Ditto.
587 * sparc64-tdep.c: Ditto.
588 * sparc-linux-nat.c: Ditto.
589 * sparc-linux-tdep.c: Ditto.
590 * sparc-sol2-nat.c: Ditto.
591 * sparc-sol2-tdep.c: Ditto.
592 * sparc-tdep.c: Ditto.
593 * sparc-tdep.h: Ditto.
594 * spu-tdep.c: Ditto.
595 * stabsread.c: Ditto.
596 * stabsread.h: Ditto.
597 * stack.c: Ditto.
598 * symfile.c: Ditto.
599 * symfile.h: Ditto.
600 * symmisc.c: Ditto.
601 * symtab.c: Ditto.
602 * symtab.h: Ditto.
603 * target.c: Ditto.
604 * target-descriptions.c: Ditto.
605 * target-descriptions.h: Ditto.
606 * target.h: Ditto.
607 * target-memory.c: Ditto.
608 * terminal.h: Ditto.
609 * thread.c: Ditto.
610 * top.c: Ditto.
611 * tracepoint.c: Ditto.
612 * tracepoint.h: Ditto.
613 * trad-frame.h: Ditto.
614 * typeprint.c: Ditto.
615
616 2011-01-11 Michael Snyder <msnyder@vmware.com>
617
618 * ui-file.c: Comment cleanup, mostly periods and spaces.
619 * ui-file.h: Ditto.
620 * ui-out.c: Ditto.
621 * ui-out.h: Ditto.
622 * utils.c: Ditto.
623 * v850-tdep.c: Ditto.
624 * valarith.c: Ditto.
625 * valops.c: Ditto.
626 * valprint.c: Ditto.
627 * valprint.h: Ditto.
628 * value.c: Ditto.
629 * value.h: Ditto.
630 * varobj.c: Ditto.
631 * varobj.h: Ditto.
632 * vax-tdep.c: Ditto.
633 * vec.c: Ditto.
634 * vec.h: Ditto.
635 * version.h: Ditto.
636 * windows-nat.c: Ditto.
637 * windows-tdep.c: Ditto.
638 * xcoffread.c: Ditto.
639 * xcoffsolib.c: Ditto.
640 * xml-support.c: Ditto.
641 * xstormy16-tdep.c: Ditto.
642 * xtensa-tdep.c: Ditto.
643 * xtensa-tdep.h: Ditto.
644
645 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
646
647 * breakpoint.c (resources_needed_watchpoint): Fix indentation.
648 * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
649
650 2011-01-11 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
651 Thiago Jung Bauermann <bauerman@br.ibm.com>
652
653 Implement support for PowerPC BookE ranged watchpoints.
654 * breakpoint.h
655 (struct breakpoint_ops) <resources_needed>: New method.
656 Initialize to NULL in all existing breakpoint_ops instances.
657 (struct breakpoint) <exact>: New field.
658 (target_exact_watchpoints): Declare external global.
659 * breakpoint.c (target_exact_watchpoints): New global flag.
660 (update_watchpoint): Set b->type to bp_hardware_watchpoint and
661 b->enable_state to bp_enabled before calling
662 hw_watchpoint_used_count.
663 (hw_watchpoint_used_count): Iterate over all bp_locations in a
664 watchpoint. Call breakpoint's breakpoint_ops.resources_needed
665 if available.
666 (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
667 if the watchpoint is exact.
668 (resources_needed_watchpoint): New function.
669 (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
670 (watch_command_1): Set b->exact if the user asked for an exact
671 watchpoint and one can be set.
672 (can_use_hardware_watchpoint): Add exact_watchpoints argument.
673 Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
674 the user asks for an exact watchpoint and one can be set. Return
675 number of needed debug registers to watch the expression.
676 * gdbtypes.c (is_scalar_type): New function, based on
677 valprint.c:scalar_type_p.
678 (is_scalar_type_recursive): New function.
679 * gdbtypes.h (is_scalar_type_recursive): Declare.
680 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
681 handle regions when ranged watchpoints are available.
682 (create_watchpoint_request): New function.
683 (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
684 create_watchpoint_request.
685 * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
686 (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
687 `set powerpc' and `show powerpc' commands.
688 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
689 Mention documentation comment in the target macro.
690 (target_region_ok_for_hw_watchpoint): Document return value.
691
692 2011-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
693
694 * breakpoint.c (update_watchpoint): Decide on using a software or
695 hardware watchpoint after the bp_locations are created.
696
697 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
698
699 Convert hardware watchpoints to use breakpoint_ops.
700 * breakpoint.h (breakpoint_ops) <insert>: Rename to...
701 <insert_location>: ... this. Return int instead of void.
702 Accept pointer to struct bp_location instead of pointer to
703 struct breakpoint. Adapt all implementations.
704 (breakpoint_ops) <remove>: Rename to...
705 <remove_location>: ... this. Accept pointer to struct bp_location
706 instead of pointer to struct breakpoint. Adapt all implementations.
707 * breakpoint.c (insert_catchpoint): Delete function.
708 (insert_bp_location): Call the watchpoint or catchpoint's
709 breakpoint_ops.insert method.
710 (remove_breakpoint_1): Call the watchpoint or catchpoint's
711 breakpoint_ops.remove method.
712 (insert_watchpoint, remove_watchpoint): New functions.
713 (watchpoint_breakpoint_ops): New structure.
714 (watch_command_1): Initialize the OPS field.
715 * inf-child.c (inf_child_insert_fork_catchpoint)
716 (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
717 (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
718 (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
719 Delete functions.
720 (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
721 to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
722 to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
723 to_remove_exec_catchpoint and to_set_syscall_catchpoint.
724 * target.c (update_current_target): Change default implementation of
725 to_insert_fork_catchpoint, to_remove_fork_catchpoint,
726 to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
727 to_insert_exec_catchpoint, to_remove_exec_catchpoint and
728 to_set_syscall_catchpoint to return_one.
729 (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
730 (debug_to_insert_exec_catchpoint): Report return value.
731 * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
732 (to_insert_exec_catchpoint): Change declaration to return int instead
733 of void.
734
735 2011-01-11 Michael Snyder <msnyder@vmware.com>
736
737 * arm-tdep.c: Internationalization.
738 * c-lang.c: Ditto.
739 * charset.c: Ditto.
740 * fork-child.c: Ditto.
741 * nto-procfs.c: Ditto.
742 * ppc-sysv-tdep.c: Ditto.
743 * procfs.c: Ditto.
744 * remote-mips.c: Ditto.
745 * remote.c: Ditto.
746 * rs6000-nat.c: Ditto.
747 * rs6000-tdep.c: Ditto.
748 * target.c: Ditto.
749 * valops.c: Ditto.
750 * value.c: Ditto.
751 * xml-support.c: Ditto.
752 * mi/mi-cmd-break.c: Ditto.
753 * mi/mi-cmd-var.c: Ditto.
754 * mi/mi-interp.c: Ditto.
755 * mi/mi-main.c: Ditto.
756
757 2011-01-11 Andrew Burgess <aburgess@broadcom.com>
758
759 * remote-sim.c (gdbsim_store_register): Update API to
760 sim_store_register to check more error conditions.
761
762 2011-01-10 Michael Snyder <msnyder@vmware.com>
763
764 * nto-procfs.c: Comment cleanup, mostly periods and spaces.
765 * nto-tdep.c: Ditto.
766 * nto-tdep.h: Ditto.
767 * objc-exp.y: Ditto.
768 * objc-lang.c: Ditto.
769 * objfiles.c: Ditto.
770 * objfiles.h: Ditto.
771 * observer.c: Ditto.
772 * opencl-lang.c: Ditto.
773 * osabi.c: Ditto.
774 * parse.c: Ditto.
775 * parser-defs.h: Ditto.
776 * p-exp.y: Ditto.
777 * p-lang.c: Ditto.
778 * posix-hdep.c: Ditto.
779 * ppcbug-rom.c: Ditto.
780 * ppc-linux-nat.c: Ditto.
781 * ppc-linux-tdep.c: Ditto.
782 * ppc-linux-tdep.h: Ditto.
783 * ppcnbsd-tdep.c: Ditto.
784 * ppcobsd-tdep.c: Ditto.
785 * ppcobsd-tdep.h: Ditto.
786 * ppc-sysv-tdep.c: Ditto.
787 * ppc-tdep.h: Ditto.
788 * printcmd.c: Ditto.
789 * proc-abi.c: Ditto.
790 * proc-flags.c: Ditto.
791 * procfs.c: Ditto.
792 * proc-utils.h: Ditto.
793 * progspace.h: Ditto.
794 * prologue-value.c: Ditto.
795 * prologue-value.h: Ditto.
796 * psympriv.h: Ditto.
797 * psymtab.c: Ditto.
798 * p-typeprint.c: Ditto.
799 * p-valprint.c: Ditto.
800 * ravenscar-sparc-thread.c: Ditto.
801 * ravenscar-thread.c: Ditto.
802 * ravenscar-thread.h: Ditto.
803 * record.c: Ditto.
804 * regcache.c: Ditto.
805 * regcache.h: Ditto.
806 * remote.c: Ditto.
807 * remote-fileio.c: Ditto.
808 * remote-fileio.h: Ditto.
809 * remote.h: Ditto.
810 * remote-m32r-sdi.c: Ditto.
811 * remote-mips.c: Ditto.
812 * remote-sim.c: Ditto.
813 * rs6000-aix-tdep.c: Ditto.
814 * rs6000-nat.c: Ditto.
815 * rs6000-tdep.c: Ditto.
816
817 2011-01-10 Michael Snyder <msnyder@vmware.com>
818
819 * charset.c (validate): Internationalization.
820 * coffread.c (read_one_sym): Ditto.
821 * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
822 * h8300-tdep.c (H8300_extract_return_value): Ditto.
823 * inflow.c (new_tty): Ditto.
824 * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
825 * m32c-tdep.c (m32c_return_value): Ditto.
826 * mep-tdep.c (mep_store_return_value): Ditto.
827 * score-tdep.c (score7_fetch_insn): Ditto.
828 * ser-mingw.c (pipe_windows_open): Ditto.
829 * sh64-tdep.c (sh64_extract_return_value): Ditto.
830 * spu-tdep.c (spu_register_type): Ditto.
831 * tracepoint.c (trace_find_command): Ditto.
832 * valarith.c (value_pos): Ditto.
833
834 2011-01-10 Joel Brobecker <brobecker@adacore.com>
835
836 * ada-valprint.c (printstr): Minor comment reformatting.
837
838 2011-01-08 Michael Snyder <msnyder@vmware.com>
839
840 * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
841 markup.
842
843 2011-01-08 Michael Snyder <msnyder@vmware.com>
844
845 * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
846 * hppa-hpux-tdep.c: Ditto.
847 * hppa-linux-nat.c: Ditto.
848 * hppa-linux-tdep.c: Ditto.
849 * hppanbsd-tdep.c: Ditto.
850 * hppa-tdep.c: Ditto.
851 * hppa-tdep.h: Ditto.
852 * hpux-thread.c: Ditto.
853 * i386-cygwin-tdep.c: Ditto.
854 * i386-darwin-nat.c: Ditto.
855 * i386gnu-nat.c: Ditto.
856 * i386-linux-nat.c: Ditto.
857 * i386-linux-tdep.c: Ditto.
858 * i386-nat.c: Ditto.
859 * i386-nat.h: Ditto.
860 * i386nbsd-tdep.c: Ditto.
861 * i386-sol2-nat.c: Ditto.
862 * i386-stub.c: Ditto.
863 * i386-tdep.c: Ditto.
864 * i386-tdep.h: Ditto.
865 * i387-tdep.c: Ditto.
866 * ia64-linux-nat.c: Ditto.
867 * ia64-linux-tdep.c: Ditto.
868 * ia64-tdep.c: Ditto.
869 * infcall.c: Ditto.
870 * infcall.h: Ditto.
871 * infcmd.c: Ditto.
872 * inferior.c: Ditto.
873 * inferior.h: Ditto.
874 * infloop.c: Ditto.
875 * inflow.c: Ditto.
876 * infrun.c: Ditto.
877 * interps.c: Ditto.
878 * interps.h: Ditto.
879 * iq2000-tdep.c: Ditto.
880 * irix5-nat.c: Ditto.
881 * jit.c: Ditto.
882 * jit.h: Ditto.
883 * jv-exp.y: Ditto.
884 * jv-lang.c: Ditto.
885 * jv-lang.h: Ditto.
886 * jv-typeprint.c: Ditto.
887 * jv-valprint.c: Ditto.
888 * language.c: Ditto.
889 * language.h: Ditto.
890 * linespec.c: Ditto.
891 * linux-fork.c: Ditto.
892 * linux-nat.c: Ditto.
893 * linux-thread-db.c: Ditto.
894 * lm32-tdep.c: Ditto.
895
896 2011-01-08 Michael Snyder <msnyder@vmware.com>
897
898 * m2-exp.y: Comment cleanup, mostly periods and spaces.
899 * m2-lang.c: Ditto.
900 * m2-typeprint.c: Ditto.
901 * m2-valprint.c: Ditto.
902 * m32c-tdep.c: Ditto.
903 * m32r-linux-nat.c: Ditto.
904 * m32r-rom.c: Ditto.
905 * m32r-tdep.c: Ditto.
906 * m32r-tdep.h: Ditto.
907 * m68hc11-tdep.c: Ditto.
908 * m58klinux-nat.c: Ditto.
909 * m68k-tdep.c: Ditto.
910 * m88k-tdep.c: Ditto.
911 * m88k-tdep.h: Ditto.
912 * machoread.c: Ditto.
913 * macrocmd.c: Ditto.
914 * macroexp.c: Ditto.
915 * macrotab.c: Ditto.
916 * main.c: Ditto.
917 * maint.c: Ditto.
918 * mdebugread.c: Ditto.
919 * mdebugread.h: Ditto.
920 * memattr.c: Ditto.
921 * memattr.h: Ditto.
922 * memory-map.h: Ditto.
923 * mep-tdep.c: Ditto.
924 * microblaze-rom.c: Ditto.
925 * microblaze-tdep.c: Ditto.
926 * minsyms.c: Ditto.
927 * mips-irix-tdep.c: Ditto.
928 * mips-linux-nat.c: Ditto.
929 * mips-linux-tdep.c: Ditto.
930 * mips-linux-tdep.h: Ditto.
931 * mipsnbsd-nat.c: Ditto.
932 * mipsnbsd-tdep.c: Ditto.
933 * mipsread.c: Ditto.
934 * mips-tdep.c: Ditto.
935 * mips-tdep.h: Ditto.
936 * mn10300-linux-tdep.c: Ditto.
937 * mn10300-tdep.c: Ditto.
938 * mn10300-tdep.h: Ditto.
939 * monitor.c: Ditto.
940 * monitor.h: Ditto.
941 * moxie-tdep.c: Ditto.
942 * moxie-tdep.h: Ditto.
943 * mt-tdep.c: Ditto.
944
945 2011-01-08 Mike Frysinger <vapier@gentoo.org>
946
947 * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
948
949 2011-01-08 Robert Millan <rmh@gnu.org>
950
951 * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
952
953 2011-01-07 Michael Snyder <msnyder@vmware.com>
954
955 * charset.c (_initialize_charset): Fix typo in string.
956
957 2011-01-07 Michael Snyder <msnyder@vmware.com>
958
959 * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
960 for i18n.
961 * tui/tui-layout.c (tui_set_layout_for_display_command):
962 Split line so that operator goes to beginning of line.
963 * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
964 assignment out of if statement.
965
966 2011-01-07 Michael Snyder <msnyder@vmware.com>
967
968 * ada-lang.c: Comment cleanup, mostly periods and spaces.
969 * ada-lang.h: Ditto.
970 * ada-tasks.c: Ditto.
971 * ada-valprint.c: Ditto.
972 * aix-threads.c: Ditto.
973 * alpha-linux-nat.c: Ditto.
974 * alpha-linux-tdep.c: Ditto.
975 * alpha-mdebug-tdep.c: Ditto.
976 * alpha-nat.c: Ditto.
977 * alpha-osf1-tdep.c: Ditto.
978 * alpha-tdep.c: Ditto.
979 * alphabsd-nat.c: Ditto.
980 * alphabsd-tdep.c: Ditto.
981 * amd64-darwin-tdep.c: Ditto.
982 * amd64-linux-nat.c: Ditto.
983 * amd64-linux-tdep.c: Ditto.
984 * amd64-sol2-tdep.c: Ditto.
985 * amd64-tdep.c: Ditto.
986 * amd64-fbsd-tdep.c: Ditto.
987 * amd64-nbsd-tdep.c: Ditto.
988 * amd64-obsd-tdep.c: Ditto.
989 * amd64-linux-nat.c: Ditto.
990 * amd64-linux-tdep.c: Ditto.
991 * arm-tdep.c: Ditto.
992 * arm-tdep.h: Ditto.
993 * armnbsd-nat.c: Ditto.
994 * avr-tdep.c: Ditto.
995 * bfin-tdep.c: Ditto.
996 * bsd-kvm.c: Ditto.
997 * c-typeprintc: Ditto.
998 * c-valprint.c: Ditto.
999 * coff-pe-read.h: Ditto.
1000 * coffreead.c: Ditto.
1001 * cris-tdep.c: Ditto.
1002 * d-lang.c: Ditto.
1003 * darwin-nat-info.c: Ditto.
1004 * darwin-nat.c: Ditto.
1005 * dbug-rom.c: Ditto.
1006 * dbxread.c: Ditto.
1007 * dcache.c: Ditto.
1008 * dcache.h: Ditto.
1009 * dec-thread.c: Ditto.
1010 * defs.h: Ditto.
1011 * demangle.c: Ditto.
1012 * dicos-tdep.c: Ditto.
1013 * dictionary.c: Ditto.
1014 * dictionary.h: Ditto.
1015 * dink32-rom.c: Ditto.
1016 * disasm.c: Ditto.
1017 * doublest.c: Ditto.
1018 * dsrec.c: Ditto.
1019 * dummy-frame.c: Ditto.
1020 * dwarf2-frame.c: Ditto.
1021 * dwarf2expr.c: Ditto.
1022 * dwarf2loc.c: Ditto.
1023 * dwarf2read.c: Ditto.
1024 * elfread.c: Ditto.
1025 * environ.c: Ditto.
1026 * eval.c: Ditto.
1027 * event-top.h: Ditto.
1028 * exceptions.c: Ditto.
1029 * exceptions.h: Ditto.
1030 * exec.c: Ditto.
1031 * expprint.c: Ditto.
1032 * expression.h: Ditto.
1033 * f-exp.y: Ditto.
1034 * f-lang.c: Ditto.
1035 * f-lang.h: Ditto.
1036 * f-typeprint.c: Ditto.
1037 * f-valprint.c: Ditto.
1038 * fbsd-nat.c: Ditto.
1039 * findvar.c: Ditto.
1040 * fork-child.c: Ditto.
1041 * frame.c: Ditto.
1042 * frame.h: Ditto.
1043 * frv-linux-tdep.c: Ditto.
1044 * frv-tdep.c: Ditto.
1045 * gcore.c: Ditto.
1046 * gdb-stabs.h: Ditto.
1047 * gdb_assert.h: Ditto.
1048 * gdb_string.h: Ditto.
1049 * gdb_thread_db.h: Ditto.
1050 * gdb_wait.h: Ditto.
1051 * gdbarch.sh: Ditto.
1052 * gdbcore.h: Ditto.
1053 * gdbthread.h: Ditto.
1054 * gdbtypes.c: Ditto.
1055 * gdbtypes.h: Ditto.
1056 * gnu-nat.c: Ditto.
1057 * gnu-nat.h: Ditto.
1058 * gnu-v2-abi.c: Ditto.
1059 * gnu-v3-abi.c: Ditto.
1060 * go32-nat.c: Ditto.
1061 * gdbarch.c: Regenerate.
1062 * gdbarch.h: Regenerate.
1063
1064 2011-01-07 Michael Snyder <msnyder@vmware.com>
1065
1066 * ax-gdb.c: Adjust some long output strings.
1067 * breakpoint.c: Ditto.
1068 * charset.c: Ditto.
1069 * cp-abi.c: Ditto.
1070 * infcall.c: Ditto.
1071 * infrun.c: Ditto.
1072 * linux-nat.c: Ditto.
1073 * solib-pa64.c: Ditto.
1074 * solib-som.c: Ditto.
1075
1076 2011-01-06 Tom Tromey <tromey@redhat.com>
1077
1078 PR python/12367:
1079 * NEWS: Add item.
1080 * python/python.c (GdbMethods): Add "newest_frame" method.
1081 * python/python-internal.h (gdbpy_newest_frame): Declare.
1082 * python/py-frame.c (gdbpy_newest_frame): New function.
1083
1084 2010-01-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1085
1086 * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1087 * jit.c (jit_debug): New variable.
1088 (show_jit_debug): New function.
1089 (struct target_buffer): Use ULONGEST.
1090 (bfd_open_from_target_memory): Likewise.
1091 (jit_register_code, jit_inferior_init): Add debug output.
1092 (_initialize_jit): Register "debug jit" command.
1093
1094 2011-01-06 Tom Tromey <tromey@redhat.com>
1095
1096 * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1097 * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1098 and ARCH_FRAME.
1099
1100 2011-01-06 Tom Tromey <tromey@redhat.com>
1101
1102 * python/py-frame.c (frapy_block): Use get_frame_block.
1103
1104 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1105
1106 Do not stop on SIGPRIO signals by default
1107 * infrun.c (_initialize_infrun): Unset signal_stop and
1108 signal_print for TARGET_SIGNAL_PRIO.
1109
1110 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1111
1112 * ada-tasks.c: Fix style violation in comment.
1113
1114 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1115
1116 * linespec.c (decode_compound, find_method): Remove trailing \n
1117 at end of error string.
1118 * solib-irix.c (irix_current_sos): Likewise.
1119 * varobj.c (uninstall_variable): Likewise.
1120
1121 2011-01-06 Joel Brobecker <brobecker@adacore.com>
1122
1123 * copyright.py: New script.
1124 * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1125 Launch emacs without exec'ing. Call copyright.py afterwards.
1126
1127 2011-01-05 Michael Snyder <msnyder@vmware.com>
1128
1129 * addrmap.c: Shorten lines of >= 80 columns.
1130 * arch-utils.c: Ditto.
1131 * arch-utils.h: Ditto.
1132 * ax-gdb.c: Ditto.
1133 * ax-general.c: Ditto.
1134 * bcache.c: Ditto.
1135 * blockframe.c: Ditto.
1136 * breakpoint.c: Ditto.
1137 * buildsym.c: Ditto.
1138 * c-lang.c: Ditto.
1139 * c-typeprint.c: Ditto.
1140 * charset.c: Ditto.
1141 * coffread.c: Ditto.
1142 * command.h: Ditto.
1143 * corelow.c: Ditto.
1144 * cp-abi.c: Ditto.
1145 * cp-namespace.c: Ditto.
1146 * cp-support.c: Ditto.
1147 * dbug-rom.c: Ditto.
1148 * dbxread.c: Ditto.
1149 * defs.h: Ditto.
1150 * dfp.c: Ditto.
1151 * dfp.h: Ditto.
1152 * dictionary.c: Ditto.
1153 * disasm.c: Ditto.
1154 * doublest.c: Ditto.
1155 * dwarf2-frame.c: Ditto.
1156 * dwarf2expr.c: Ditto.
1157 * dwarf2loc.c: Ditto.
1158 * dwarf2read.c: Ditto.
1159 * elfread.c: Ditto.
1160 * eval.c: Ditto.
1161 * event-loop.c: Ditto.
1162 * event-loop.h: Ditto.
1163 * exceptions.h: Ditto.
1164 * exec.c: Ditto.
1165 * expprint.c: Ditto.
1166 * expression.h: Ditto.
1167 * f-lang.c: Ditto.
1168 * f-valprint.c: Ditto.
1169 * findcmd.c: Ditto.
1170 * frame-base.c: Ditto.
1171 * frame-unwind.c: Ditto.
1172 * frame-unwind.h: Ditto.
1173 * frame.c: Ditto.
1174 * frame.h: Ditto.
1175 * gcore.c: Ditto.
1176 * gdb-stabs.h: Ditto.
1177 * gdb_assert.h: Ditto.
1178 * gdb_dirent.h: Ditto.
1179 * gdb_obstack.h: Ditto.
1180 * gdbcore.h: Ditto.
1181 * gdbtypes.c: Ditto.
1182 * gdbtypes.h: Ditto.
1183 * inf-ttrace.c: Ditto.
1184 * infcall.c: Ditto.
1185 * infcmd.c: Ditto.
1186 * inflow.c: Ditto.
1187 * infrun.c: Ditto.
1188 * inline-frame.h: Ditto.
1189 * language.c: Ditto.
1190 * language.h: Ditto.
1191 * libunwind-frame.c: Ditto.
1192 * libunwind-frame.h: Ditto.
1193 * linespec.c: Ditto.
1194 * linux-nat.c: Ditto.
1195 * linux-nat.h: Ditto.
1196 * linux-thread-db.c: Ditto.
1197 * machoread.c: Ditto.
1198 * macroexp.c: Ditto.
1199 * macrotab.c: Ditto.
1200 * main.c: Ditto.
1201 * maint.c: Ditto.
1202 * mdebugread.c: Ditto.
1203 * memattr.c: Ditto.
1204 * minsyms.c: Ditto.
1205 * monitor.c: Ditto.
1206 * monitor.h: Ditto.
1207 * objfiles.c: Ditto.
1208 * objfiles.h: Ditto.
1209 * osabi.c: Ditto.
1210 * p-typeprint.c: Ditto.
1211 * p-valprint.c: Ditto.
1212 * parse.c: Ditto.
1213 * printcmd.c: Ditto.
1214 * proc-events.c: Ditto.
1215 * procfs.c: Ditto.
1216 * progspace.c: Ditto.
1217 * progspace.h: Ditto.
1218 * psympriv.h: Ditto.
1219 * psymtab.c: Ditto.
1220 * record.c: Ditto.
1221 * regcache.c: Ditto.
1222 * regcache.h: Ditto.
1223 * remote-fileio.c: Ditto.
1224 * remote.c: Ditto.
1225 * ser-mingw.c: Ditto.
1226 * ser-tcp.c: Ditto.
1227 * ser-unix.c: Ditto.
1228 * serial.c: Ditto.
1229 * serial.h: Ditto.
1230 * solib-frv.c: Ditto.
1231 * solib-irix.c: Ditto.
1232 * solib-osf.c: Ditto.
1233 * solib-pa64.c: Ditto.
1234 * solib-som.c: Ditto.
1235 * solib-sunos.c: Ditto.
1236 * solib-svr4.c: Ditto.
1237 * solib-target.c: Ditto.
1238 * solib.c: Ditto.
1239 * somread.c: Ditto.
1240 * source.c: Ditto.
1241 * stabsread.c: Ditto.
1242 * stabsread.c: Ditto.
1243 * stack.c: Ditto.
1244 * stack.h: Ditto.
1245 * symfile-mem.c: Ditto.
1246 * symfile.c: Ditto.
1247 * symfile.h: Ditto.
1248 * symmisc.c: Ditto.
1249 * symtab.c: Ditto.
1250 * symtab.h: Ditto.
1251 * target-descriptions.c: Ditto.
1252 * target-memory.c: Ditto.
1253 * target.c: Ditto.
1254 * target.h: Ditto.
1255 * terminal.h: Ditto.
1256 * thread.c: Ditto.
1257 * top.c: Ditto.
1258 * tracepoint.c: Ditto.
1259 * tracepoint.h: Ditto.
1260 * ui-file.c: Ditto.
1261 * ui-file.h: Ditto.
1262 * ui-out.h: Ditto.
1263 * user-regs.c: Ditto.
1264 * user-regs.h: Ditto.
1265 * utils.c: Ditto.
1266 * valarith.c: Ditto.
1267 * valops.c: Ditto.
1268 * valprint.c: Ditto.
1269 * valprint.h: Ditto.
1270 * value.c: Ditto.
1271 * varobj.c: Ditto.
1272 * varobj.h: Ditto.
1273 * vec.h: Ditto.
1274 * xcoffread.c: Ditto.
1275 * xcoffsolib.c: Ditto.
1276 * xcoffsolib.h: Ditto.
1277 * xml-syscall.c: Ditto.
1278 * xml-tdesc.c: Ditto.
1279
1280 2011-01-05 Michael Snyder <msnyder@vmware.com>
1281
1282 * cli/cli-cmds.c: Shorten lines of >= 80 columns.
1283 * cli/cli-decode.c: Ditto.
1284 * cli/cli-dump.c: Ditto.
1285 * cli/cli-logging.c: Ditto.
1286 * cli/cli-script.c: Ditto.
1287 * cli/cli-setshow.c: Ditto.
1288 * common/signals.c: Ditto.
1289 * mi/mi-cmd-break.c: Ditto.
1290 * mi/mi-cmd-disas.c: Ditto.
1291 * mi/mi-cmd-stack.c: Ditto.
1292 * mi/mi-cmd-var.c: Ditto.
1293 * mi/mi-cmds.c: Ditto.
1294 * mi/mi-common.h: Ditto.
1295 * mi/mi-console.c: Ditto.
1296 * mi/mi-interp.c: Ditto.
1297 * mi/mi-main.c: Ditto.
1298 * osf-share/cma_attr.c: Ditto.
1299 * osf-share/cma_deb_core.h: Ditto.
1300 * osf-share/cma_debug_client.h: Ditto.
1301 * osf-share/cma_handle.h: Ditto.
1302 * osf-share/cma_mutex.h: Ditto.
1303 * osf-share/cma_stack_int.h: Ditto.
1304 * osf-share/cma_tcb_defs.h: Ditto.
1305 * python/py-auto-load.c: Ditto.
1306 * python/py-breakpoint.c: Ditto.
1307 * python/py-cmd.c: Ditto.
1308 * python/py-frame.c: Ditto.
1309 * python/py-objfile.c: Ditto.
1310 * python/py-param.c: Ditto.
1311 * python/py-progspace.c: Ditto.
1312 * python/py-symbol.c: Ditto.
1313 * python/py-value.c: Ditto.
1314 * python/python-internal.h: Ditto.
1315 * python/python.c: Ditto.
1316 * tui/tui-data.c: Ditto.
1317 * tui/tui-disasm.c: Ditto.
1318 * tui/tui-hooks.c: Ditto.
1319 * tui/tui-io.c: Ditto.
1320 * tui/tui-layout.c: Ditto.
1321 * tui/tui-regs.c: Ditto.
1322 * tui/tui-source.c: Ditto.
1323 * tui/tui-stack.c: Ditto.
1324 * tui/tui-win.c: Ditto.
1325 * tui/tui-windata.c: Ditto.
1326 * tui/tui-winsource.c: Ditto.
1327
1328 2011-01-05 Joel Brobecker <brobecker@adacore.com>
1329
1330 * configure.ac, gdb.1: Copyright year update.
1331
1332 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1333
1334 * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
1335 this_pc_in_block, morestack_msym and morestack_name. Check for
1336 "__morestack" minimal symbol there.
1337
1338 2011-01-03 Joel Brobecker <brobecker@adacore.com>
1339
1340 * symfile.c (find_sym_fns): Add call to dont_repeat.
1341
1342 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1343
1344 Copyright year update in most files (performed by copyright.sh).
1345
1346 2011-01-01 Joel Brobecker <brobecker@adacore.com>
1347
1348 * top.c (print_gdb_version): Update copyright year in version output.
1349
1350 For older changes see ChangeLog-2010.
1351 \f
1352 Local Variables:
1353 mode: change-log
1354 left-margin: 8
1355 fill-column: 74
1356 version-control: never
1357 coding: utf-8
1358 End:
This page took 0.058524 seconds and 4 git commands to generate.