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