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