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