* exec.c (section_table_available_memory): Change `len' parameter
[external/binutils.git] / gdb / ChangeLog
1 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
2             Jan Kratochvil  <jan.kratochvil@redhat.com>
3
4         * exec.c (section_table_available_memory): Change `len' parameter
5         type to ULONGEST.
6         * exec.h (section_table_available_memory): Ditto.
7         * value.h (read_value_memory): Rename the `offset' parameter to
8         `embedded_offset'.
9
10 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
11             Jan Kratochvil  <jan.kratochvil@redhat.com>
12
13         * memrange.c (compare_mem_ranges): Mention sort order in
14         describing comment.
15         (normalize_mem_ranges): Add comment.  Fix ra->length calculation.
16         * tracepoint.c (traceframe_available_memory): Extend comment to
17         mention what happens to RESULT when the target does not support
18         the query.
19
20 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
21             Jan Kratochvil  <jan.kratochvil@redhat.com>
22
23         * value.c (mark_value_bytes_unavailable): Fix indexing the `bef'
24         range.
25
26 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
27
28         * value.c (value_bits_valid, value_bits_synthetic_pointer):
29         No longer handle NULL values.
30
31 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
32
33         * exceptions.h (NOT_AVAILABLE_ERROR): New error.
34         * value.c: Include "exceptions.h".
35         (require_available): Throw NOT_AVAILABLE_ERROR instead of a
36         generic error.
37         * cp-abi.c: Include gdb_assert.h.
38         (baseclass_offset): Add `embedded_offset' and `val' parameters.
39         Assert the method is implemented.  Wrap NOT_AVAILABLE_ERROR
40         errors.
41         * cp-abi.h (baseclass_offset): Add `embedded_offset' and `val'
42         parameters.  No longer returns -1 on error.
43         (struct cp_abi_ops) <baseclass_offset>: Add `embedded_offset' and
44         `val' parameters.
45         * cp-valprint.c: Include exceptions.h.
46         (cp_print_value): Handle NOT_AVAILABLE_ERROR errors when fetching
47         the baseclass_offset.  Handle unavailable base classes.  Use
48         val_print_invalid_address.
49         * p-valprint.c: Include exceptions.h.
50         (pascal_object_print_value): Handle NOT_AVAILABLE_ERROR errors
51         when fetching the baseclass_offset.  No longer expect
52         baseclass_offset returning -1.  Handle unavailable base classes.
53         Use val_print_invalid_address.
54         * valops.c (dynamic_cast_check_1): Rename `contents' parameter to
55         `valaddr' parameter, and change its type to gdb_byte pointer.  Add
56         `embedded_offset' and `val' parameters.  Adjust.
57         (dynamic_cast_check_2): Rename `contents' parameter to `valaddr'
58         parameter, and change its type to gdb_byte pointer.  Add
59         `embedded_offset' and `val' parameters.  Adjust.  No longer expect
60         baseclass_offset returning -1.
61         (value_dynamic_cast): Use value_contents_for_printing rather than
62         value_contents.  Adjust.
63         (search_struct_field): No longer expect baseclass_offset returning
64         -1.
65         (search_struct_method): If reading memory from the target is
66         necessary, wrap it in a new value to pass to baseclass_offset.  No
67         longer expect baseclass_offset returning -1.
68         (find_method_list): No longer expect baseclass_offset returning
69         -1.  Use value_contents_for_printing rather than value_contents.
70         * valprint.c (val_print_invalid_address): New function.
71         * valprint.h (val_print_invalid_address): Declare.
72         * gdbtypes.c (is_unique_ancestor_worker): New `embedded_offset'
73         and `val' parameters.  No longer expect baseclass_offset returning
74         -1.  Adjust.
75         * gnu-v2-abi.c: Include "exceptions.h".
76         (gnuv2_baseclass_offset): Add `embedded_offset' and `val'
77         parameters.  Handle unavailable memory.  Recurse through
78         gnuv2_baseclass_offset directly, rather than through
79         baseclass_offset.  No longer returns -1 on not found, instead
80         throw an error.
81         * gnu-v3-abi.c (gnuv3_baseclass_offset): Add `embedded_offset' and
82         `val' parameters.  Adjust.
83
84 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
85
86         * tracepoint.c (memrange_sortmerge): Don't merge ranges that are
87         almost but not quite adjacent.
88
89 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
90
91         * value.h (value_entirely_available): Declare.
92         * value.c (value_entirely_available): New function.
93         * c-valprint.c (c_value_print): Don't try fetching the pointer's
94         real type if the pointer is unavailable.
95
96 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
97
98         * valops.c (value_repeat): Use read_value_memory instead of
99         read_memory.
100
101 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
102
103         * value.h (value_contents_copy, value_contents_copy_raw): Declare.
104         * value.c (value_contents_copy_raw, value_contents_copy): New
105         functions.
106         (value_primitive_field): Use value_contents_copy_raw instead of
107         memcpy.
108         * valops.c (value_fetch_lazy): Use value_contents_copy instead of
109         memcpy.
110         (value_array, value_slice): Ditto.
111         * valarith.c (value_subscripted_rvalue): Use
112         value_contents_copy_raw instead of memcpy.
113
114 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
115
116         <unavailable> references.
117
118         * valops.c (get_value_at): Use value_from_contents_and_address,
119         avoiding read_memory.
120
121 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
122
123         * c-valprint.c (c_val_print): Print a string with unavailable
124         contents as an array.
125
126 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
127
128         * value.h (unpack_bits_as_long): Delete declaration.
129         (unpack_value_bits_as_long): Declare.
130         (unpack_value_field_as_long): Declare.
131         (value_field_bitfield): Declare.
132         * value.c (unpack_bits_as_long): Rename to...
133         (unpack_value_bits_as_long_1): ... this.  Add embedded_offset and
134         value parameters.  Return the extracted result in a new output
135         parameter.  If the value contents are unavailable, return false,
136         otherwise return true.
137         (unpack_value_bits_as_long): New.
138         (unpack_field_as_long): Rename to...
139         (unpack_value_field_as_long_1): ... this.  Add embedded_offset and
140         Add embedded_offset and value parameters.  Return the extracted
141         result in a new output parameter. If the value contents are
142         unavailable, return false, otherwise return true.
143         (unpack_value_field_as_long): New.
144         (unpack_field_as_long_1): New.
145         (unpack_field_as_long): Reimplement as wrapper around
146         unpack_value_field_as_long_1.
147         (value_field_bitfield): New function.
148         * valops.c (value_fetch_lazy): When fetching a bitfield, use
149         unpack_value_bits_as_long.  Mark the value as unavailable, if it
150         is unavailable.
151         * jv-valprint.c (java_print_value_fields): Use
152         value_field_bitfield.
153         * p-valprint.c (pascal_object_print_value_fields): Use
154         value_field_bitfield.
155         * cp-valprint.c (cp_print_value_fields): Use value_field_bitfield.
156
157 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
158
159         * value.c (get_internalvar_integer): Also return the int value of
160         TYPE_CODE_INT INTERNALVAR_VALUE values.
161         (set_internalvar): Don't special case TYPE_CODE_INT.
162
163 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
164
165         * value.c (struct internalvar) <enum internalvar_kind>: Remove
166         INTERNALVAR_POINTER.
167         <pointer>: Delete.
168         (value_of_internalvar): Remove INTERNALVAR_POINTER handling.
169         (set_internalvar): Remove special TYPE_CODE_PTR handling.
170         (preserve_one_internalvar): Remove INTERNALVAR_POINTER handling.
171
172 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
173
174         * value.h (value_available_contents_eq): Declare.
175         * value.c (find_first_range_overlap): New function.
176         (value_available_contents_eq): New function.
177         * valprint.c (val_print_array_elements): Use
178         value_available_contents_eq.
179         * ada-valprint.c (val_print_packed_array_elements): Use
180         value_available_contents_eq.
181         * jv-valprint.c (java_value_print): Use
182         value_available_contents_eq.
183
184 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
185
186         * target.c (target_read_live_memory): New function.
187         (memory_xfer_live_readonly_partial): New.
188         (memory_xfer_partial): If reading from a traceframe, fallback to
189         reading unavailable read-only memory from read-only regions of
190         live target memory.
191         * tracepoint.c (disconnect_tracing): Adjust.
192         (set_current_traceframe): New, factored out from
193         set_traceframe_number.
194         (set_traceframe_number): Reimplement to only change the traceframe
195         number on the GDB side.
196         (do_restore_current_traceframe_cleanup): Adjust.
197         (make_cleanup_restore_traceframe_number): New.
198         (cur_traceframe_number): New global.
199         (tfile_open): Set cur_traceframe_number to no traceframe.
200         (set_tfile_traceframe): New function.
201         (tfile_trace_find): If looking up a traceframe using any method
202         other than by number, make sure the current tfile traceframe
203         matches gdb's current traceframe.  Update the current tfile
204         traceframe if the lookup succeeded.
205         (tfile_fetch_registers, tfile_xfer_partial)
206         (tfile_get_trace_state_variable_value): Make sure the remote
207         traceframe matches gdb's current traceframe.
208         * remote.c (remote_traceframe_number): New global.
209         (remote_open_1): Set it to -1.
210         (set_remote_traceframe): New function.
211         (remote_fetch_registers, remote_store_registers)
212         (remote_xfer_memory, remote_xfer_partial)
213         (remote_get_trace_state_variable_value): Make sure the remote
214         traceframe matches gdb's current traceframe.
215         (remote_trace_find): If looking up a traceframe using any method
216         other than by number, make sure the current remote traceframe
217         matches gdb's current traceframe.  Update the current remote
218         traceframe if the lookup succeeded.
219         * infrun.c (fetch_inferior_event): Adjust.
220         * tracepoint.h (set_current_traceframe): Declare.
221         (get_traceframe_number, set_traceframe_number): Add describing
222         comments.
223
224 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
225
226         Mark pieces of values as unavailable if the corresponding memory
227         is unavailable.
228
229         * valops.c: Include tracepoint.h.
230         (value_fetch_lazy): Use read_value_memory.
231         (read_value_memory): New.
232         * value.h (read_value_memory): Declare.
233         * dwarf2loc.c (read_pieced_value): Use read_value_memory.
234         * exec.c (section_table_available_memory): New function.
235         * exec.h (section_table_available_memory): Declare.
236
237 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
238
239         * Makefile.in (SFILES): Add memrange.c.
240         (HFILES_NO_SRCDIR): Add memrange.h.
241         (COMMON_OBS): Add memrange.o.
242         * memrange.c: New file.
243         * memrange.h: New file.
244         * tracepoint.c: Include memrange.h.
245         (struct mem_range): Delete.
246         (mem_range_s): Delete.
247         (traceframe_available_memory): New function.
248         * tracepoint.h (traceframe_available_memory): Declare.
249
250 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
251
252         * target.h (struct traceframe_info): Forward declare.
253         (enum target_object): Add TARGET_OBJECT_TRACEFRAME_INFO.
254         (struct target_ops) <to_traceframe_info>: New field.
255         (target_traceframe_info): New.
256         * target.c (update_current_target): Inherit and default
257         to_traceframe_info.
258         * remote.c (PACKET_qXfer_traceframe_info): New.
259         (remote_protocol_features): Register qXfer:traceframe-info:read.
260         (remote_xfer_partial): Handle TARGET_OBJECT_TRACEFRAME_INFO.
261         (remote_traceframe_info): New.
262         (init_remote_ops): Install it.
263         (_initialize_remote): Install "set/show remote traceframe-info"
264         commands.
265         * tracepoint.h (parse_traceframe_info): Declare.
266         * tracepoint.c (struct mem_range): New.
267         (mem_range_s): New typedef.
268         (struct traceframe_info): New.
269         (traceframe_info): New global.
270         (free_traceframe_info): New function.
271         (clear_traceframe_info): New function.
272         (start_tracing, tfind_1, set_traceframe_number): Clear traceframe
273         info.
274         (build_traceframe_info): New function.
275         (tfile_traceframe_info): New function.
276         (init_tfile_ops): Install tfile_traceframe_info.
277         (traceframe_info_start_memory, free_result): New functions.
278         (memory_attributes, traceframe_info_elements): New globals.
279         (parse_traceframe_info, get_traceframe_info): New functions.
280         * features/traceframe-info.dtd: New file.
281         * Makefile.in (XMLFILES): Add traceframe-info.dtd.
282
283 2011-02-14  Pedro Alves  <pedro@codesourcery.com>
284
285         Base support for <unavailable> value contents.
286
287         * value.h (value_bytes_available): Declare.
288         (mark_value_bytes_unavailable): Declare.
289         * value.c (struct range): New struct.
290         (range_s): New typedef.
291         (ranges_overlap): New function.
292         (range_lessthan): New function.
293         (ranges_contain_p): New function.
294         (struct value) <unavailable>: New field.
295         (value_bytes_available): New function.
296         (mark_value_bytes_unavailable): New function.
297         (require_not_optimized_out): Constify parameter.
298         (require_available): New function.
299         (value_contents_all, value_contents): Require all bytes be
300         available.
301         (value_free): Free `unavailable'.
302         (value_copy): Copy `unavailable'.
303         * valprint.h (val_print_unavailable): Declare.
304         * valprint.c (valprint_check_validity): Rename `offset' parameter
305         to `embedded_offset'.  If printing a scalar, check whether the
306         value chunk is available.
307         (val_print_unavailable): New.
308         (val_print_scalar_formatted): Check whether the value is
309         available.
310         * python/py-prettyprint.c (apply_val_pretty_printer): Refuse
311         pretty-printing unavailable values.
312
313 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
314
315         Fix const/volatile qualifiers of C++ types, PR c++/12328.
316         * c-typeprint.c (c_type_print_args): Update the function comment.  New
317         variable param_type, initialize it.  Remove const/volatile qualifiers
318         for language_cplus and !show_artificial.  Use param_type.
319
320 2011-02-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
321
322         * symtab.c (find_pc_sect_line): New variable objfile, initialize it
323         from S.  Iterate S using ALL_OBJFILE_SYMTABS.  Verify BV for each S.
324         * symtab.h (struct symtab) <next>: Comment extension.
325
326 2011-02-12  Yao Qi  <yao@codesourcery.com>
327
328         * Makefile.in (CLEANDIRS): Remove duplicated common dir.
329
330 2011-02-11  Pedro Alves  <pedro@codesourcery.com>
331
332         * infrun.c (proceed): Move switching out and in of tfind mode from
333         here ...
334         (fetch_inferior_event): ... to here.
335
336 2011-02-11  Yao Qi  <yao@codesourcery.com>
337
338         * Makefile.in: Remove signals.o from COMMON_OBS.  Link
339         libcommon.a.
340         * configure.ac: Add common to sub dir.
341         * configure: Regenerate.
342
343 2011-02-10  Pedro Alves  <pedro@codesourcery.com>
344
345         * vec.h (VEC_block_remove): Place VEC_ASSERT_INFO on the right
346         side of the parenthesis.
347
348         Merge from GCC:
349         2010-07-13  Jakub Jelinek  <jakub@redhat.com>
350         * vec.h (VEC_block_remove): Fix comment.
351
352 2011-02-08  Michael Snyder  <msnyder@vmware.com>
353
354         * linux-nat.c (linux_nat_filter_event): Fix typo in comment.
355
356 2011-02-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
357
358         * i386-tdep.c (i386_process_record): Rename l suffixes to d suffixes
359         in comments for pcmpgtd, pcmpeqd, psubd, paddd, pcmpgtd, pcmpeqd,
360         psubd and paddd.
361
362 2011-02-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
363
364         PR 12361.
365         * i386-tdep.c (i386_process_record) <0x660f3807>: Fix the comment to
366         phsubsw.
367         (i386_process_record) <lddqu>: Fix the opcode to 0xf20ff0.
368         (i386_process_record) <0x0f3807>: Fix the comment to phsubsw.
369
370 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
371
372         * dwarf2read.c (read_subroutine_type): Set special calling
373         convention flag for functions compiled by IBM XL C for OpenCL.
374         * ppc-sysv-tdep.c: Include "dwarf2.h"
375         (ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
376         calling convention.
377         (do_ppc_sysv_return_value): Add FUNC_TYPE argument.  Implement
378         IBM OpenCL vector types calling convention.
379         (ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
380         (ppc_sysv_abi_broken_return_value): Likewise.
381         (ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
382         types calling convention.
383         (ppc64_sysv_abi_return_value): Likewise.
384         * spu-tdep.c: Include "dwarf2.h"
385         (spu_return_value): Implement IBM OpenCL vector types calling
386         convention.
387
388 2011-02-08  Ulrich Weigand  <uweigand@de.ibm.com>
389
390         * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Implement
391         correct ABI for AltiVec vector arguments.
392
393 2011-02-07  Pedro Alves  <pedro@codesourcery.com>
394
395         * valprint.c (val_print): Extend comment.
396         * ada-valprint.c (ada_valprint): Rewrite comment deferring
397         interface explanation to val_print.
398         (ada_val_print_array): Adjust comment to current interface.
399         (print_field_values): Adjust comment to current interface.
400         * c-valprint.c (c_val_print): Rewrite comment deferring interface
401         explanation to val_print.
402         * f-valprint.c (f_val_print): Ditto.
403         * jv-valprint.c (java_val_print): Ditto.
404         * m2-valprint.c (m2_val_print): Ditto.
405         * p-valprint.c (pascal_val_print): Ditto.
406
407 2011-02-07  Thiago Jung Bauermann  <bauerman@br.ibm.com>
408
409         * breakpoint.c (parse_breakpoint_sals): Fix description.
410
411 2011-02-04  Sami Wagiaalla  <swagiaal@redhat.com>
412             Oguz Kayral <oguzkayral@gmail.com>
413
414         * python/py-inferior.c (python_on_normal_stop): New function.
415         (python_on_resume): New function.
416         (python_inferior_exit): New function.
417         (gdbpy_initialize_inferior): Add normal_stop, target_resumed, and
418         inferior_exit observers.
419         * python/py-evtregistry.c: New file.
420         * python/py-threadevent.c : New file.
421         * python/py-event.c: New file.
422         * python/py-evts.c: New file.
423         * python/py-continueevent.c: New file.
424         * python/py-bpevent.c: New file.
425         * python/py-signalevent.c: New file.
426         * python/py-exetiedevent.c: New file.
427         * python/py-breakpoint.c (gdbpy_breakpoint_from_bpstats): New function.
428         Move struct breakpoint_object from here...
429         * python/python-internal.h: ... to here.
430         * python/py-event.h: New file.
431         * python/py-events.h: New file.
432         * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpointstopevent.o,
433         py-continueevent.o, py-event.o, py-eventregistry.o, py-events.o,
434         py-exitedevent.o, py-signalstopevent.o, and py-stopevent.o.
435         (SUBDIR_PYTHON_SRCS): Add py-breakpointstopevent.c,
436         py-continueevent.c, py-event.c, py-eventregistry.c, py-events.c,
437         py-exitedevent.c, py-signalstopevent.c, and py-stopevent.c.
438         Add build rules for all the above.
439
440 2011-02-04  Tom Tromey  <tromey@redhat.com>
441
442         * dwarf2read.c (dwarf2_section_empty_p): New function.
443         (dwarf2_read_section): Use dwarf2_section_empty_p.
444         (dwarf2_section_size): New function.
445         (dwarf2_get_section_info): Unconditionally read section.
446         (dwarf2_read_index): Use dwarf2_section_empty_p.
447         (partial_read_comp_unit_head): Use dwarf2_section_size.
448         (dwarf2_symbol_mark_computed): Likewise.
449
450 2011-02-04 David Daney <ddaney@caviumnetworks.com>
451
452         * NEWS: Add item for "catch syscall" on mips*-linux* targets.
453
454 2011-02-04 David Daney <ddaney@caviumnetworks.com>
455
456         * mips-linux-tdep.c: Include xml-syscall.h.
457         (mips_linux_get_syscall_number): New function.
458         (mips_linux_init_abi): Add calls to
459         mips_linux_get_syscall_number() and set_xml_syscall_file_name().
460         * data-directory/Makefile.in (SYSCALLS_FILES): Add
461         mips-o32-linux.xml, mips-n32-linux.xml and mips-n64-linux.xml
462         * syscalls/mips-n32-linux.xml: New file.
463         * syscalls/mips-n64-linux.xml: New file.
464         * syscalls/mips-o32-linux.xml: New file.
465
466 2011-02-04  Ulrich Weigand  <ulrich.weigand@linaro.org>
467
468         * dwarf2read.c (dwarf2_ranges_read): Skip empty range entries.
469         Complain about inverted range entries.
470         (dwarf2_record_block_ranges): Likewise.
471
472 2011-02-04  Thiago Jung Bauermann  <bauerman@br.ibm.com>
473
474         Fix some typos.
475         * breakpoint.c (update_watchpoint): Fix name of the
476         update_global_location_list function.
477         (print_one_breakpoint): Fix typo.
478         (_initialize_breakpoint): Remove extra space in hbreak help
479         string.
480         * breakpoint.h (struct bp_location) <length>: Fix field
481         description.
482
483 2011-02-04  Pedro Alves  <pedro@codesourcery.com>
484
485         * regcache.c (registers_changed_ptid): Don't explictly always
486         clear `current_regcache'.  Only clear current_thread_ptid and
487         current_thread_arch when PTID matches.  Only reinit the frame
488         cache if PTID matches the current inferior_ptid.  Move alloca(0)
489         call to ...
490         (registers_changed): ... here.
491
492 2011-02-03  Ulrich Weigand  <ulrich.weigand@linaro.org>
493
494         * arm-tdep.c (arm_skip_stack_protector): Accept any symbol that
495         starts with __stack_chk_guard as stack guard symbol.
496
497 2011-02-03  Andrew Burgess  <aburgess@broadcom.com>
498
499         * disasm.c (compare_lines): Handle the end of sequence markers
500         within the line table to better support disassembling over
501         compilation unit boundaries.
502
503 2011-02-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
504
505         * arm-tdep.c (skip_prologue_function): Add GDBARCH and IS_THUMB
506         arguments.  Skip in-prologue calls to glibc __aeabi_read_tp
507         implementation even if no symbols are available.
508         (thumb_analyze_prologue): Update call to skip_prologue_function.
509         (arm_analyze_prologue): Likewise.
510
511 2011-02-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
512
513         * arm-tdep.c: Include "observer.h".
514         (arm_prologue_this_id): Use frame PC if get_frame_func returns 0.
515         (arm_exidx_data_key): New static variable.
516         (struct arm_exidx_entry, arm_exidx_entry_s): New data types.
517         (struct arm_exidx_data): Likewise.
518         (arm_exidx_data_free): New function.
519         (arm_compare_exidx_entries): Likewise.
520         (arm_obj_section_from_vma): Likewise.
521         (arm_exidx_new_objfile): Likewise.
522         (arm_find_exidx_entry): Likewise.
523         (arm_exidx_fill_cache): Likewise.
524         (arm_exidx_unwind_sniffer): Likewise.
525         (arm_exidx_unwind): New global variable.
526         (arm_gdbarch_init): Append unwinder arm_exidx_unwind.
527         (_initialize_arm_tdep): Attach arm_exidx_new_objfile to new_objfile
528         observer.  Register arm_exidx_data_key as objfile data.
529
530 2011-02-02  Ulrich Weigand  <ulrich.weigand@linaro.org>
531
532         * arm-tdep.c (arm_analyze_load_stack_chk_guard): Avoid build break
533         due to accessing uninitialized variable.  Fix indentation.
534
535 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
536
537         * c-valprint.c (c_value_print): When doing virtual base pointer
538         adjustment, create a new value with adjusted contents rather than
539         changing the contents of the value being printed (and getting it
540         wrong).
541
542 2011-02-02  Pedro Alves  <pedro@codesourcery.com>
543
544         * xml-support.c (xml_find_attribute): New.
545         (xinclude_start_include): Use it.
546         * xml-support.h (xml_find_attribute): Declare.
547         * memory-map.c (memory_map_start_memory)
548         (memory_map_start_property): Use xml_find_attribute.
549         * osdata.c (osdata_start_osdata, osdata_start_column): Use
550         xml_find_attribute.
551         * remote.c (start_thread): Use xml_find_attribute.
552         * solib-target.c (library_list_start_segment)
553         (library_list_start_section, library_list_start_library)
554         (library_list_start_list): Use xml_find_attribute.
555         * xml-tdesc.c (tdesc_start_target, tdesc_start_feature)
556         (tdesc_start_union, tdesc_start_struct, tdesc_start_flags)
557         (tdesc_start_field): Use xml_find_attribute.
558
559 2011-02-02  Ulrich Weigand  <uweigand@de.ibm.com>
560
561         * opencl-lang.c (STRINGIFY): Rename to OCL_STRING.
562         (BUILD_OCL_VTYPES): Update.
563
564 2011-02-02  Joel Brobecker  <brobecker@adacore.com>
565
566         * configure.ac: Work around non-GNU sed limitation when computing
567         python version number.
568         * configure: Regenerate.
569
570 2011-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
571
572         Fix debug printing of TYPE_INSTANCE.
573         * expprint.c (print_subexp_standard) <TYPE_INSTANCE>: New.
574         (dump_subexp_body_standard) <TYPE_INSTANCE>: New.
575
576 2011-02-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
577
578         Fix debug printing of BINOP_IN, OP_OBJC_MSGCALL,
579         OP_F77_UNDETERMINED_ARGLIST, OP_COMPLEX, OP_OBJC_SELECTOR, OP_NAME,
580         OP_OBJC_NSSTRING, OP_F90_RANGE and OP_DECFLOAT.
581         * ada-operator.inc: Rename the file to ...
582         * ada-operator.def: ... here, wrap all the entries by macro OP.
583         * expprint.c (op_name_standard): Remove all the entries.  Include
584         "std-operator.def" instead.
585         * expression.h (enum exp_opcode): Include "std-operator.def" and
586         "ada-operator.def".  Move all the entries ...
587         * std-operator.def: ... here, wrap all the entries by macro OP.
588
589 2011-01-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
590
591         * breakpoint.h (remove_jit_event_breakpoints): New prototype.
592         * breakpoint.c (remove_jit_event_breakpoints): New function.
593         * jit.c (jit_descriptor_addr): Delete.
594         (registering_code): Delete.
595         (clear_int): Delete.
596         (jit_inferior_data): New variable.
597         (struct jit_inferior_data): New type.
598         (get_jit_inferior_data): New function.
599         (jit_inferior_data_cleanup): New function.
600         (jit_read_descriptor): Adjust.
601         (jit_register_code): Adjust.
602         (jit_breakpoint_re_set_internal): New function; move code here ...
603         (jit_inferior_init): ... from here.
604         (jit_breakpoint_re_set): Adjust.
605         (jit_reset_inferior_data_and_breakpoints): New function.
606         (jit_inferior_created_observer): Adjust.
607         (jit_inferior_exit_hook): Adjust.
608         (jit_executable_changed_observer): New function.
609         (jit_event_handler): Adjust.
610         (_initialize_jit): Adjust.
611
612 2011-01-31  Michael Snyder  <msnyder@vmware.com>
613
614         * m32r-tdep.c (m32r_gdbarch_init): Replace accidentally deleted
615         line.
616
617 2011-01-31  Tom Tromey  <tromey@redhat.com>
618
619         PR python/12216:
620         * python/python.c (execute_gdb_command): Call
621         prevent_dont_repeat.
622         * top.c (suppress_dont_repeat): New global.
623         (dont_repeat): Use it.
624         (prevent_dont_repeat): New function.
625         * command.h (prevent_dont_repeat): Declare.
626
627 2011-01-31  Tom Tromey  <tromey@redhat.com>
628
629         * infcmd.c (finish_backward): Use breakpoint_set_silent.
630         * python/py-breakpoint.c (bppy_set_silent): Use
631         breakpoint_set_silent.
632         (bppy_set_thread): Use breakpoint_set_thread.
633         (bppy_set_task): Use breakpoint_set_task.
634         * breakpoint.h (breakpoint_set_silent, breakpoint_set_thread)
635         (breakpoint_set_task): Declare.
636         (make_breakpoint_silent): Remove.
637         * breakpoint.c (breakpoint_set_silent): New function.
638         (breakpoint_set_thread): Likewise.
639         (breakpoint_set_task): Likewise.
640         (make_breakpoint_silent): Remove.
641
642 2011-01-31  Tom Tromey  <tromey@redhat.com>
643
644         * breakpoint.h (user_breakpoint_p): Declare.
645         * breakpoint.c (user_breakpoint_p): New function.
646         (breakpoint_1): Use it.
647         (save_breakpoints): Likewise.
648
649 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
650
651         * configure.ac: Add handling of Python distribution on Windows.
652         * python-config.py: If the LIBS, SYSLIBS, LIBPL and/or LINKFORSHARED
653         sysconfig variables are not defined, then do not use them.
654         On Windows, if LIBPL is not defined, then use prefix + '/libs'
655         instead.  On Windows, return all paths using forward-slashes
656         rather than backslashes.
657
658 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
659
660         * configure.ac: Remove fallback behavior for building
661         against Python.  Remove tweaking of Python include path.
662         Add PYTHON_CPPFLAGS and PYTHON_LIBS substitution.
663         (AC_TRY_LIBPYTHON):  Adjust program used in linking test.
664         If link is successful, set PYTHON_CPPFLAGS and PYTHON_LIBS.
665         Always restore CPPFLAGS and LIBS after linking test.
666         * configure: Regenerated.
667         * Makefile.in (INTERNAL_CPPFLAGS): Add @PYTHON_CPPFLAGS@.
668         (INSTALLED_LIBS, CLIBS): Add @PYTHON_LIBS@.
669         * python/python-internal.h: Adjust includes of Python .h files.
670
671 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
672
673         * tracepoint.c (traceframe_walk_blocks): Add missing i18n markup
674         in error message.
675
676 2011-01-31  Joel Brobecker  <brobecker@adacore.com>
677
678         * inflow.c (gdb_has_a_terminal): Fix typo in interactive_mode
679         value test.
680
681 2011-01-31  Yao Qi  <yao@codesourcery.com>
682
683         * arm-linux-nat.c: Update calls to regcache_register_status
684         instead of regcache_valid_p.
685         * aix-thread.c: Likewise.
686         * i386gnu-nat.c: Likewise.
687
688 2011-01-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
689
690         Fix crash.
691         * valops.c (compare_parameters): Verify TYPE_NFIELDS before
692         touching TYPE_FIELD_ARTIFICIAL.
693
694 2011-01-28  Richard Earnshaw  <rearnsha@arm.com>
695
696         * MAINTAINERS: Move myself from Responsible Maintainers to Authorized
697         Committers.
698
699 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
700
701         * tracepoint.c (tfile_xfer_partial): If there's no traceframe
702         selected, don't try iterating over the traceframe's blocks.
703         (tfile_has_stack): If there's no traceframe selected, then there's
704         no stack.
705         (tfile_has_registers): If there's no traceframe selected, then
706         there's no registers.
707
708 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
709
710         * target.c (memory_xfer_partial): No need to restore shadows if we
711         haven't read anything.
712
713 2011-01-28  Pedro Alves  <pedro@codesourcery.com>
714
715         * mips-tdep.c (mips_print_register): Use get_frame_register_value
716         and val_print_scalar_formatted.
717
718 2011-01-27  Pedro Alves  <pedro@codesourcery.com>
719
720         * tracepoint.c (tfile_read): New.
721         (tfile_open): Use it.
722         (tfile_get_traceframe_address): Use it.
723         (tfile_trace_find): Use it.
724         (walk_blocks_callback_func): New typedef.
725         (match_blocktype): New function.
726         (traceframe_walk_blocks): New function.
727         (traceframe_find_block_type): New function.
728         (tfile_fetch_registers, tfile_xfer_partial)
729         (tfile_get_trace_state_variable_value): Use
730         traceframe_find_block_type and tfile_read.
731
732 2011-01-26  Kevin Buettner  <kevinb@redhat.com>
733
734         * remote-mips.c: Add internationalization mark ups.  Remove
735         trailing \n from already marked up strings.
736
737 2011-01-26  Tom Tromey  <tromey@redhat.com>
738
739         * python/py-prettyprint.c (print_string_repr): Clear
740         'addressprint' option when calling val_print_string.
741         (print_children): Handle Val_pretty_default.  Clear 'addressprint'
742         option when calling val_print_string.
743
744 2011-01-26  Tom Tromey  <tromey@redhat.com>
745
746         * python/python.c (gdbpy_solib_name): Use gdb_py_longest and
747         GDB_PY_LL_ARG.
748         * python/python-internal.h (GDB_PY_LL_ARG, GDB_PY_LLU_ARG): New
749         macros.
750         (gdb_py_longest, gdb_py_ulongest): New typedefs.
751         (gdb_py_long_from_longest, gdb_py_long_from_ulongest)
752         (gdb_py_long_as_ulongest): New defines.
753         (gdb_py_object_from_longest, gdb_py_object_from_ulongest)
754         (gdb_py_int_as_long): Declare.
755         * python/py-value.c (valpy_lazy_string): Use gdb_py_longest,
756         GDB_PY_LL_ARG, gdb_py_object_from_longest.
757         (valpy_long): Add comment.
758         * python/py-utils.c (get_addr_from_python): Use
759         gdb_py_long_as_ulongest.  Handle overflow properly.
760         (gdb_py_object_from_longest): New function.
761         (gdb_py_object_from_ulongest): Likewise.
762         (gdb_py_int_as_long): Likewise.
763         * python/py-type.c (typy_array): Use gdb_py_int_as_long.
764         * python/py-symtab.c (salpy_get_pc): Use
765         gdb_py_long_from_ulongest.
766         (salpy_get_line): Use PyInt_FromLong.
767         * python/py-param.c (set_parameter_value): Use
768         gdb_py_int_as_long.
769         * python/py-lazy-string.c (stpy_get_address): Use
770         gdb_py_long_from_ulongest.
771         * python/py-frame.c (frapy_pc): Use gdb_py_long_from_ulongest.
772         * python/py-cmd.c (cmdpy_completer): Use gdb_py_int_as_long.
773         * python/py-breakpoint.c (bppy_set_thread): Use
774         gdb_py_int_as_long.
775         (bppy_set_task): Likewise.
776         (bppy_set_ignore_count): Likewise.
777         (bppy_set_hit_count): Likewise.
778         * python/py-block.c (blpy_get_start): Use
779         gdb_py_object_from_ulongest.
780         (blpy_get_end): Likewise.
781         (gdbpy_block_for_pc): Use gdb_py_ulongest and GDB_PY_LLU_ARG.
782
783 2011-01-25  Mathieu Lacage  <mathieu.lacage@inria.fr>
784
785         PR/symtab 11766:
786         * gdb/objfiles.h (struct objfile) <addr_low>: New field.
787         * gdb/solib.c (solib_read_symbols): Check for addr_low in
788         equality test for objfile, initialize addr_low if needed.
789
790 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
791
792         * tui/tui-regs.c (tui_register_format): Remove dead code.
793
794 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
795
796         * printcmd.c (print_formatted): Use val_print_scalar_formatted
797         instead of print_scalar_formatted.
798         (print_scalar_formatted): Don't handle 's' format strings here,
799         and add an assertion that we never see such format here.
800         * valprint.h (val_print_scalar_formatted): Declare.
801         * valprint.c (val_print_scalar_formatted): New.
802         * c-valprint.c (c_val_print): Use val_print_scalar_formatted
803         instead of print_scalar_formatted.
804         * jv-valprint.c (java_val_print): Ditto.
805         * p-valprint.c (pascal_val_print): Ditto.
806         * ada-valprint.c (ada_val_print_1): Ditto.
807         * f-valprint.c (f_val_print): Ditto.
808         * infcmd.c (registers_info): Ditto.
809         * m2-valprint.c (m2_val_print): Ditto.
810
811 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
812
813         * m2-valprint.c (print_unbounded_array): Pass
814         value_contents_for_printing rather than value_contents, to
815         m2_print_array_contents.  Also pass in the value.
816
817 2011-01-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
818
819         * dwarf2read.c (dwarf2_read_index, write_psymtabs_to_index)
820         (save_gdb_index_command): Switch to .gdb_index version 4.
821
822 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
823
824         * mi/mi-main.c (get_register): Use get_frame_register_value rather
825         than frame_register, and always pass a valid value to val_print.
826
827 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
828
829         Centralize printing "<optimized out>".
830
831         * valprint.h (val_print_optimized_out): Declare.
832         * cp-valprint.c (cp_print_value_fields): Use
833         val_print_optimized_out.
834         * jv-valprint.c (java_print_value_fields): Ditto.
835         * p-valprint.c (pascal_object_print_value_fields): Ditto.
836         * printcmd.c (print_formatted): Ditto.
837         * valprint.c (valprint_check_validity): Ditto.
838         (value_check_printable): Ditto.
839         (val_print_optimized_out): New.
840
841 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
842
843         * infcmd.c (default_print_registers_info): Allocate values so to
844         never pass a NULL value to val_print.
845
846 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
847
848         * cp-valprint.c (cp_print_value): Treat the 'skip' local as
849         boolean.  Make sure to always pass a value that matches the
850         contents buffer to callees.  Preserve `address' for following
851         iterations.
852         * value.c (value_contents_for_printing_const): New.
853         (value_address): Constify value argument.
854         * value.h (value_contents_for_printing_const): Declare.
855         (value_address): Constify value argument.
856
857 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
858
859         * regcache.c (struct regcache_descr): Rename
860         sizeof_raw_register_valid_p field to sizeof_raw_register_status,
861         and sizeof_cooked_register_valid_p to
862         sizeof_cooked_register_status.
863         (init_regcache_descr): Adjust.
864         (struct regcache): Rename register_valid_p field to
865         register_status.
866         (regcache_xmalloc_1, regcache_xfree, regcache_save)
867         (do_cooked_read): Adjust.
868         (regcache_valid_p): Rename to ...
869         (regcache_register_status): ... this.  Adjust.
870         (regcache_invalidate): Adjust.
871         (regcache_raw_read, regcache_cooked_read, regcache_raw_write):
872         Adjust.
873         (regcache_raw_supply): Adjust.  If buf i NULL, mark the register
874         as unavailable, not valid.
875         (regcache_dump): Adjust.
876         * regcache.h (enum register_status): New.
877         (regcache_register_status): Declare.
878         (regcache_invalidate): Delete declaration.
879         * corelow.c (get_core_registers): Adjust.
880         * tracepoint.c (tfile_fetch_registers): Adjust.
881         * trad-frame.c (REG_VALUE): Rename to ...
882         (TF_REG_VALUE): ... this.
883         (REG_UNKNOWN): Rename to ...
884         (TF_REG_UNKNOWN): ... this.
885         (trad_frame_set_value, trad_frame_set_unknown): Adjust.
886         * mi/mi-main.c (register_changed_p): Adjust.
887
888 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
889
890         * regcache.c (struct regcache_descr): Remove outdated comment.
891         (init_regcache_descr): Remove sizeof_raw_register_valid_p
892         overallocate hack.
893         (regcache_xmalloc): Rename to ...
894         (regcache_xmalloc_1): ... this.  Add `readonly_p' parameter.
895         Allocate the regcache type accordingly.
896         (regcache_xmalloc): New as wrapper around regcache_xmalloc_1.
897         (regcache_xfree): Asser the source is also readonly.  Copy sizeof
898         cooked registers, not raw.
899         (regcache_dup_no_passthrough): Delete.
900         (get_thread_arch_regcache): Use regcache_xmalloc_1.
901         * h8300-tdep.c (h8300_push_dummy_call): Tweak comment to not
902         mention obsolete write_register_bytes.
903         * regcache.h (regcache_dup_no_passthrough): Delete declaration.
904
905 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
906
907         Stop remote_read_bytes from handling partial reads itself.
908
909         * remote-fileio.c: Include target.h.
910         (remote_fileio_write_bytes): Delete.
911         (remote_fileio_func_open, remote_fileio_func_write)
912         (remote_fileio_func_rename, remote_fileio_func_unlink): Use
913         target_read_memory.
914         (remote_fileio_func_stat): Use target_read_memory and
915         target_write_memory.
916         (remote_fileio_func_gettimeofday): Use target_write_memory.
917         (remote_fileio_func_system): Use target_read_memory.
918         * remote.c (remote_write_bytes): Make it static.
919         (remote_read_bytes): Don't handle partial reads here.
920         * remote.h (remote_read_bytes): Delete declaration.
921
922 2011-01-25  Pedro Alves  <pedro@codesourcery.com>
923
924         Simplify XML parsing a bit.
925
926         * xml-support.h (gdb_xml_parse_quick): Declare.
927         * xml-support.c (gdb_xml_create_parser_and_cleanup_1): Renamed
928         from gdb_xml_create_parser_and_cleanup, and added `old_chain'
929         parameter.
930         (gdb_xml_create_parser_and_cleanup): Reimplement on top of
931         gdb_xml_create_parser_and_cleanup_1.
932         (gdb_xml_parse_quick): New.
933         * memory-map.c (parse_memory_map): Use gdb_xml_parse_quick.
934         * osdata.c (osdata_parse): Ditto.
935         * remote.c (remote_threads_info): Ditto.
936         * solib-target.c (solib_target_parse_libraries): Ditto.
937         * xml-syscall.c (syscall_parse_xml): Ditto.
938         * xml-tdesc.c (tdesc_parse_xml): Ditto.
939
940 2011-01-24  Kevin Buettner  <kevinb@redhat.com>
941
942         * configure.tgt (mips*-*-elf): New; just like mips*-*-*, but
943         with remote-mips.o added to gdb_target_obs.
944         * Makefile.in (ALL_TARGET_OBS): Add remote-mips.o.
945
946 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
947
948         * ada-valprint.c (val_print_packed_array_elements): Pass the
949         correct struct value to val_print.
950         (ada_val_print_1): Ditto.
951
952 2011-01-24  Pedro Alves  <pedro@codesourcery.com>
953
954         Don't lose embedded_offset in printing routines throughout.
955
956         * valprint.h (val_print_array_elements): Change prototype.
957         * valprint.c (val_print_array_elements): Add `embedded_offset'
958         parameter, and adjust to pass it down to val_print, while passing
959         `valaddr' or `address' unmodified.  Take embedded_offset into
960         account when checking repetitions.
961         * c-valprint.c (c_val_print): Pass embedded_offset to
962         val_print_array_elements instead of adjusting `valaddr' and
963         `address'.
964         * m2-valprint.c (m2_print_array_contents, m2_val_print): Pass
965         embedded_offset to val_print_array_elements instead of adjusting
966         `valaddr'.
967         * p-lang.h (pascal_object_print_value_fields): Adjust prototype.
968         * p-valprint.c (pascal_val_print): Pass embedded_offset to
969         val_print_array_elements and pascal_object_print_value_fields
970         instead of adjusting `valaddr'.
971         (pascal_object_print_value_fields): Add `offset' parameter, and
972         adjust to use it.
973         (pascal_object_print_value): Add `offset' parameter, and adjust to
974         use it.
975         (pascal_object_print_static_field): Use
976         value_contents_for_printing/value_embedded_offset, rather than
977         value_contents.
978         * ada-valprint.c (val_print_packed_array_elements): Add `offset'
979         parameter, and adjust to use it.  Use
980         value_contents_for_printing/value_embedded_offset, rather than
981         value_contents.
982         (ada_val_print): Rename `valaddr0' parameter to `valaddr'.
983         (ada_val_print_array): Add `offset' parameter, and adjust to use
984         it.
985         (ada_val_print_1): Rename `valaddr0' parameter to `valaddr', and
986         `embedded_offset' to `offset'.  Don't re-adjust `valaddr'.
987         Instead work with offsets.  Use
988         value_contents_for_printing/value_embedded_offset, rather than
989         value_contents.  Change `defer_val_int' local type to CORE_ADDR,
990         and use value_from_pointer to extract a target pointer, rather
991         than value_from_longest.
992         (print_variant_part): Add `offset' parameter.  Replace
993         `outer_valaddr' parameter by a new `outer_offset' parameter.
994         Don't re-adjust `valaddr'.  Instead pass down adjusted offsets.
995         (ada_value_print): Use
996         value_contents_for_printing/value_embedded_offset, rather than
997         value_contents.
998         (print_record): Add `offset' parameter, and adjust to pass it
999         down.
1000         (print_field_values): Add `offset' parameter.  Replace
1001         `outer_valaddr' parameter by a new `outer_offset' parameter.
1002         Don't re-adjust `valaddr'.  Instead pass down adjusted offsets.
1003         Use value_contents_for_printing/value_embedded_offset, rather than
1004         value_contents.
1005         * d-valprint.c (dynamic_array_type): Use
1006         value_contents_for_printing/value_embedded_offset, rather than
1007         value_contents.
1008         * jv-valprint.c (java_print_value_fields): Add `offset' parameter.
1009         Don't re-adjust `valaddr'.  Instead pass down adjusted offsets.
1010         (java_print_value_fields): Take `offset' into account.  Don't
1011         re-adjust `valaddr'.  Instead pass down adjusted offsets.
1012         (java_val_print): Take `embedded_offset' into account.  Pass it to
1013         java_print_value_fields.
1014         * f-valprint.c (f77_print_array_1): Add `embedded_offset'
1015         parameter.  Don't re-adjust `valaddr' or `address'.  Instead pass
1016         down adjusted offsets.
1017         (f77_print_array): Add `embedded_offset' parameter.  Pass it down.
1018         (f_val_print): Take `embedded_offset' into account.
1019
1020 2011-01-21  Joel Brobecker  <brobecker@adacore.com>
1021
1022         * inflow.c: Include "gdbcmd.h".
1023         (interactive_mode): New static global, moved here from top.c.
1024         (show_interactive_mode): New function, moved here from top.c.
1025         use gdb_has_a_terminal instead of input_from_terminal_p to
1026         determine the current mode.
1027         (gdb_has_a_terminal): Add handling of the "iteractive-mode"
1028         setting.
1029         (_initialize_inflow): Add the "set/show interactive-mode"
1030         commands.  Moved here from top.c, after having adjusted slightly
1031         the help text.
1032         * top.c (interactive_mode, show_interactive_mode): Delete, moved
1033         to inflow.c.
1034         (input_from_terminal_p): Remove handling of "interactive-mode"
1035         setting, moved to infow.c.
1036         (init_main): Remove creation of the "set/show interactive-mode"
1037         commands, moved to inflow.c.
1038
1039 2011-01-19  Joel Brobecker  <brobecker@adacore.com>
1040
1041         * NEWS: Add entry for native ia64-hpux support.
1042
1043 2011-01-19  Tom Tromey  <tromey@redhat.com>
1044
1045         PR mi/8618:
1046         * thread.c (free_thread): Free 'name'.
1047         (print_thread_info): Emit thread name.  Change CLI output.
1048         (thread_name_command): New function.
1049         (do_captured_thread_select): Emit newline.
1050         (_initialize_thread): Register 'thread name' command.
1051         * target.h (struct target_ops) <to_thread_name>: New field.
1052         (target_thread_name): New macro.
1053         * target.c (update_current_target): Handle to_thread_name.
1054         * python/py-infthread.c (thpy_get_name): New function.
1055         (thpy_set_name): Likewise.
1056         (thread_object_getset): Add "name".
1057         * linux-nat.c (linux_nat_thread_name): New function.
1058         (linux_nat_add_target): Set to_thread_name.
1059         * gdbthread.h (struct thread_info) <name>: New field.
1060
1061 2011-01-18  Joel Brobecker  <brobecker@adacore.com>
1062
1063         * ada-valprint.c (ada_print_scalar): Remove unsigned char downcast.
1064         (ada_val_print_1): Likewise.
1065
1066 2011-01-18  Joel Brobecker  <brobecker@adacore.com>
1067
1068         * rs6000-tdep.c (rs6000_skip_prologue): Make sure that the prologue
1069         upper limit address is not greater than the function end address
1070         when the upper limit could not be computed using the debugging
1071         info.
1072
1073 2011-01-17  Tom Tromey  <tromey@redhat.com>
1074
1075         * cli/cli-cmds.c (apropos_command): Free the compiled regex.  Use
1076         get_regcomp_error.
1077         * utils.c: Include gdb_regex.h.
1078         (do_regfree_cleanup): New function.
1079         (make_regfree_cleanup): Likewise.
1080         (get_regcomp_error): Likewise.
1081         * gdb_regex.h (make_regfree_cleanup, get_regcomp_error): Declare.
1082
1083 2011-01-17  Tom Tromey  <tromey@redhat.com>
1084
1085         * cli/cli-cmds.c (apropos_command): Fix formatting.  Don't call
1086         re_compile_fastmap.
1087
1088 2011-01-17  Pierre Muller  <muller@ics.u-strasbg.fr>
1089
1090         * p-exp.y (intvar): New static variable, used to set CURRENT_TYPE
1091         for internal variables.
1092         (last_was_structop): New static variable.
1093         (COMPLETE): New token.
1094         (field_exp): New rule to group all '.' suffix handling.
1095         Add mark_struct_expression calls when approriate to be able
1096         to correctly find fields for completion.
1097         (yylex): Adapt to handle field completion and set INTVAR when
1098         required.
1099
1100 2011-01-14  Yao Qi  <yao@codesourcery.com>
1101
1102         * arm-tdep.c (arm_register_reggroup_p): FPS register is in
1103         save_reggroup, restore_reggroup and all_reggroup.
1104
1105 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
1106
1107         * ada-valprint. (ada_printchar): Use the correct type length
1108         in call to ada_emit_char.
1109         * c-valprint.c (c_val_print): Remove cast in call to LA_PRINT_CHAR.
1110
1111 2011-01-14  Pierre Muller  <muller@ics.u-strasbg.fr>
1112
1113         * solib-som.h (hpux_major_release): Declare variable here.
1114         * solib-som.c:  Remove <sys/utsname.h> header.
1115         (DEFAULT_HPUX_MAJOR_RELEASE): New macro.
1116         (hpux_major_release): Make global, change default value to
1117         DEFAULT_HPUX_MAJOR_RELEASE.
1118         (get_hpux_major_release): Simply return HPUX_MAJOR_RELEASE. 
1119         * hppa-hpux-nat.c: Add <sys/utsname.h> include.
1120         Add "solib-som.h" header.
1121         (set_hpux_major_release): New function.
1122         (_initialize_hppa_hpux_nat): Call set_hpux_major_release.
1123
1124 2011-01-14  Mike Frysinger  <vapier@gentoo.org>
1125
1126         * configure.tgt (*-*-uclinux*): Match more Linux os targets
1127
1128 2011-01-14  Joel Brobecker  <brobecker@adacore.com>
1129
1130         * ia64-hpux-nat.c (ia64_hpux_fetch_register): Remove trailing
1131         new-line at end of warning message.
1132         (ia64_hpux_store_register): Remove trailing new-line at end of
1133         error message.
1134         * ia64-hpux-tdep.c: Rephrase comment.
1135         * solib-ia64-hpux.c (struct dld_info): Change type of field
1136         dld_flags from "long long" to ULONGEST.
1137
1138 2011-01-14  Pedro Alves  <pedro@codesourcery.com>
1139
1140         * target.h (deprecated_child_ops): Delete declaration.
1141         * target.c (deprecated_child_ops): Delete definition.
1142
1143 2011-01-14  Pedro Alves  <pedro@codesourcery.com>
1144
1145         * Makefile.in (hpux-thread.o): Delete rule.
1146         * configure.ac: Don't check for HPUX DCE threads support.
1147         * configure, config.in: Regenerate.
1148         * hppa-hpux-nat.c (child_suppress_run): Delete.
1149         (hppa_hpux_child_can_run): Delete.
1150         (_initialize_hppa_hpux_nat): Don't override to_can_run.
1151         * hpux-thread.c: Delete.
1152
1153 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1154
1155         * hpux-thread.c (hpux_pid_to_str): Delete.
1156
1157 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1158
1159         * ada-valprint.c (ada_emit_char): Remove strange code.
1160         Check that c is <= UCHAR_MAX before passing it to isascii.
1161         (char_at): Do not assume that TYPE_LEN is either 1 or 2.
1162
1163 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1164
1165         * top.c (input_from_terminal_p): Restrict the use of interactive_mode
1166         to the case where instream is stdin.
1167
1168 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1169
1170         * ia64-tdep.h (struct regcache): Forward declare.
1171         (struct ia64_infcall_ops): New struct type.
1172         (struct gdbarch_tdep): New fields "find_global_pointer_from_solib"
1173         and "infcall_ops".
1174         * ia64-tdep.c (ia64_find_global_pointer_from_dynamic_section):
1175         Renames ia64_find_global_pointer.
1176         (ia64_find_global_pointer, ia64_allocate_new_rse_frame)
1177         (ia64_store_argument_in_slot, ia64_set_function_addr: New function.
1178         (ia64_push_dummy_call): Adjust to use the new tdep ia64_infocall_ops
1179         methods.
1180         (ia64_infcall_ops): New static global constant.
1181         (ia64_gdbarch_init): Set tdep->infcall_ops.
1182         * ia64-hpux-nat.c (ia64_hpux_xfer_solib_got): New function.
1183         (ia64_hpux_xfer_partial): Add TARGET_OBJECT_HPUX_SOLIB_GOT handing.
1184         * ia64-hpux-tdep.c: Include "regcache.h", "gdbcore.h" and "inferior.h".
1185         (ia64_hpux_dummy_code): New static global constant.
1186         (ia64_hpux_push_dummy_code, ia64_hpux_allocate_new_rse_frame)
1187         (ia64_hpux_store_argument_in_slot, ia64_hpux_set_function_addr)
1188         (ia64_hpux_dummy_id, ia64_hpux_find_global_pointer_from_solib):
1189         New function.
1190         (ia64_hpux_infcall_ops): New static global constant.
1191         (ia64_hpux_init_abi): Install gdbarch and tdep methods needed
1192         for inferior function calls to work properly on ia64-hpux.
1193
1194 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1195
1196         * target.h (enum target_object): Add TARGET_OBJECT_HPUX_UREGS.
1197         * ia64-tdep.h (struct frame_info): forward declaration.
1198         (struct gdbarch_tdep): Add field size_of_register_frame.
1199         * ia64-tdep.c (ia64_access_reg): Use tdep->size_of_register_frame
1200         to determine the size of the register frame.
1201         (ia64_size_of_register_frame): New function.
1202         (ia64_gdbarch_init): Set tdep->size_of_register_frame.
1203         * ia64-hpux-tdep.c: Include "target.h" and "frame.h".
1204         (IA64_HPUX_UREG_REASON): New macro.
1205         (ia64_hpux_stopped_in_syscall, ia64_hpux_size_of_register_frame):
1206         New functions.
1207         (ia64_hpux_init_abi): Set tdep->size_of_register_frame.
1208         * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): New function.
1209         (ia64_hpux_xfer_partial): Add handling of TARGET_OBJECT_HPUX_UREGS
1210         objects.
1211
1212 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1213
1214         Add support for ia64-hpux.
1215         * config/ia64/hpux.mh, ia64-hpux-nat.c, ia64-hpux-tdep.c,
1216         ia64-hpux-tdep.h, solib-ia64-hpux.c, solib-ia64-hpux.h: New files.
1217
1218         * configure.host: Add handling for ia64-hpux hosts.  Add associated
1219         floatformats.
1220         * configure.tgt: Add handling for ia64-hpux targets.
1221         * Makefile.in (ALL_64_TARGET_OBS): Add ia64-hpux-tdep.o.
1222         (HFILES_NO_SRCDIR): Add ia64-hpux-tdep.h.
1223         (ALLDEPFILES): Add ia64-hpux-nat.c ia64-hpux-tdep.c.
1224
1225 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1226
1227         [ttrace] Compute thread list immediately after attach.
1228         * inf_ttrace_attach (inf_ttrace_create_threads_after_attach):
1229         New subprogram.
1230         (inf_ttrace_attach): Use it.
1231
1232 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1233
1234         * libunwind-frame.c (libunwind_frame_cache): Do not return NULL
1235         if we could not determine the frame's function address.  Instead,
1236         use the frame's PC, and then continue.
1237
1238 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1239
1240         * libunwind-frame.c (__LITTLE_ENDIAN, __BIG_ENDIAN): Define if
1241         not already defined.
1242
1243 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1244
1245         * ia64-tdep.c (ia64_struct_type_p): New function.
1246         (ia64_extract_return_value): Handle integral values that are
1247         less than 8 bytes long.
1248         (ia64_push_dummy_call): Likewise.
1249
1250 2011-01-13  Joel Brobecker  <brobecker@adacore.com>
1251
1252         * ia64-tdep.c (floatformat_ia64_ext_little): Renames
1253         floatformat_ia64_ext.
1254         (floatformat_ia64_ext_big): New static const.
1255         (floatformats_ia64_ext): Set first entry to &floatformat_ia64_ext_big.
1256
1257 2011-01-12  Tom Tromey  <tromey@redhat.com>
1258
1259         * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Fix error
1260         messages.
1261         * mi/mi-main.c (mi_cmd_thread_select): Fix error messages.
1262         (mi_cmd_thread_list_ids): Likewise.
1263         (mi_cmd_data_list_changed_registers): Likewise.
1264         (mi_cmd_data_list_register_values): Likewise.
1265         (mi_cmd_data_write_register_values): Likewise.
1266         (mi_cmd_data_evaluate_expression): Likewise.
1267         (mi_cmd_data_read_memory): Likewise.
1268         (mi_cmd_data_read_memory_bytes): Likewise.
1269         (mi_cmd_data_write_memory): Likewise.
1270         (mi_cmd_enable_timings): Likewise.
1271         * mi/mi-interp.c (mi_cmd_interpreter_exec): Fix error messages.
1272         * mi/mi-cmd-var.c (mi_cmd_var_create): Fix error messages.
1273         (mi_cmd_var_delete): Likewise.
1274         (mi_cmd_var_set_format): Likewise.
1275         (mi_cmd_var_show_format): Likewise.
1276         (mi_cmd_var_info_num_children): Likewise.
1277         (mi_cmd_var_list_children): Likewise.
1278         (mi_cmd_var_info_type): Likewise.
1279         (mi_cmd_var_info_expression): Likewise.
1280         (mi_cmd_var_show_attributes): Likewise.
1281         (mi_cmd_var_assign): Likewise.
1282         (mi_cmd_var_update): Likewise.
1283         (mi_cmd_enable_pretty_printing): Likewise.
1284         (mi_cmd_var_set_update_range): Likewise.
1285         * mi/mi-cmd-target.c (mi_cmd_target_file_get): Fix error
1286         messages.
1287         (mi_cmd_target_file_put): Likewise.
1288         (mi_cmd_target_file_delete): Likewise.
1289         * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Fix error
1290         messages.
1291         (mi_cmd_stack_info_depth): Likewise.
1292         (mi_cmd_stack_list_locals): Likewise.
1293         (mi_cmd_stack_list_args): Likewise.
1294         (mi_cmd_stack_select_frame): Likewise.
1295         (mi_cmd_stack_select_frame): Likewise.
1296         (mi_cmd_stack_info_frame): Likewise.
1297         * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file): Fix error
1298         messages.
1299         (mi_cmd_file_list_exec_source_files): Likewise.
1300         * mi/mi-cmd-env.c (mi_cmd_env_pwd): Fix error messages.
1301         (mi_cmd_env_cd): Likewise.
1302         (mi_cmd_env_path): Likewise.
1303         (mi_cmd_env_dir): Likewise.
1304         (mi_cmd_inferior_tty_show): Likewise.
1305         * mi/mi-cmd-disas.c (mi_cmd_disassemble): Fix error messages.
1306         * mi/mi-cmd-break.c (mi_cmd_break_insert): Fix error messages.
1307         (mi_cmd_break_watch): Likewise.
1308
1309 2011-01-12  Thiago Jung Bauermann  <bauerman@br.ibm.com>
1310
1311         * ppc-linux-nat.c (booke_cmp_hw_point): Fix whitespace.
1312         (ppc_linux_insert_hw_breakpoint): Likewise.
1313         (ppc_linux_remove_hw_breakpoint): Likewise.
1314         (ppc_linux_insert_watchpoint): Likewise.
1315
1316 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
1317             Jan Kratochvil  <jan.kratochvil@redhat.com>
1318
1319         PR fortran/11104 and DWARF unbound arrays detection.
1320         * dwarf2read.c (read_subrange_type): Set zero length on unspecified
1321         upper bound.  Set TYPE_HIGH_BOUND_UNDEFINED if not language_ada on
1322         unspecified upper bound.
1323         * eval.c (evaluate_subexp_standard) <multi_f77_subscript>: Remove
1324         variables array_size_array, tmp_type and offset_item.  New variable
1325         array.  Remove call to f77_get_upperbound.  New variables array_type
1326         and index.  Call value_subscripted_rvalue for each dimenasion.  Remove
1327         the final call to deprecated_set_value_type.
1328
1329 2011-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
1330
1331         Make value allocations more lazy.
1332         * ada-lang.c (coerce_unspec_val_to_type): Use allocate_value_lazy
1333         instead of allocate_value and set_value_lazy when possible.
1334         * dwarf2loc.c (dwarf2_evaluate_loc_desc_full): Use allocate_value_lazy 
1335         instead of allocate_value and set_value_lazy.
1336         * findvar.c (value_of_register_lazy): Likewise.
1337         (read_var_value): Remove V preallocation, call just check_typedef in
1338         advance.  Move allocate_value to LOC_CONST, LOC_LABEL, 
1339         LOC_CONST_BYTES.  Use allocate_value_lazy in LOC_STATIC, LOC_ARG,
1340         LOC_REF_ARG, LOC_LOCAL, LOC_BLOCK.  Set ADDR instead of
1341         set_value_address and break in LOC_BLOCK.  Use allocate_value_lazy and
1342         remove lval_memory set in LOC_REGPARM_ADDR.  Use allocate_value_lazy
1343         in LOC_UNRESOLVED and LOC_OPTIMIZED_OUT.  Add setting lval_memory at
1344         the end, remove set_value_lazy there.
1345         * valarith.c (value_subscripted_rvalue): Use allocate_value_lazy
1346         instead of allocate_value and set_value_lazy when possible.
1347         * valops.c (value_fetch_lazy): Do nop for value_optimized_out VAL.
1348         * value.c (allocate_computed_value): Use allocate_value_lazy instead
1349         of allocate_value and set_value_lazy.
1350         (value_from_contents_and_address): Use allocate_value_lazy instead of
1351         allocate_value and set_value_lazy when possible.
1352
1353 2011-01-12  Andrew Burgess  <aburgess@broadcom.com>
1354
1355         * disasm.c (dump_insns): Support dumping opcodes for MI.
1356         * mi/mi-cmd-disas.c (mi_cmd_disassemble): Allow mode to control
1357         dumping of instruction opcodes.
1358
1359 2011-01-09  Robert Millan  <rmh@gnu.org>  (tiny patch)
1360
1361         * configure.tgt: Detect GNU/kFreeBSD and set `gdb_osabi'
1362         appropiately.
1363
1364 2011-01-11  Tom Tromey  <tromey@redhat.com>
1365
1366         * thread.c (do_captured_thread_select): Emit newline before
1367         printing frame.
1368
1369 2011-01-11  Michael Snyder  <msnyder@vmware.com>
1370
1371         * s390-tdep.c: Comment cleanup, mostly periods and spaces.
1372         * score-tdep.c: Ditto.
1373         * score-tdep.h: Ditto.
1374         * ser-base.c: Ditto.
1375         * ser-go32.c: Ditto.
1376         * serial.c: Ditto.
1377         * serial.h: Ditto.
1378         * ser-mingw.c: Ditto.
1379         * ser-pipe.c: Ditto.
1380         * ser-tcp.c: Ditto.
1381         * ser-unix.c: Ditto.
1382         * sh64-tdep.c: Ditto.
1383         * shnbsd-nat.c: Ditto.
1384         * sh-tdep.c: Ditto.
1385         * sh-tdep.h: Ditto.
1386         * solib.c: Ditto.
1387         * solib-darwin.c: Ditto.
1388         * solib-frv.c: Ditto.
1389         * solib.h: Ditto.
1390         * solib-irix.c: Ditto.
1391         * solib-osf.c: Ditto.
1392         * solib-pa64.c: Ditto.
1393         * solib-som.c: Ditto.
1394         * solib-spu.c: Ditto.
1395         * solib-sunos.c: Ditto.
1396         * solib-svr4.c: Ditto.
1397         * solist.h: Ditto.
1398         * sol-thread.c: Ditto.
1399         * somread.c: Ditto.
1400         * source.c: Ditto.
1401         * source.h: Ditto.
1402         * sparc64-linux-tdep.c: Ditto.
1403         * sparc64-tdep.c: Ditto.
1404         * sparc-linux-nat.c: Ditto.
1405         * sparc-linux-tdep.c: Ditto.
1406         * sparc-sol2-nat.c: Ditto.
1407         * sparc-sol2-tdep.c: Ditto.
1408         * sparc-tdep.c: Ditto.
1409         * sparc-tdep.h: Ditto.
1410         * spu-tdep.c: Ditto.
1411         * stabsread.c: Ditto.
1412         * stabsread.h: Ditto.
1413         * stack.c: Ditto.
1414         * symfile.c: Ditto.
1415         * symfile.h: Ditto.
1416         * symmisc.c: Ditto.
1417         * symtab.c: Ditto.
1418         * symtab.h: Ditto.
1419         * target.c: Ditto.
1420         * target-descriptions.c: Ditto.
1421         * target-descriptions.h: Ditto.
1422         * target.h: Ditto.
1423         * target-memory.c: Ditto.
1424         * terminal.h: Ditto.
1425         * thread.c: Ditto.
1426         * top.c: Ditto.
1427         * tracepoint.c: Ditto.
1428         * tracepoint.h: Ditto.
1429         * trad-frame.h: Ditto.
1430         * typeprint.c: Ditto.
1431
1432 2011-01-11  Michael Snyder  <msnyder@vmware.com>
1433
1434         * ui-file.c: Comment cleanup, mostly periods and spaces.
1435         * ui-file.h: Ditto.
1436         * ui-out.c: Ditto.
1437         * ui-out.h: Ditto.
1438         * utils.c: Ditto.
1439         * v850-tdep.c: Ditto.
1440         * valarith.c: Ditto.
1441         * valops.c: Ditto.
1442         * valprint.c: Ditto.
1443         * valprint.h: Ditto.
1444         * value.c: Ditto.
1445         * value.h: Ditto.
1446         * varobj.c: Ditto.
1447         * varobj.h: Ditto.
1448         * vax-tdep.c: Ditto.
1449         * vec.c: Ditto.
1450         * vec.h: Ditto.
1451         * version.h: Ditto.
1452         * windows-nat.c: Ditto.
1453         * windows-tdep.c: Ditto.
1454         * xcoffread.c: Ditto.
1455         * xcoffsolib.c: Ditto.
1456         * xml-support.c: Ditto.
1457         * xstormy16-tdep.c: Ditto.
1458         * xtensa-tdep.c: Ditto.
1459         * xtensa-tdep.h: Ditto.
1460
1461 2011-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
1462
1463         * breakpoint.c (resources_needed_watchpoint): Fix indentation.
1464         * gdbtypes.c (is_scalar_type_recursive): Fix formatting.
1465
1466 2011-01-11  Sergio Durigan Junior  <sergiodj@linux.vnet.ibm.com>
1467             Thiago Jung Bauermann  <bauerman@br.ibm.com>
1468
1469         Implement support for PowerPC BookE ranged watchpoints.
1470         * breakpoint.h 
1471         (struct breakpoint_ops) <resources_needed>: New method.
1472         Initialize to NULL in all existing breakpoint_ops instances.
1473         (struct breakpoint) <exact>: New field.
1474         (target_exact_watchpoints): Declare external global.
1475         * breakpoint.c (target_exact_watchpoints): New global flag.
1476         (update_watchpoint): Set b->type to bp_hardware_watchpoint and
1477         b->enable_state to bp_enabled before calling
1478         hw_watchpoint_used_count.
1479         (hw_watchpoint_used_count): Iterate over all bp_locations in a
1480         watchpoint.  Call breakpoint's breakpoint_ops.resources_needed
1481         if available.
1482         (insert_watchpoint, remove_watchpoint): Use fixed length of 1 byte
1483         if the watchpoint is exact.
1484         (resources_needed_watchpoint): New function.
1485         (watchpoint_breakpoint_ops): Add resources_needed_watchpoint.
1486         (watch_command_1): Set b->exact if the user asked for an exact
1487         watchpoint and one can be set.
1488         (can_use_hardware_watchpoint): Add exact_watchpoints argument.
1489         Pass fixed length of 1 to target_region_ok_for_hw_watchpoint if
1490         the user asks for an exact watchpoint and one can be set.  Return
1491         number of needed debug registers to watch the expression.
1492         * gdbtypes.c (is_scalar_type): New function, based on
1493         valprint.c:scalar_type_p.
1494         (is_scalar_type_recursive): New function.
1495         * gdbtypes.h (is_scalar_type_recursive): Declare.
1496         * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Always
1497         handle regions when ranged watchpoints are available.
1498         (create_watchpoint_request): New function.
1499         (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use
1500         create_watchpoint_request.
1501         * rs6000-tdep.c (show_powerpc_exact_watchpoints): New function.
1502         (_initialize_rs6000_tdep): Add `exact-watchpoints' boolean to the
1503         `set powerpc' and `show powerpc' commands.
1504         * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
1505         Mention documentation comment in the target macro.
1506         (target_region_ok_for_hw_watchpoint): Document return value.
1507
1508 2011-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
1509
1510         * breakpoint.c (update_watchpoint): Decide on using a software or
1511         hardware watchpoint after the bp_locations are created.
1512
1513 2010-01-11  Thiago Jung Bauermann  <bauerman@br.ibm.com>
1514
1515         Convert hardware watchpoints to use breakpoint_ops.
1516         * breakpoint.h (breakpoint_ops) <insert>: Rename to...
1517         <insert_location>: ... this.  Return int instead of void.
1518         Accept pointer to struct bp_location instead of pointer to
1519         struct breakpoint.  Adapt all implementations.
1520         (breakpoint_ops) <remove>: Rename to... 
1521         <remove_location>: ... this.  Accept pointer to struct bp_location
1522         instead of pointer to struct breakpoint.  Adapt all implementations.
1523         * breakpoint.c (insert_catchpoint): Delete function.
1524         (insert_bp_location): Call the watchpoint or catchpoint's
1525         breakpoint_ops.insert method.
1526         (remove_breakpoint_1): Call the watchpoint or catchpoint's
1527         breakpoint_ops.remove method.
1528         (insert_watchpoint, remove_watchpoint): New functions.
1529         (watchpoint_breakpoint_ops): New structure.
1530         (watch_command_1): Initialize the OPS field.
1531         * inf-child.c (inf_child_insert_fork_catchpoint)
1532         (inf_child_remove_fork_catchpoint, inf_child_insert_vfork_catchpoint)
1533         (inf_child_remove_vfork_catchpoint, inf_child_insert_exec_catchpoint)
1534         (inf_child_remove_exec_catchpoint, inf_child_set_syscall_catchpoint):
1535         Delete functions.
1536         (inf_child_target): Remove initialization of to_insert_fork_catchpoint,
1537         to_remove_fork_catchpoint, to_insert_vfork_catchpoint,
1538         to_remove_vfork_catchpoint, to_insert_exec_catchpoint,
1539         to_remove_exec_catchpoint and to_set_syscall_catchpoint.
1540         * target.c (update_current_target): Change default implementation of
1541         to_insert_fork_catchpoint, to_remove_fork_catchpoint,
1542         to_insert_vfork_catchpoint, to_remove_vfork_catchpoint,
1543         to_insert_exec_catchpoint, to_remove_exec_catchpoint and
1544         to_set_syscall_catchpoint to return_one.
1545         (debug_to_insert_fork_catchpoint, debug_to_insert_vfork_catchpoint)
1546         (debug_to_insert_exec_catchpoint): Report return value.
1547         * target.h (to_insert_fork_catchpoint, to_insert_vfork_catchpoint)
1548         (to_insert_exec_catchpoint): Change declaration to return int instead
1549         of void.
1550
1551 2011-01-11  Michael Snyder  <msnyder@vmware.com>
1552
1553         * arm-tdep.c: Internationalization.
1554         * c-lang.c: Ditto.
1555         * charset.c: Ditto.
1556         * fork-child.c: Ditto.
1557         * nto-procfs.c: Ditto.
1558         * ppc-sysv-tdep.c: Ditto.
1559         * procfs.c: Ditto.
1560         * remote-mips.c: Ditto.
1561         * remote.c: Ditto.
1562         * rs6000-nat.c: Ditto.
1563         * rs6000-tdep.c: Ditto.
1564         * target.c: Ditto.
1565         * valops.c: Ditto.
1566         * value.c: Ditto.
1567         * xml-support.c: Ditto.
1568         * mi/mi-cmd-break.c: Ditto.
1569         * mi/mi-cmd-var.c: Ditto.
1570         * mi/mi-interp.c: Ditto.
1571         * mi/mi-main.c: Ditto.
1572
1573 2011-01-11  Andrew Burgess  <aburgess@broadcom.com>
1574
1575         * remote-sim.c (gdbsim_store_register): Update API to
1576         sim_store_register to check more error conditions.
1577
1578 2011-01-10  Michael Snyder  <msnyder@vmware.com>
1579
1580         * nto-procfs.c: Comment cleanup, mostly periods and spaces.
1581         * nto-tdep.c: Ditto.
1582         * nto-tdep.h: Ditto.
1583         * objc-exp.y: Ditto.
1584         * objc-lang.c: Ditto.
1585         * objfiles.c: Ditto.
1586         * objfiles.h: Ditto.
1587         * observer.c: Ditto.
1588         * opencl-lang.c: Ditto.
1589         * osabi.c: Ditto.
1590         * parse.c: Ditto.
1591         * parser-defs.h: Ditto.
1592         * p-exp.y: Ditto.
1593         * p-lang.c: Ditto.
1594         * posix-hdep.c: Ditto.
1595         * ppcbug-rom.c: Ditto.
1596         * ppc-linux-nat.c: Ditto.
1597         * ppc-linux-tdep.c: Ditto.
1598         * ppc-linux-tdep.h: Ditto.
1599         * ppcnbsd-tdep.c: Ditto.
1600         * ppcobsd-tdep.c: Ditto.
1601         * ppcobsd-tdep.h: Ditto.
1602         * ppc-sysv-tdep.c: Ditto.
1603         * ppc-tdep.h: Ditto.
1604         * printcmd.c: Ditto.
1605         * proc-abi.c: Ditto.
1606         * proc-flags.c: Ditto.
1607         * procfs.c: Ditto.
1608         * proc-utils.h: Ditto.
1609         * progspace.h: Ditto.
1610         * prologue-value.c: Ditto.
1611         * prologue-value.h: Ditto.
1612         * psympriv.h: Ditto.
1613         * psymtab.c: Ditto.
1614         * p-typeprint.c: Ditto.
1615         * p-valprint.c: Ditto.
1616         * ravenscar-sparc-thread.c: Ditto.
1617         * ravenscar-thread.c: Ditto.
1618         * ravenscar-thread.h: Ditto.
1619         * record.c: Ditto.
1620         * regcache.c: Ditto.
1621         * regcache.h: Ditto.
1622         * remote.c: Ditto.
1623         * remote-fileio.c: Ditto.
1624         * remote-fileio.h: Ditto.
1625         * remote.h: Ditto.
1626         * remote-m32r-sdi.c: Ditto.
1627         * remote-mips.c: Ditto.
1628         * remote-sim.c: Ditto.
1629         * rs6000-aix-tdep.c: Ditto.
1630         * rs6000-nat.c: Ditto.
1631         * rs6000-tdep.c: Ditto.
1632
1633 2011-01-10  Michael Snyder  <msnyder@vmware.com>
1634
1635         * charset.c (validate): Internationalization.
1636         * coffread.c (read_one_sym): Ditto.
1637         * dwarf2read.c (dwarf2_attach_fields_to_type): Ditto.
1638         * h8300-tdep.c (H8300_extract_return_value): Ditto.
1639         * inflow.c (new_tty): Ditto.
1640         * iq2000-tdep.c (iq2000_breakpoint_from_pc): Ditto.
1641         * m32c-tdep.c (m32c_return_value): Ditto.
1642         * mep-tdep.c (mep_store_return_value): Ditto.
1643         * score-tdep.c (score7_fetch_insn): Ditto.
1644         * ser-mingw.c (pipe_windows_open): Ditto.
1645         * sh64-tdep.c (sh64_extract_return_value): Ditto.
1646         * spu-tdep.c (spu_register_type): Ditto.
1647         * tracepoint.c (trace_find_command): Ditto.
1648         * valarith.c (value_pos): Ditto.
1649
1650 2011-01-10  Joel Brobecker  <brobecker@adacore.com>
1651
1652         * ada-valprint.c (printstr): Minor comment reformatting.
1653
1654 2011-01-08  Michael Snyder  <msnyder@vmware.com>
1655
1656         * m32r-rom.c (m32r_upload_command): Fix up ARI warnings for _
1657         markup.
1658
1659 2011-01-08  Michael Snyder  <msnyder@vmware.com>
1660
1661         * h8300-tdep.c: Comment cleanup, mostly periods and spaces.
1662         * hppa-hpux-tdep.c: Ditto.
1663         * hppa-linux-nat.c: Ditto.
1664         * hppa-linux-tdep.c: Ditto.
1665         * hppanbsd-tdep.c: Ditto.
1666         * hppa-tdep.c: Ditto.
1667         * hppa-tdep.h: Ditto.
1668         * hpux-thread.c: Ditto.
1669         * i386-cygwin-tdep.c: Ditto.
1670         * i386-darwin-nat.c: Ditto.
1671         * i386gnu-nat.c: Ditto.
1672         * i386-linux-nat.c: Ditto.
1673         * i386-linux-tdep.c: Ditto.
1674         * i386-nat.c: Ditto.
1675         * i386-nat.h: Ditto.
1676         * i386nbsd-tdep.c: Ditto.
1677         * i386-sol2-nat.c: Ditto.
1678         * i386-stub.c: Ditto.
1679         * i386-tdep.c: Ditto.
1680         * i386-tdep.h: Ditto.
1681         * i387-tdep.c: Ditto.
1682         * ia64-linux-nat.c: Ditto.
1683         * ia64-linux-tdep.c: Ditto.
1684         * ia64-tdep.c: Ditto.
1685         * infcall.c: Ditto.
1686         * infcall.h: Ditto.
1687         * infcmd.c: Ditto.
1688         * inferior.c: Ditto.
1689         * inferior.h: Ditto.
1690         * infloop.c: Ditto.
1691         * inflow.c: Ditto.
1692         * infrun.c: Ditto.
1693         * interps.c: Ditto.
1694         * interps.h: Ditto.
1695         * iq2000-tdep.c: Ditto.
1696         * irix5-nat.c: Ditto.
1697         * jit.c: Ditto.
1698         * jit.h: Ditto.
1699         * jv-exp.y: Ditto.
1700         * jv-lang.c: Ditto.
1701         * jv-lang.h: Ditto.
1702         * jv-typeprint.c: Ditto.
1703         * jv-valprint.c: Ditto.
1704         * language.c: Ditto.
1705         * language.h: Ditto.
1706         * linespec.c: Ditto.
1707         * linux-fork.c: Ditto.
1708         * linux-nat.c: Ditto.
1709         * linux-thread-db.c: Ditto.
1710         * lm32-tdep.c: Ditto.
1711
1712 2011-01-08  Michael Snyder  <msnyder@vmware.com>
1713
1714         * m2-exp.y: Comment cleanup, mostly periods and spaces.
1715         * m2-lang.c: Ditto.
1716         * m2-typeprint.c: Ditto.
1717         * m2-valprint.c: Ditto.
1718         * m32c-tdep.c: Ditto.
1719         * m32r-linux-nat.c: Ditto.
1720         * m32r-rom.c: Ditto.
1721         * m32r-tdep.c: Ditto.
1722         * m32r-tdep.h: Ditto.
1723         * m68hc11-tdep.c: Ditto.
1724         * m58klinux-nat.c: Ditto.
1725         * m68k-tdep.c: Ditto.
1726         * m88k-tdep.c: Ditto.
1727         * m88k-tdep.h: Ditto.
1728         * machoread.c: Ditto.
1729         * macrocmd.c: Ditto.
1730         * macroexp.c: Ditto.
1731         * macrotab.c: Ditto.
1732         * main.c: Ditto.
1733         * maint.c: Ditto.
1734         * mdebugread.c: Ditto.
1735         * mdebugread.h: Ditto.
1736         * memattr.c: Ditto.
1737         * memattr.h: Ditto.
1738         * memory-map.h: Ditto.
1739         * mep-tdep.c: Ditto.
1740         * microblaze-rom.c: Ditto.
1741         * microblaze-tdep.c: Ditto.
1742         * minsyms.c: Ditto.
1743         * mips-irix-tdep.c: Ditto.
1744         * mips-linux-nat.c: Ditto.
1745         * mips-linux-tdep.c: Ditto.
1746         * mips-linux-tdep.h: Ditto.
1747         * mipsnbsd-nat.c: Ditto.
1748         * mipsnbsd-tdep.c: Ditto.
1749         * mipsread.c: Ditto.
1750         * mips-tdep.c: Ditto.
1751         * mips-tdep.h: Ditto.
1752         * mn10300-linux-tdep.c: Ditto.
1753         * mn10300-tdep.c: Ditto.
1754         * mn10300-tdep.h: Ditto.
1755         * monitor.c: Ditto.
1756         * monitor.h: Ditto.
1757         * moxie-tdep.c: Ditto.
1758         * moxie-tdep.h: Ditto.
1759         * mt-tdep.c: Ditto.
1760
1761 2011-01-08  Mike Frysinger  <vapier@gentoo.org>
1762
1763         * bfin-tdep.h (BFIN_A0_DOT_W_REGNUM): Fix typo in name.
1764
1765 2011-01-08  Robert Millan  <rmh@gnu.org>
1766
1767         * fbsd-nat.c (fbsd_find_memory_regions): Fix typo.
1768
1769 2011-01-07  Michael Snyder  <msnyder@vmware.com>
1770
1771         * charset.c (_initialize_charset): Fix typo in string.
1772
1773 2011-01-07  Michael Snyder  <msnyder@vmware.com>
1774
1775         * mi/mi-cmd-disas.c (mi_cmd_disassemble): Mark up error message
1776         for i18n.
1777         * tui/tui-layout.c (tui_set_layout_for_display_command): 
1778         Split line so that operator goes to beginning of line.
1779         * tui/tui-winsource.c (tui_horizontal_source_scroll): Move
1780         assignment out of if statement.
1781
1782 2011-01-07  Michael Snyder  <msnyder@vmware.com>
1783
1784         * ada-lang.c: Comment cleanup, mostly periods and spaces.
1785         * ada-lang.h: Ditto.
1786         * ada-tasks.c: Ditto.
1787         * ada-valprint.c: Ditto.
1788         * aix-threads.c: Ditto.
1789         * alpha-linux-nat.c: Ditto.
1790         * alpha-linux-tdep.c: Ditto.
1791         * alpha-mdebug-tdep.c: Ditto.
1792         * alpha-nat.c: Ditto.
1793         * alpha-osf1-tdep.c: Ditto.
1794         * alpha-tdep.c: Ditto.
1795         * alphabsd-nat.c: Ditto.
1796         * alphabsd-tdep.c: Ditto.
1797         * amd64-darwin-tdep.c: Ditto.
1798         * amd64-linux-nat.c: Ditto.
1799         * amd64-linux-tdep.c: Ditto.
1800         * amd64-sol2-tdep.c: Ditto.
1801         * amd64-tdep.c: Ditto.
1802         * amd64-fbsd-tdep.c: Ditto.
1803         * amd64-nbsd-tdep.c: Ditto.
1804         * amd64-obsd-tdep.c: Ditto.
1805         * amd64-linux-nat.c: Ditto.
1806         * amd64-linux-tdep.c: Ditto.
1807         * arm-tdep.c: Ditto.
1808         * arm-tdep.h: Ditto.
1809         * armnbsd-nat.c: Ditto.
1810         * avr-tdep.c: Ditto.
1811         * bfin-tdep.c: Ditto.
1812         * bsd-kvm.c: Ditto.
1813         * c-typeprintc: Ditto.
1814         * c-valprint.c: Ditto.
1815         * coff-pe-read.h: Ditto.
1816         * coffreead.c: Ditto.
1817         * cris-tdep.c: Ditto.
1818         * d-lang.c: Ditto.
1819         * darwin-nat-info.c: Ditto.
1820         * darwin-nat.c: Ditto.
1821         * dbug-rom.c: Ditto.
1822         * dbxread.c: Ditto.
1823         * dcache.c: Ditto.
1824         * dcache.h: Ditto.
1825         * dec-thread.c: Ditto.
1826         * defs.h: Ditto.
1827         * demangle.c: Ditto.
1828         * dicos-tdep.c: Ditto.
1829         * dictionary.c: Ditto.
1830         * dictionary.h: Ditto.
1831         * dink32-rom.c: Ditto.
1832         * disasm.c: Ditto.
1833         * doublest.c: Ditto.
1834         * dsrec.c: Ditto.
1835         * dummy-frame.c: Ditto.
1836         * dwarf2-frame.c: Ditto.
1837         * dwarf2expr.c: Ditto.
1838         * dwarf2loc.c: Ditto.
1839         * dwarf2read.c: Ditto.
1840         * elfread.c: Ditto.
1841         * environ.c: Ditto.
1842         * eval.c: Ditto.
1843         * event-top.h: Ditto.
1844         * exceptions.c: Ditto.
1845         * exceptions.h: Ditto.
1846         * exec.c: Ditto.
1847         * expprint.c: Ditto.
1848         * expression.h: Ditto.
1849         * f-exp.y: Ditto.
1850         * f-lang.c: Ditto.
1851         * f-lang.h: Ditto.
1852         * f-typeprint.c: Ditto.
1853         * f-valprint.c: Ditto.
1854         * fbsd-nat.c: Ditto.
1855         * findvar.c: Ditto.
1856         * fork-child.c: Ditto.
1857         * frame.c: Ditto.
1858         * frame.h: Ditto.
1859         * frv-linux-tdep.c: Ditto.
1860         * frv-tdep.c: Ditto.
1861         * gcore.c: Ditto.
1862         * gdb-stabs.h: Ditto.
1863         * gdb_assert.h: Ditto.
1864         * gdb_string.h: Ditto.
1865         * gdb_thread_db.h: Ditto.
1866         * gdb_wait.h: Ditto.
1867         * gdbarch.sh: Ditto.
1868         * gdbcore.h: Ditto.
1869         * gdbthread.h: Ditto.
1870         * gdbtypes.c: Ditto.
1871         * gdbtypes.h: Ditto.
1872         * gnu-nat.c: Ditto.
1873         * gnu-nat.h: Ditto.
1874         * gnu-v2-abi.c: Ditto.
1875         * gnu-v3-abi.c: Ditto.
1876         * go32-nat.c: Ditto.
1877         * gdbarch.c: Regenerate.
1878         * gdbarch.h: Regenerate.
1879
1880 2011-01-07  Michael Snyder  <msnyder@vmware.com>
1881
1882         * ax-gdb.c: Adjust some long output strings.
1883         * breakpoint.c: Ditto.
1884         * charset.c: Ditto.
1885         * cp-abi.c: Ditto.
1886         * infcall.c: Ditto.
1887         * infrun.c: Ditto.
1888         * linux-nat.c: Ditto.
1889         * solib-pa64.c: Ditto.
1890         * solib-som.c: Ditto.
1891
1892 2011-01-06  Tom Tromey  <tromey@redhat.com>
1893
1894         PR python/12367:
1895         * NEWS: Add item.
1896         * python/python.c (GdbMethods): Add "newest_frame" method.
1897         * python/python-internal.h (gdbpy_newest_frame): Declare.
1898         * python/py-frame.c (gdbpy_newest_frame): New function.
1899
1900 2010-01-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
1901
1902         * jit.h (struct jit_code_entry): use ULONGEST for symfile_size.
1903         * jit.c (jit_debug): New variable.
1904         (show_jit_debug): New function.
1905         (struct target_buffer): Use ULONGEST.
1906         (bfd_open_from_target_memory): Likewise.
1907         (jit_register_code, jit_inferior_init): Add debug output.
1908         (_initialize_jit): Register "debug jit" command.
1909
1910 2011-01-06  Tom Tromey  <tromey@redhat.com>
1911
1912         * frame.h (enum frame_type) <INLINE_FRAME>: Fix comment.
1913         * python/py-frame.c (gdbpy_initialize_frames): Add INLINE_FRAME
1914         and ARCH_FRAME.
1915
1916 2011-01-06  Tom Tromey  <tromey@redhat.com>
1917
1918         * python/py-frame.c (frapy_block): Use get_frame_block.
1919
1920 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
1921
1922         Do not stop on SIGPRIO signals by default
1923         * infrun.c (_initialize_infrun): Unset signal_stop and
1924         signal_print for TARGET_SIGNAL_PRIO.
1925
1926 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
1927
1928         * ada-tasks.c: Fix style violation in comment.
1929
1930 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
1931
1932         * linespec.c (decode_compound, find_method): Remove trailing \n
1933         at end of error string.
1934         * solib-irix.c (irix_current_sos): Likewise.
1935         * varobj.c (uninstall_variable): Likewise.
1936
1937 2011-01-06  Joel Brobecker  <brobecker@adacore.com>
1938
1939         * copyright.py: New script.
1940         * copyright.sh (byhand): Add *.ads, *.adb, *.gpr and *.inc.
1941         Launch emacs without exec'ing. Call copyright.py afterwards.
1942
1943 2011-01-05  Michael Snyder  <msnyder@vmware.com>
1944
1945         * addrmap.c: Shorten lines of >= 80 columns.
1946         * arch-utils.c: Ditto.
1947         * arch-utils.h: Ditto.
1948         * ax-gdb.c: Ditto.
1949         * ax-general.c: Ditto.
1950         * bcache.c: Ditto.
1951         * blockframe.c: Ditto.
1952         * breakpoint.c: Ditto.
1953         * buildsym.c: Ditto.
1954         * c-lang.c: Ditto.
1955         * c-typeprint.c: Ditto.
1956         * charset.c: Ditto.
1957         * coffread.c: Ditto.
1958         * command.h: Ditto.
1959         * corelow.c: Ditto.
1960         * cp-abi.c: Ditto.
1961         * cp-namespace.c: Ditto.
1962         * cp-support.c: Ditto.
1963         * dbug-rom.c: Ditto.
1964         * dbxread.c: Ditto.
1965         * defs.h: Ditto.
1966         * dfp.c: Ditto.
1967         * dfp.h: Ditto.
1968         * dictionary.c: Ditto.
1969         * disasm.c: Ditto.
1970         * doublest.c: Ditto.
1971         * dwarf2-frame.c: Ditto.
1972         * dwarf2expr.c: Ditto.
1973         * dwarf2loc.c: Ditto.
1974         * dwarf2read.c: Ditto.
1975         * elfread.c: Ditto.
1976         * eval.c: Ditto.
1977         * event-loop.c: Ditto.
1978         * event-loop.h: Ditto.
1979         * exceptions.h: Ditto.
1980         * exec.c: Ditto.
1981         * expprint.c: Ditto.
1982         * expression.h: Ditto.
1983         * f-lang.c: Ditto.
1984         * f-valprint.c: Ditto.
1985         * findcmd.c: Ditto.
1986         * frame-base.c: Ditto.
1987         * frame-unwind.c: Ditto.
1988         * frame-unwind.h: Ditto.
1989         * frame.c: Ditto.
1990         * frame.h: Ditto.
1991         * gcore.c: Ditto.
1992         * gdb-stabs.h: Ditto.
1993         * gdb_assert.h: Ditto.
1994         * gdb_dirent.h: Ditto.
1995         * gdb_obstack.h: Ditto.
1996         * gdbcore.h: Ditto.
1997         * gdbtypes.c: Ditto.
1998         * gdbtypes.h: Ditto.
1999         * inf-ttrace.c: Ditto.
2000         * infcall.c: Ditto.
2001         * infcmd.c: Ditto.
2002         * inflow.c: Ditto.
2003         * infrun.c: Ditto.
2004         * inline-frame.h: Ditto.
2005         * language.c: Ditto.
2006         * language.h: Ditto.
2007         * libunwind-frame.c: Ditto.
2008         * libunwind-frame.h: Ditto.
2009         * linespec.c: Ditto.
2010         * linux-nat.c: Ditto.
2011         * linux-nat.h: Ditto.
2012         * linux-thread-db.c: Ditto.
2013         * machoread.c: Ditto.
2014         * macroexp.c: Ditto.
2015         * macrotab.c: Ditto.
2016         * main.c: Ditto.
2017         * maint.c: Ditto.
2018         * mdebugread.c: Ditto.
2019         * memattr.c: Ditto.
2020         * minsyms.c: Ditto.
2021         * monitor.c: Ditto.
2022         * monitor.h: Ditto.
2023         * objfiles.c: Ditto.
2024         * objfiles.h: Ditto.
2025         * osabi.c: Ditto.
2026         * p-typeprint.c: Ditto.
2027         * p-valprint.c: Ditto.
2028         * parse.c: Ditto.
2029         * printcmd.c: Ditto.
2030         * proc-events.c: Ditto.
2031         * procfs.c: Ditto.
2032         * progspace.c: Ditto.
2033         * progspace.h: Ditto.
2034         * psympriv.h: Ditto.
2035         * psymtab.c: Ditto.
2036         * record.c: Ditto.
2037         * regcache.c: Ditto.
2038         * regcache.h: Ditto.
2039         * remote-fileio.c: Ditto.
2040         * remote.c: Ditto.
2041         * ser-mingw.c: Ditto.
2042         * ser-tcp.c: Ditto.
2043         * ser-unix.c: Ditto.
2044         * serial.c: Ditto.
2045         * serial.h: Ditto.
2046         * solib-frv.c: Ditto.
2047         * solib-irix.c: Ditto.
2048         * solib-osf.c: Ditto.
2049         * solib-pa64.c: Ditto.
2050         * solib-som.c: Ditto.
2051         * solib-sunos.c: Ditto.
2052         * solib-svr4.c: Ditto.
2053         * solib-target.c: Ditto.
2054         * solib.c: Ditto.
2055         * somread.c: Ditto.
2056         * source.c: Ditto.
2057         * stabsread.c: Ditto.
2058         * stabsread.c: Ditto.
2059         * stack.c: Ditto.
2060         * stack.h: Ditto.
2061         * symfile-mem.c: Ditto.
2062         * symfile.c: Ditto.
2063         * symfile.h: Ditto.
2064         * symmisc.c: Ditto.
2065         * symtab.c: Ditto.
2066         * symtab.h: Ditto.
2067         * target-descriptions.c: Ditto.
2068         * target-memory.c: Ditto.
2069         * target.c: Ditto.
2070         * target.h: Ditto.
2071         * terminal.h: Ditto.
2072         * thread.c: Ditto.
2073         * top.c: Ditto.
2074         * tracepoint.c: Ditto.
2075         * tracepoint.h: Ditto.
2076         * ui-file.c: Ditto.
2077         * ui-file.h: Ditto.
2078         * ui-out.h: Ditto.
2079         * user-regs.c: Ditto.
2080         * user-regs.h: Ditto.
2081         * utils.c: Ditto.
2082         * valarith.c: Ditto.
2083         * valops.c: Ditto.
2084         * valprint.c: Ditto.
2085         * valprint.h: Ditto.
2086         * value.c: Ditto.
2087         * varobj.c: Ditto.
2088         * varobj.h: Ditto.
2089         * vec.h: Ditto.
2090         * xcoffread.c: Ditto.
2091         * xcoffsolib.c: Ditto.
2092         * xcoffsolib.h: Ditto.
2093         * xml-syscall.c: Ditto.
2094         * xml-tdesc.c: Ditto.
2095
2096 2011-01-05  Michael Snyder  <msnyder@vmware.com>
2097
2098         * cli/cli-cmds.c: Shorten lines of >= 80 columns.
2099         * cli/cli-decode.c: Ditto.
2100         * cli/cli-dump.c: Ditto.
2101         * cli/cli-logging.c: Ditto.
2102         * cli/cli-script.c: Ditto.
2103         * cli/cli-setshow.c: Ditto.
2104         * common/signals.c: Ditto.
2105         * mi/mi-cmd-break.c: Ditto.
2106         * mi/mi-cmd-disas.c: Ditto.
2107         * mi/mi-cmd-stack.c: Ditto.
2108         * mi/mi-cmd-var.c: Ditto.
2109         * mi/mi-cmds.c: Ditto.
2110         * mi/mi-common.h: Ditto.
2111         * mi/mi-console.c: Ditto.
2112         * mi/mi-interp.c: Ditto.
2113         * mi/mi-main.c: Ditto.
2114         * osf-share/cma_attr.c: Ditto.
2115         * osf-share/cma_deb_core.h: Ditto.
2116         * osf-share/cma_debug_client.h: Ditto.
2117         * osf-share/cma_handle.h: Ditto.
2118         * osf-share/cma_mutex.h: Ditto.
2119         * osf-share/cma_stack_int.h: Ditto.
2120         * osf-share/cma_tcb_defs.h: Ditto.
2121         * python/py-auto-load.c: Ditto.
2122         * python/py-breakpoint.c: Ditto.
2123         * python/py-cmd.c: Ditto.
2124         * python/py-frame.c: Ditto.
2125         * python/py-objfile.c: Ditto.
2126         * python/py-param.c: Ditto.
2127         * python/py-progspace.c: Ditto.
2128         * python/py-symbol.c: Ditto.
2129         * python/py-value.c: Ditto.
2130         * python/python-internal.h: Ditto.
2131         * python/python.c: Ditto.
2132         * tui/tui-data.c: Ditto.
2133         * tui/tui-disasm.c: Ditto.
2134         * tui/tui-hooks.c: Ditto.
2135         * tui/tui-io.c: Ditto.
2136         * tui/tui-layout.c: Ditto.
2137         * tui/tui-regs.c: Ditto.
2138         * tui/tui-source.c: Ditto.
2139         * tui/tui-stack.c: Ditto.
2140         * tui/tui-win.c: Ditto.
2141         * tui/tui-windata.c: Ditto.
2142         * tui/tui-winsource.c: Ditto.
2143
2144 2011-01-05  Joel Brobecker  <brobecker@adacore.com>
2145
2146         * configure.ac, gdb.1: Copyright year update.
2147
2148 2011-01-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
2149
2150         * frame.c (get_prev_frame_1) <UNWIND_INNER_ID>: New variables
2151         this_pc_in_block, morestack_msym and morestack_name.  Check for
2152         "__morestack" minimal symbol there.
2153
2154 2011-01-03  Joel Brobecker  <brobecker@adacore.com>
2155
2156         * symfile.c (find_sym_fns): Add call to dont_repeat.
2157
2158 2011-01-01  Joel Brobecker  <brobecker@adacore.com>
2159
2160         Copyright year update in most files (performed by copyright.sh).
2161
2162 2011-01-01  Joel Brobecker  <brobecker@adacore.com>
2163
2164         * top.c (print_gdb_version): Update copyright year in version output.
2165
2166 For older changes see ChangeLog-2010.
2167 \f
2168 Local Variables:
2169 mode: change-log
2170 left-margin: 8
2171 fill-column: 74
2172 version-control: never
2173 coding: utf-8
2174 End: