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