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