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